[asterisk-users] Using Calls Rejection Reasons
Danny Nicholas
danny at debsinc.com
Wed Oct 20 09:00:02 CDT 2010
_____
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of VoIP Question
Sent: Wednesday, October 20, 2010 8:51 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Using Calls Rejection Reasons
Hello all,
We would like to "inform" the caller of the reason for a failed call.
For example, when we get a "486 Busy Here", the system accepts it and in the
CLI we see "Everyone is busy/congested at this time".
Can we use this data to play an announcement to the caller?
Thank you in advance for your help.
Michael
Yes. You can use the built-in options and sounds like this:
Exten => 123,1,dial(SIP/100,30,m)
Exten => 123-BUSY,1,playback(all-reps-busy)
Exten => 123-BUSY,n,hangup
Exten => 123-CONGESTION,1,playback(all-circuits-busy-now)
Exten => 123-CONGESTION,n,hangup
Or you can get "fancy" and interpret the return and play back a verbatim
message through swift/Cepstral. That's another post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101020/01560d31/attachment.htm
More information about the asterisk-users
mailing list