[asterisk-users] how to indicate an non-existent number?

Eric "ManxPower" Wieling eric at fnords.org
Mon Nov 6 17:47:01 MST 2006


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.


More information about the asterisk-users mailing list