Timeout counted from receiving 180
Hi Everyone Im wondering if there is a way to set a timeout ina similar way to originate_timeout when placing a call but that only starts the timeout counter after freeswitch recieves the 180 Ringing from the carrier. We have a carrier which on an invalid number does not send a 404 straight away, instead they send early media with a recorded message for over 30 seconds saying number is invalid. This causes the call to timeout and be classed in CDR's as a NOANSWER instead of INVALID I have run a sip trace and both a valid and invalid number recieve a 183 eraly media message but only a valid number recieves a 180. I have tried ignore_early_media but this does not seem to work. Regards
Sounds like you need to find a new provider. On Mon, Sep 21, 2015 at 7:14 PM, Joseph Waite <joelists@tm.net.uk> wrote:
Hi Everyone
Im wondering if there is a way to set a timeout ina similar way to originate_timeout when placing a call but that only starts the timeout counter after freeswitch recieves the 180 Ringing from the carrier.
We have a carrier which on an invalid number does not send a 404 straight away, instead they send early media with a recorded message for over 30 seconds saying number is invalid. This causes the call to timeout and be classed in CDR's as a NOANSWER instead of INVALID
I have run a sip trace and both a valid and invalid number recieve a 183 eraly media message but only a valid number recieves a 180.
I have tried ignore_early_media but this does not seem to work.
Regards
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
Unfortunately I think it's what the terminating network does as I'm seeing the same behaviour over multiple carriers! Regards
On 22 Sep 2015, at 16:31, Brian West <brian@freeswitch.org> wrote:
Sounds like you need to find a new provider.
On Mon, Sep 21, 2015 at 7:14 PM, Joseph Waite <joelists@tm.net.uk> wrote: Hi Everyone
Im wondering if there is a way to set a timeout ina similar way to originate_timeout when placing a call but that only starts the timeout counter after freeswitch recieves the 180 Ringing from the carrier.
We have a carrier which on an invalid number does not send a 404 straight away, instead they send early media with a recorded message for over 30 seconds saying number is invalid. This causes the call to timeout and be classed in CDR's as a NOANSWER instead of INVALID
I have run a sip trace and both a valid and invalid number recieve a 183 eraly media message but only a valid number recieves a 180.
I have tried ignore_early_media but this does not seem to work.
Regards
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Brian West brian@freeswitch.org
Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Yuck. I agree with Brian, find another provider. What you're looking for is https://wiki.freeswitch.org/wiki/Variable_bridge_answer_timeout. If you're passing early media they'll hear the announcement and probably hangup first though, so you still won't see INVALID in your CDRs. ignore_early_media should work at masking the invalid number announcement but will have a lot of sideaffects - it won't be a nice user experience to hear the wrong ringback (it'll be specific to the destination country, and some people can pick a custom one), mask any IVR announcements the remote side does in early media, and not know they've dialed an invalid number and instead have to wait 20s+ before hangup with no explanation. Whatever timeout you pick might also have false positives with people taking a while to answer the phone (eg when they're at the wrong end of the house). On 22 September 2015 at 01:14, Joseph Waite <joelists@tm.net.uk> wrote:
Hi Everyone
Im wondering if there is a way to set a timeout ina similar way to originate_timeout when placing a call but that only starts the timeout counter after freeswitch recieves the 180 Ringing from the carrier.
We have a carrier which on an invalid number does not send a 404 straight away, instead they send early media with a recorded message for over 30 seconds saying number is invalid. This causes the call to timeout and be classed in CDR's as a NOANSWER instead of INVALID
I have run a sip trace and both a valid and invalid number recieve a 183 eraly media message but only a valid number recieves a 180.
I have tried ignore_early_media but this does not seem to work.
Regards
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Brian West
-
Joseph Waite
-
Steven Ayre