[Asterisk-Users] Play Music on hold until a ZAP channel frees up.

Daniel Jimenez djimenez at pobox.com
Tue Jun 29 10:34:15 MST 2004


[answeringsvc]
exten => 0,1,Wait,1
exten => 0,2,Dial(ZAP/g1/7135551212,${RING_TIMEOUT},r)
exten => 0,3,Dial(ZAP/g1/7135551212,${RING_TIMEOUT},mr)
exten => 0,103,Goto(0,3)
exten => 0,104,Goto(0,3)

This should call 713-555-1212. If there are no ZAP lines available it 
should kick back around and play music on hold until a zap line is 
available, correct? I'd like the music-on-hold to be continuous until 
the Zap line answers.

TIA,
-- 
Daniel Jimenez <djimenez[at]pobox[dot]com>



More information about the asterisk-users mailing list