VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
abdul_zu at yahoo.com Guest
|
Posted: Wed Jan 16, 2008 8:42 am Post subject: [asterisk-users] Backup Route |
|
|
Good Day All,
Is it possible to put backup route in asterisk dial plan? fro the example if the first carrier disconnect the call with Congestion or Circuit busy then asterisk can dial another carrier?
I did the following but it is not working as i need to dial the second one only on congestions or circuit busy.
[wellsip]
exten => _x.,1,AGI(routing.pl)
exten => _x.,2,Set(TIMEOUT(absolute)=${TMO})
exten => _x.,3,Dial(SIP/${CNUM}@${CAIP})
exten => _x.,3,Dial(SIP/${CNUM}@${CAIP2})
exten => h,1,DeadAGI(stop.pl)
--------
Regard,
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080116/de13a4a6/attachment.htm |
|
Back to top |
|
|
glwgoes at gmail.com Guest
|
Posted: Wed Jan 16, 2008 10:02 am Post subject: [asterisk-users] Backup Route |
|
|
Change the priority of the second dial() to 4.
Regards,
On Jan 16, 2008 11:42 AM, Abdul <abdul_zu at yahoo.com> wrote:
Quote: | Good Day All,
Is it possible to put backup route in asterisk dial plan? fro the example
if the first carrier disconnect the call with Congestion or Circuit busy
then asterisk can dial another carrier?
I did the following but it is not working as i need to dial the second one
only on congestions or circuit busy.
[wellsip]
exten => _x.,1,AGI(routing.pl)
exten => _x.,2,Set(TIMEOUT(absolute)=${TMO})
exten => _x.,3,Dial(SIP/${CNUM}@${CAIP})
exten => _x.,3,Dial(SIP/${CNUM}@${CAIP2})
exten => h,1,DeadAGI(stop.pl)
*--------
Regard,*
------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
now.<http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ>
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Guilherme Loch G?es
Visite nossa loja virtual: http://www.shopvoip.com.br
Not?cias e F?rum sobre VoIP com software livre:
http://www.asteriskexperts.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080116/2cb5a56c/attachment.htm |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|