The basic idea is dial using your main outbound dahdi group, then check the value of HANGUPCAUSE, then if appropriate dial out using your secondary dahdi group. This is a standard thing. Check the mailing list archives and voip-info.org
See also the [stdexten] section of extensions.conf.sample -----Original Message----- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Salaheddine Elharit Sent: Thursday, December 19, 2013 1:32 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] send the calls from to servers i ask about outbound calls not inbound round-robin best regards 2013/12/19 Eric Wieling <ewiel...@nyigc.com> Inbound call hunting is handled by your carrier, not Asterisk. -----Original Message----- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Salaheddine Elharit Sent: Thursday, December 19, 2013 12:52 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] send the calls from to servers I have this scenario In the first server 192.168.5.100 I have asterisk installed 1.4.43 and one diguim card with 2 ports: in the first port connection for the provider X : the second port of diguim card the connection of the provider Y In the second server (the same configuration) 192.168.5.200 asterisk installed 1.4.43 and one diguim card with 2 ports : the first port is empty the second port the connection of the provider Y My question how can I do in order to send the calls of the second providers from the port 2 server 1 and port 2 server 2 ()if one of them is down I continue to send the calls from the other Thanks and regards -- _____________________________________________________________________ -- 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 -- _____________________________________________________________________ -- 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