"All circuits are busy now" makes perfect sense in my PRI trunk is full. How do I stop asterisk from playing this recording when it is a wrong/bad number? I gat a call today that a user was trying "all day" to call a number in Mexico and kept getting the above recording. I said, try in on your cell phone, and they received a "this number is not is service". I would like to either hear the far recording (I think I will get billed for this), or internally play a different message. I think the issue is that I am using a PRI and am receive the cause code that is triggering the above recording. Can asterisk play a different message for this? and only play the above message if "MY" circuit is busy? Thank You, Steven BerkHolz - MCSA - MCSE - Manager of Information Systems TESCO Group Companies Fax. 248-836-5101 www.TESCOGroup.com Board member of www.glimasoutheast.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060912/b9f08a65/attachment.htm
Eric "ManxPower" Wieling
2006-Sep-12 15:40 UTC
[asterisk-users] All circuits are busy now???
BerkHolz, Steven wrote:> > > "All circuits are busy now" makes perfect sense in my PRI trunk is full. > > > > How do I stop asterisk from playing this recording when it is a > wrong/bad number? > > > > I gat a call today that a user was trying "all day" to call a number in > Mexico and kept getting the above recording. > > > > I said, try in on your cell phone, and they received a "this number is > not is service". > > > > I would like to either hear the far recording (I think I will get billed > for this), or internally play a different message. > > > > I think the issue is that I am using a PRI and am receive the cause code > that is triggering the above recording. > > > > Can asterisk play a different message for this? and only play the above > message if "MY" circuit is busy?Sounds like you are using some Asterisk GUI. Can't help with that and this message will only be useful to others. When Dial exits it will set the value of HANGUPCAUSE to something. Use the dialplan to play different messages depending on the value of hangupcause. See "show application dial" in the Asterisk CLI, /path/to/src/asterisk/docs/README.variables, http://www.quintum.com/support/xplatform/network/Q931_Disconnect_Cause_Code_List.pdf for the cause code values, and /path/to/src/asterisk/include/asterisk/causes.h for which causes Asterisk knows about.