[Asterisk-Users] Re: PTSN POTS Differences SOLVED
In article [EMAIL PROTECTED], Robert Keller [EMAIL PROTECTED] wrote: Thanks Rich, I wasn't sure where to find that context. I found the outbound context in the extensions_additional.conf and added w's in the following manner: [outrt-001-Out1] include = outrt-001-Out1-custom exten = _1NXXNXX,1,Macro(dialout-trunk,1,w${EXTEN}) exten = _1NXXNXX,2,Macro(outisbusy); No available circuits exten = _9.,1,Macro(dialout-trunk,1,w${EXTEN:1}) exten = _9.,2,Macro(outisbusy); No available circuits exten = _NXXNXX,1,Macro(dialout-trunk,1,w${EXTEN}) exten = _NXXNXX,2,Macro(outisbusy); No available circuits exten = _NXX,1,Macro(dialout-trunk,1,w${EXTEN}) exten = _NXX,2,Macro(outisbusy); No available circuits Couldn't you have just put the w in once, in the Dial command that is inside [macro-dialout-trunk] ? Cheers Tony -- Tony Mountifield Work: [EMAIL PROTECTED] - http://www.softins.co.uk Play: [EMAIL PROTECTED] - http://tony.mountifield.org ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Re: PTSN POTS Differences SOLVED
Tony, I don't see ${EXTEN} anywhere in the [macro-dialout-trunk] context. Am I missing something? Robert Andrew Keller Ferndale School District #502 [EMAIL PROTECTED] 360-383-9228 PH. 360-383-9218 FAX Paving the way for tomorrows genius. From: [EMAIL PROTECTED] (Tony Mountifield) Organization: Software Insight Ltd., Winchester, UK Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Date: Mon, 11 Apr 2005 07:48:19 + (UTC) To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Re: PTSN POTS Differences SOLVED In article [EMAIL PROTECTED], Robert Keller [EMAIL PROTECTED] wrote: Thanks Rich, I wasn't sure where to find that context. I found the outbound context in the extensions_additional.conf and added w's in the following manner: [outrt-001-Out1] include = outrt-001-Out1-custom exten = _1NXXNXX,1,Macro(dialout-trunk,1,w${EXTEN}) exten = _1NXXNXX,2,Macro(outisbusy); No available circuits exten = _9.,1,Macro(dialout-trunk,1,w${EXTEN:1}) exten = _9.,2,Macro(outisbusy); No available circuits exten = _NXXNXX,1,Macro(dialout-trunk,1,w${EXTEN}) exten = _NXXNXX,2,Macro(outisbusy); No available circuits exten = _NXX,1,Macro(dialout-trunk,1,w${EXTEN}) exten = _NXX,2,Macro(outisbusy); No available circuits Couldn't you have just put the w in once, in the Dial command that is inside [macro-dialout-trunk] ? Cheers Tony -- Tony Mountifield Work: [EMAIL PROTECTED] - http://www.softins.co.uk Play: [EMAIL PROTECTED] - http://tony.mountifield.org ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Re: PTSN POTS Differences SOLVED
In article [EMAIL PROTECTED], Robert Keller [EMAIL PROTECTED] wrote: Tony, I don't see ${EXTEN} anywhere in the [macro-dialout-trunk] context. Am I missing something? It's probably ${ARG2}. When you call Macro(name,1,${EXTEN}), say for extension 1234, then the macro [macro-name] gets called with ${ARG1} containing 1, and ${ARG2} containing 1234. Somewhere in [macro-dialout-trunk] you probably have the command: Dial(whatever/something/${ARG2},options) If that's true, you just need to put the w before ${ARG2}. I've never seen [EMAIL PROTECTED], so if the above doesn't match what you have, perhaps you could post the contents of [macro-dialout-trunk]. Cheers Tony Robert Andrew Keller Ferndale School District #502 [EMAIL PROTECTED] 360-383-9228 PH. 360-383-9218 FAX Paving the way for tomorrows genius. From: [EMAIL PROTECTED] (Tony Mountifield) Organization: Software Insight Ltd., Winchester, UK Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Date: Mon, 11 Apr 2005 07:48:19 + (UTC) To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Re: PTSN POTS Differences SOLVED In article [EMAIL PROTECTED], Robert Keller [EMAIL PROTECTED] wrote: Thanks Rich, I wasn't sure where to find that context. I found the outbound context in the extensions_additional.conf and added w's in the following manner: [outrt-001-Out1] include = outrt-001-Out1-custom exten = _1NXXNXX,1,Macro(dialout-trunk,1,w${EXTEN}) exten = _1NXXNXX,2,Macro(outisbusy); No available circuits exten = _9.,1,Macro(dialout-trunk,1,w${EXTEN:1}) exten = _9.,2,Macro(outisbusy); No available circuits exten = _NXXNXX,1,Macro(dialout-trunk,1,w${EXTEN}) exten = _NXXNXX,2,Macro(outisbusy); No available circuits exten = _NXX,1,Macro(dialout-trunk,1,w${EXTEN}) exten = _NXX,2,Macro(outisbusy); No available circuits Couldn't you have just put the w in once, in the Dial command that is inside [macro-dialout-trunk] ? Cheers Tony -- Tony Mountifield Work: [EMAIL PROTECTED] - http://www.softins.co.uk Play: [EMAIL PROTECTED] - http://tony.mountifield.org ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Tony Mountifield Work: [EMAIL PROTECTED] - http://www.softins.co.uk Play: [EMAIL PROTECTED] - http://tony.mountifield.org ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users