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

2006-11-08 Thread Louis-David Mitterrand
On Mon, Nov 06, 2006 at 06:47:01PM -0600, Eric ManxPower Wieling wrote:
 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.

It seems PRI and BRI here always return 3 as HANGUPCAUSE

From the wiki:

#define AST_CAUSE_NO_ROUTE_DESTINATION 3 

This is less than explicit regarding an unallocated number (basically I 
testes by dialling impossibles numbers).
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2006-11-06 Thread Louis-David Mitterrand
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,
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2006-11-06 Thread Eric \ManxPower\ Wieling

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.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


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

2006-11-06 Thread Alejandro Kauffmann
 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

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users