[Asterisk-Users] Question about ISDN reason codes

Eric Wieling eric at fnords.org
Fri Oct 22 05:23:53 MST 2004


Yes it works.  It will go to priority 2 if the call was NOT ANSWERED for 
any reason (busy, number not in service, etc).  You may need to add ,,g 
on the Dial line to get Asterisk to go to priority two if the CALLEE 
hangs up.

I do not do post call processing if the CALLER hangs up.

joachim wrote:
> 
> 
> Are you sure this works ?  (and does it work whatever end hung up ?)
> 
> If it works, its not expected behaviour. (at least i dont think it is, 
> it should never go to the next priority when the call got hungup).
> 
> zoa.
> 
> At 05:06 22/10/2004, you wrote:
> 
>> exten => _91NXXNXXXXXX,1,Dial(${PSTN}/${EXTEN:1})
>> exten => _91NXXNXXXXXX,2,Macro(dial-result)
>>
>> joachim wrote:
>>
>>> Thnx Eric,
>>> Could you also post your extensions.conf ? (or just the extension 
>>> calling that macro ?)
>>> Joachim
>>>
>>> At 04:48 22/10/2004, you wrote:
>>>
>>>> Yes.  http://www.fnords.org/~eric/asterisk/downloads/macros.inc  Pay 
>>>> special attention to the [macro-dial-result]
>>>>
>>>> joachim wrote:
>>>>
>>>>> Did someone actually got this to work ?
>>>>> The examples on voip-info are not correct i think.
>>>>> It will never go to priority 2, since the call already got hungup 
>>>>> at that point, using dial|g doesnt seem to work either.
>>>>> Joachim
>>>>>
>>>>> At 04:17 22/10/2004, you wrote:
>>>>>
>>>>>> Neill Wilkinson wrote:
>>>>>>
>>>>>>> All,
>>>>>>> newbie to Asterisk and just trying to get a load of bits together 
>>>>>>> including PSTN interface using Digium Quad E1 interfaces using 
>>>>>>> EuroISDN.
>>>>>>> Question can I/how do I get access to the ISDN reason codes for 
>>>>>>> call disconnect?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> /path/to/asterisk/docs/README.variables
>>>>>>
>>>>>> Pay special attention to DIALSTATUS and to HANGUPCAUSE.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eric.vcf
Type: text/x-vcard
Size: 146 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20041022/f596686b/eric.vcf


More information about the asterisk-users mailing list