Andre,

Disconnect code 3 = No route to destination

Look for a document called ISDN DISCONNECT CODE to find the explanation on all 
PRI-T1 disconnect code reasons.

Thanks,

Stephan Monette
Unlimitel

On 2011-06-06, at 11:10 AM, Andre Courchesne wrote:

> Anyone on this ?
> 
> ---
> Andre Courchesne - Consultant
> http://www.net-forces.com
> MSN: [email protected]
> Skype: VoipForces
> 
> 
> 
> L'information contenue dans le présent document est la propriété de Andre 
> Courchesne. Et est divulguée en toute confidentialité. Cette information ne 
> doit pas être utilisée, divulguée à d'autres personnes ou reproduite sans le 
> consentement écrit explicite de Andre Courchesne.
> 
> The information contained in this document is confidential and property of 
> Andre Courchesne. It shall not be used, disclosed to others or reproduced 
> without the express written consent of Andre Courchesne.
> 
> On 2011-06-01, at 9:02 AM, Andre Courchesne wrote:
> 
>> Hi all,
>> 
>>  I am working on an application that uses AMI Originate to generate a call 
>> which is sent to a context, all this is fine. This is a system connected to 
>> physical PRI circuits.
>> 
>>  However when doing an originate on a disconnected number, the call ends up 
>> in the failed extension (which is also fine), but with a ${REASON} = 3 which 
>> according to the documentation I looked is a NoAnswer. Here is this section 
>> of the dialplan:
>> 
>> exten => failed,1,GotoIf($["${REASON}" = "3"]?noanswer,1)
>> exten => failed,n,GotoIf($["${REASON}" = "5"]?busy,1)
>> exten => failed,n,GotoIf($["${REASON}" = "1"]?hangup,1)
>> exten => failed,n,GotoIf($["${REASON}" = "8"]?congestion,1)
>> exten => failed,n,GotoIf($["${REASON}" = "0"]?disconnected,1)
>> exten => failed,n,Set(DialResult="failed_${REASON}")
>> exten => failed,n,Hangup
>> 
>>  It seems like the telco is sending back a NoAnswer while at the same time 
>> playing the famous "The number you have reaches is no longer in service..." 
>> prompt.
>> 
>>  Anyone has any ideas how I could get the real failed result to properly 
>> identify those calls as disconnected numbers and not noanswers ?
>> 
>> ---
>> Andre Courchesne - Consultant
>> http://www.net-forces.com
>> MSN: [email protected]
>> Skype: VoipForces
>> 
>> 
>> 
>> L'information contenue dans le présent document est la propriété de Andre 
>> Courchesne. Et est divulguée en toute confidentialité. Cette information ne 
>> doit pas être utilisée, divulguée à d'autres personnes ou reproduite sans le 
>> consentement écrit explicite de Andre Courchesne.
>> 
>> The information contained in this document is confidential and property of 
>> Andre Courchesne. It shall not be used, disclosed to others or reproduced 
>> without the express written consent of Andre Courchesne.
>> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to