Re: [Asterisk-Users] Question about ISDN reason codes

2004-10-22 Thread Eric Wieling
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

Re: [Asterisk-Users] Question about ISDN reason codes

2004-10-22 Thread joachim
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

Re: [Asterisk-Users] Question about ISDN reason codes

2004-10-22 Thread Eric Wieling
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

Re: [Asterisk-Users] Question about ISDN reason codes

2004-10-22 Thread joachim
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

Re: [Asterisk-Users] Question about ISDN reason codes

2004-10-22 Thread Eric Wieling
exten = _91NXXNXX,1,Dial(${PSTN}/${EXTEN:1}) exten = _91NXXNXX,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.

Re: [Asterisk-Users] Question about ISDN reason codes

2004-10-22 Thread joachim
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 = _91NXXNXX,1,Dial(${PSTN}/${EXTEN:1})

RE: [Asterisk-Users] Question about ISDN reason codes

2004-10-22 Thread Robert Jackson
-Original Message- From: joachim [mailto:[EMAIL PROTECTED] Sent: Friday, October 22, 2004 6:15 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Question about ISDN reason codes Are you sure this works ? (and does it work

Re: [Asterisk-Users] Question about ISDN reason codes

2004-10-22 Thread Eric Wieling
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

Re: [Asterisk-Users] Question about ISDN reason codes

2004-10-22 Thread joachim
Aha, oke :) I was thinking of the answered statuses. That g was not working for me last time i checked. But so at least its working when a call did not get answered, thats already good news for me. Thanks a lot... Joachim At 05:23 22/10/2004, you wrote: Yes it works. It will go to priority

Re: [Asterisk-Users] Question about ISDN reason codes

2004-10-22 Thread Peter Svensson
On Fri, 22 Oct 2004, joachim wrote: I was thinking of the answered statuses. That g was not working for me last time i checked. Can you post your Dial line (and preferably the lines after that as well)? The 'g' option should work. It does for us, but we are a bit behind HEAD. Peter