[Asterisk-Users] how do I play congestion tone when Zap channels are full?

Oleg A. Arkhangelsky sysoleg at progtech.ru
Sun Jul 25 22:25:57 MST 2004


Hello Joe,

Monday, July 26, 2004, 2:33:07 AM, you wrote:

JB> I read the wiki and looked at the examples, but I'm
JB> still having problems. I have a Digium 4 port card
JB> with POTS lines plugged into all four ports. How do I
JB> play the congestion tone the the caller when they try
JB> and dial out but all the lines are in use? 

JB> should something like this work?

JB> [dial-trunklocal]
JB> ; Local calls
ignorepat =>> 9
exten =>> _9NXXXXXX,1,Dial(${TRUNK1}/${EXTEN:1})
exten =>> _9NXXXXXX,2,Congestion
exten =>> _9NXXXXXX,3,Playtones(congestion)
exten =>> _9NXXXXXX,102,Busy
exten =>> _9NXXXXXX,103,Playtones(busy)

      You had to Answer() call before trying to Playtones().

-- 
Best regards,
 Oleg                            mailto:sysoleg at progtech.ru




More information about the asterisk-users mailing list