[Asterisk-Users] Picking a channel (FXO port or SIP) for outbound calls
Andrew Kohlsmith
akohlsmith-asterisk at benshaw.com
Mon Nov 24 14:40:51 MST 2003
> So the generized question is how to do across channel type
> fail overs?
From a post to this very thread just a few hours ago:
> exten => _9.,1,ChanIsAvail(Zap/1&Zap/2)
> exten => _9.,2,Dial(${AVAILCHAN})
> exten => _9.,102,NoOp
> exten => _9.,103,Congestion
Now in your case, you'd say
exten => _9.,1,ChanIsAvail(Zap/g1&SIP/whatever)
(i.e. check for an available Zap channel in group 1, and failing that, use
SIP/whatever.)
Offhand, has anyone gotten '.' to work worth a shit with FXS devices? I
always get a match after the first digit (i.e. there is no digit timeout,
and the DigitTimeout command isn't quite what I'm looking for.
Regards,
Andrew
More information about the asterisk-users
mailing list