Louis-David Mitterrand
2006-Nov-06 14:21 UTC
[asterisk-users] how to indicate an non-existent number?
Hello, Using a PRI (E1) with the euroisdn protocol, I don't seem to get any specific message from the telco when attempting to dial a non-existent number. Asterisk returns a busy/congested code, but nothing indicating the number's real status. How do you guys manage that issue? Do you record a message ("sorry, the number dialed can't be completed") and play it when the PRI or BRI returns a specific code? And what code is that? Thanks in advance for any insight,
Eric "ManxPower" Wieling
2006-Nov-06 17:47 UTC
[asterisk-users] how to indicate an non-existent number?
Louis-David Mitterrand wrote:> Hello, > > Using a PRI (E1) with the euroisdn protocol, I don't seem to get any > specific message from the telco when attempting to dial a non-existent > number. Asterisk returns a busy/congested code, but nothing indicating > the number's real status. > > How do you guys manage that issue? Do you record a message ("sorry, the > number dialed can't be completed") and play it when the PRI or BRI > returns a specific code? And what code is that?We check the value of HANGUPCAUSE. DIALSTATUS is a VERY generic indication of the disposition of the call.
Alejandro Kauffmann
2006-Nov-06 23:24 UTC
[asterisk-users] how to indicate an non-existent number?
> How do you guys manage that issue? Do you record a message ("sorry, the > number dialed can't be completed") and play it when the PRI or BRI > returns a specific code? And what code is that?We check HANGUPCAUSE and playback messages we recorded depending on value. Check http://networking.ringofsaturn.com/RemoteAccess/isdncausecodes.php or google for q.931 cause codes or isdn cause codes. Alex