Anruag Posted June 6, 2023 Report Posted June 6, 2023 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
Mooseable Posted June 8, 2023 Report Posted June 8, 2023 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.
Mattia Posted February 15 Report Posted February 15 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?
Anruag Posted February 15 Author Report Posted February 15 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"); }
Mattia Posted May 2 Report Posted May 2 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.
Recommended Posts