[Asterisk-Users] X100P - check channel busy?

Nabeel Jafferali nabeel at jafferali.net
Mon Jan 3 19:25:55 MST 2005


Hello.

I've set up a X100P and got it working. Now, I need to set it up so that
it checks if the line is being used before attempting to make a call on
it.

I tried:

exten => _NXXNXXXXXX,1,ChanIsAvail(Zap/1)
exten => _NXXNXXXXXX,2,Dial(Zap/1/${EXTEN})
exten => _NXXNXXXXXX,102,Dial(IAX2/voipjet/${EXTEN:1})

but that only goes to 102 if another device on the * server is using the
Zap channel. What if the Zap channel is actually being used by a phone
connected to that same PSTN line, not through the * server.

What I mean is, how can I tell * to check the line voltage before
attempting to make a call?

--
Nabeel Jafferali
tel: 416.491.9136 (toronto)
     646.225.7426 (new york)
fwd: 46990
email/msn : nabeel<at>jafferali.net



More information about the asterisk-users mailing list