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