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