[Asterisk-Users] Picking an open channel (FXO port) for outbound calls
Adams, Gavin
gadams at promisant.com
Mon Nov 24 11:23:40 MST 2003
> -----Original Message-----
> From: Tony Kava [mailto:asterisk at pottcounty.com]
> Sent: Monday, November 24, 2003 12:45 PM
> To: 'asterisk-users at lists.digium.com'
> Subject: [Asterisk-Users] Picking an open channel (FXO port) for
outbound
> calls
>
> Greetings:
>
> I did some quick searching of my history of this list, and I tried a
quick
> Google search as well, but perhaps someone on the list can quickly
answer
> this question. I have a very nicely working Asterisk system at home
with
> two Digium X100P FXO cards. When my SIP phones want to dial-out I
have
> them
> setup to grab the first analog card (Zap/1) with the following
> extensions.conf segment:
Tony,
In the [channels] section of Zapata.conf, create a group => 1 (or some
value), followed by the two FXO port definitions. Now change the Dial
string to Zap/g1 (where g1 is group 1, etc). A small 'g' will grab the
first available port and work upwards (i.e., Zap/1 the Zap/2, etc.).
While a capital G will do the same, but from highest defined port to
lowest.
Definitely in the wiki and Digium docs. :)
Regards,
--- Gavin
More information about the asterisk-users
mailing list