Re: [Asterisk-Users] manipulating with numbers - StripMSD, Prefix
Looks like you are shy a zero Try exten = _50.,Prefix,001051 At 12:06 07/01/04, you wrote: Hello, I can not seem to be able to get StripMSD and Prefix to work for me in extensions.conf. This is an example of what I have: exten = _050.,1,StripMSD,1 exten = _50.,Prefix,01051 exten = _001051.,1,Dial(${TRUNK2}/${EXTEN}) exten = _001051.,2,Busy exten = _001051.,102,Busy What I want to achieve is to call 001051501657887 on TRUNK2 when dialing 0501657887. ___ Asterisk-Users mailing list [EMAIL PROTECTED] 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] manipulating with numbers - StripMSD, Prefix
Tilghman, That looks even beter than with StripMSD, Prefix ! Thanks, Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Tilghman Lesher Sent: Wednesday, January 07, 2004 5:27 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] manipulating with numbers - StripMSD, Prefix On Wednesday 07 January 2004 06:06, Dawid Mielnik wrote: Hello, I can not seem to be able to get StripMSD and Prefix to work for me in extensions.conf. This is an example of what I have: exten = _050.,1,StripMSD,1 exten = _50.,Prefix,01051 exten = _001051.,1,Dial(${TRUNK2}/${EXTEN}) exten = _001051.,2,Busy exten = _001051.,102,Busy What I want to achieve is to call 001051501657887 on TRUNK2 when dialing 0501657887. Here's an idea - don't use StripMSD and Prefix anymore, as there are better options now: exten = _050.,1,Dial(${TRUNK2}/001051${EXTEN:1}) exten = _050.,2,Busy -Tilghman ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] manipulating with numbers - StripMSD, Prefix
Hello, I can not seem to be able to get StripMSD and Prefix to work for me in extensions.conf. This is an example of what I have: exten = _050.,1,StripMSD,1 exten = _50.,Prefix,01051 exten = _001051.,1,Dial(${TRUNK2}/${EXTEN}) exten = _001051.,2,Busy exten = _001051.,102,Busy What I want to achieve is to call 001051501657887 on TRUNK2 when dialing 0501657887. dialing 0501657887: -- Executing StripMSD(SIP/3267915-7e9a, 1) in new stack ...this is the only thing I get on the console, stuck ? dialing 501657887: -- Executing StripMSD(SIP/3267915-7e9a, 1) in new stack -- Executing StripMSD(SIP/3267915-4297, 1) in new stack -- Executing Prefix(SIP/3267915-285a, 001051) in new stack -- Prepended prefix, new extension is 001051501657887 -- Executing Busy(SIP/3267915-285a, ) in new stack == Spawn extension (demo, 001051501657887, 2) exited non-zero on 'SIP/3267915-285a' ...the call fails dialing 0010515016571887: -- Executing Dial(SIP/3267915-43af, Zap/g2/001051501657887) in new stack -- Called g2/001051501657887 -- Zap/32-1 is making progress passing it to SIP/3267915-43af -- Hungup 'Zap/32-1' - the call gets through. My question, how to manipulate with 05016576887 to obtain 001051657887 ? - seems like very trivial but doesent want to work for me. Thanks Dave ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] manipulating with numbers - StripMSD, Prefix
Hi again, Sorry, completely forgot about setting the priorities - all is OK Regards, Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dawid Mielnik Sent: Wednesday, January 07, 2004 1:06 PM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] manipulating with numbers - StripMSD, Prefix Hello, I can not seem to be able to get StripMSD and Prefix to work for me in extensions.conf. This is an example of what I have: exten = _050.,1,StripMSD,1 exten = _50.,Prefix,01051 exten = _001051.,1,Dial(${TRUNK2}/${EXTEN}) exten = _001051.,2,Busy exten = _001051.,102,Busy What I want to achieve is to call 001051501657887 on TRUNK2 when dialing 0501657887. dialing 0501657887: -- Executing StripMSD(SIP/3267915-7e9a, 1) in new stack ...this is the only thing I get on the console, stuck ? dialing 501657887: -- Executing StripMSD(SIP/3267915-7e9a, 1) in new stack -- Executing StripMSD(SIP/3267915-4297, 1) in new stack -- Executing Prefix(SIP/3267915-285a, 001051) in new stack -- Prepended prefix, new extension is 001051501657887 -- Executing Busy(SIP/3267915-285a, ) in new stack == Spawn extension (demo, 001051501657887, 2) exited non-zero on 'SIP/3267915-285a' ...the call fails dialing 0010515016571887: -- Executing Dial(SIP/3267915-43af, Zap/g2/001051501657887) in new stack -- Called g2/001051501657887 -- Zap/32-1 is making progress passing it to SIP/3267915-43af -- Hungup 'Zap/32-1' - the call gets through. My question, how to manipulate with 05016576887 to obtain 001051657887 ? - seems like very trivial but doesent want to work for me. Thanks Dave ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] manipulating with numbers - StripMSD, Prefix
On Wednesday 07 January 2004 06:06, Dawid Mielnik wrote: Hello, I can not seem to be able to get StripMSD and Prefix to work for me in extensions.conf. This is an example of what I have: exten = _050.,1,StripMSD,1 exten = _50.,Prefix,01051 exten = _001051.,1,Dial(${TRUNK2}/${EXTEN}) exten = _001051.,2,Busy exten = _001051.,102,Busy What I want to achieve is to call 001051501657887 on TRUNK2 when dialing 0501657887. Here's an idea - don't use StripMSD and Prefix anymore, as there are better options now: exten = _050.,1,Dial(${TRUNK2}/001051${EXTEN:1}) exten = _050.,2,Busy -Tilghman ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] manipulating with numbers - StripMSD, Prefix
On Wed, 7 Jan 2004, Tilghman Lesher wrote: On Wednesday 07 January 2004 06:06, Dawid Mielnik wrote: Hello, I can not seem to be able to get StripMSD and Prefix to work for me in extensions.conf. This is an example of what I have: exten = _050.,1,StripMSD,1 exten = _50.,Prefix,01051 exten = _001051.,1,Dial(${TRUNK2}/${EXTEN}) exten = _001051.,2,Busy exten = _001051.,102,Busy What I want to achieve is to call 001051501657887 on TRUNK2 when dialing 0501657887. Here's an idea - don't use StripMSD and Prefix anymore, as there are better options now: and don't leave out the priority in the second exten line. Steve ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users