[asterisk-users] Macro conversion in 1.6

Joseph L. Casale JCasale at activenetwerx.com
Thu Nov 20 09:57:51 CST 2008


I create my sip users using a common macro in 1.4:
[internal]
exten => 200,1,Macro(phones|200|SIP/200)
[macro-phones]
exten => s,1,Dial(${ARG2}|45|Tt)
etc...

But now in 1.6 this fails:

    -- Executing [200 at handsets:1] Macro("SIP/201-0942b530", "phones|200|SIP/200") in new stack
[Nov 20 08:55:55] WARNING[5958]: app_macro.c:201 _macro_exec: No such context 'macro-phones|200|SIP/200' for macro 'phones|200|SIP/200'
    -- Executing [200 at handsets:2] Wait("SIP/201-0942b530", "1") in new stack
    -- Executing [200 at handsets:3] Playback("SIP/201-0942b530", "invalid") in new stack
    -- <SIP/201-0942b530> Playing 'invalid.gsm' (language 'en')

Why does the user's extension get created (all the phones work) but I can't dial to it?

Thanks!
jlc



More information about the asterisk-users mailing list