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: courc...@net-forces.com 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.