All pastes #947300 Raw Edit

Mine

public text v1 · immutable
·published 2008-03-18 12:15 UTC
rendered paste body
Executing:
exten => *9999,1,ChanIsAvail(SIP/computer&SIP/cisco&SIP/infodag&ZAP/1,a)
exten => *9999,n,NoOp(${AVAILCHAN})
exten => *9999,n,NoOp(${AVAILORIGCHAN})
exten => *9999,n,NoOp(${AVAILSTATUS})
exten => *9999,n,Hangup()

Without option 'a' (return only the first available channel):
-- Executing [*9999@embratel:1] ChanIsAvail("SIP/cisco-082c8cf0", "SIP/computer&SIP/cisco&SIP/infodag&ZAP/1") in new stack
-- Executing [*9999@embratel:2] NoOp("SIP/cisco-082c8cf0", "SIP/computer-082cbea0") in new stack
-- Executing [*9999@embratel:3] NoOp("SIP/cisco-082c8cf0", "SIP/computer") in new stack
-- Executing [*9999@embratel:4] NoOp("SIP/cisco-082c8cf0", "0") in new stack

With option 'a' (return all available channels):
Executing [*9999@embratel:1] ChanIsAvail("SIP/cisco-082a49d0", "SIP/computer&SIP/cisco&SIP/infodag&ZAP/1,a") in new stack
[Mar 18 09:07:00] WARNING[22409]: channel.c:3389 ast_request: No channel type registered for 'ZAP'
-- Executing [*9999@embratel:2] NoOp("SIP/cisco-082a49d0", "SIP/computer-08291c68&SIP/cisco-08293ad8&SIP/infodag-082b1df8") in new stack
-- Executing [*9999@embratel:3] NoOp("SIP/cisco-082a49d0", "SIP/computer&SIP/cisco&SIP/infodag") in new stack
-- Executing [*9999@embratel:4] NoOp("SIP/cisco-082a49d0", "0&0&0&66") in new stack
-- Executing [*9999@embratel:5] Hangup("SIP/cisco-082a49d0", "") in new stack