You can use exten pattern matching for un allocated numbers, say exten=> _X.,1,Goto(somewhere) will match all the numbers on priority 1. But make sure you match full extension numbers first which are allocated. Also this extension is a security risk as well. It is recommended that you use a filter dialplan application/function before matching this extension to make sure you accept numbers only.
Cheers On Tue, Mar 1, 2011 at 5:11 PM, Deepika Nijhawan < [email protected]> wrote: > Hi, > > > > If I use dialstatus variable, it doesn’t give exact reasons for failure > like for unallocated numbers it sends Congestion. Whereas, for unallocated > number I don’t want to go to failover routing. But need to go to failover > routing for other congestion reasons. > > So, is there any way to check SIP responses like 4xx or 5xx ? > > > > Thanks, > > Deepika > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- Best Ragards Rizwan Qureshi VoIP/Asterisk Engineer Axvoice Inc. V: +92 (0) 3333 6767 26 E: [email protected] W: www.axvoice.com
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
