Jump to content

Recommended Posts

Posted

Hello kazoo folks. We want to know if we can alter the SIP 183 response to 180 on any setting of kazoo for inbound calls. My operator does not sending ring to caller on receiving 183 and suppresses early media. Help will be much appericiated

-Anurag

Posted

You can try setting "ignore_early_media" on your offnet/carrier, which may solve your problem. This will send ignore_early_media to freeswitch, both 180 and 183 will trigger your fake ringing from FS to the handset.

  • 8 months later...
Posted
On 6/8/2023 at 3:44 PM, Mooseable said:

You can try setting "ignore_early_media" on your offnet/carrier, which may solve your problem. This will send ignore_early_media to freeswitch, both 180 and 183 will trigger your fake ringing from FS to the handset.

I tried to set it on the resource, but it doesn't work.

Is there a way to force FS to execute ring_ready even with a single device?

Posted

I resolved this by introducing a kamailio between FS and operator and configuring kamailio to send 180 immediatly after 183 . 

 if ($rs == 183) {
            if ($si == "x.x.x.x" || $si == "x.x.x.x") {
                $var(msg_body) = $rb;
                $var(content_len) = $cl;
                $var(to_user) = $tU;
                  remove_hf("Content-Type");
                  remove_body();
                  change_reply_status(180, "Ringing");
                }
 

  • 2 months later...
Posted
On 2/15/2024 at 12:39 PM, Anruag said:

I resolved this by introducing a kamailio between FS and operator and configuring kamailio to send 180 immediatly after 183 . 

 if ($rs == 183) {
            if ($si == "x.x.x.x" || $si == "x.x.x.x") {
                $var(msg_body) = $rb;
                $var(content_len) = $cl;
                $var(to_user) = $tU;
                  remove_hf("Content-Type");
                  remove_body();
                  change_reply_status(180, "Ringing");
                }
 

Thanks for the reply. I resolved modifying ecallmgr source code in order to force ring_ready to FS. Usually it's called when an user has multiple devices - I noticed that in that case, 180 is triggered, so I forced that code to be always executed.

×
×
  • Create New...