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

2004-07-26 Thread Steve Szmidt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 26 July 2004 01:25 am, Oleg A. Arkhangelsky wrote:
> 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 =>> _9NXX,1,Dial(${TRUNK1}/${EXTEN:1})
> exten =>> _9NXX,2,Congestion
> exten =>> _9NXX,3,Playtones(congestion)
> exten =>> _9NXX,102,Busy
> exten =>> _9NXX,103,Playtones(busy)
>
>   You had to Answer() call before trying to Playtones().

Wait a minute. What I can recall the Wiki says to play tones BEFORE 
congestion.

- -- 
Steve

"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
Benjamin Franklin

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBBRdYljK16xgETzkRAkUUAKCYzoAG3EgR6raPzlnTGd7ifZHhNwCfdRwY
najMjNTJhXom96Qz7uj/x8M=
=8ich
-END PGP SIGNATURE-
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2004-07-25 Thread Oleg A. Arkhangelsky
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 =>> _9NXX,1,Dial(${TRUNK1}/${EXTEN:1})
exten =>> _9NXX,2,Congestion
exten =>> _9NXX,3,Playtones(congestion)
exten =>> _9NXX,102,Busy
exten =>> _9NXX,103,Playtones(busy)

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

-- 
Best regards,
 Olegmailto:[EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

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

should something like this work?

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

 
 





__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users