On Thu, Nov 20, 2008 at 5:57 PM, Joseph L. Casale <[EMAIL PROTECTED]> wrote: > 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 [EMAIL PROTECTED]: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 [EMAIL PROTECTED]:2] Wait("SIP/201-0942b530", "1") in new > stack > -- Executing [EMAIL PROTECTED]: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? >
AFAIR it was mentioned in UPGRADE.txt that argument separator was changed from pipe to comma. Unless you read it, you might also experience lot of other problems. It should be Macro(phones,200,SIP/200) However it's not recommended to use macro's, you are encouraged to convert them to GoSub's, as they now support arguments. Regards, Atis -- Atis Lezdins, VoIP Project Manager / Developer, IQ Labs Inc, [EMAIL PROTECTED] Skype: atis.lezdins Cell Phone: +371 28806004 Cell Phone: +1 800 7300689 Work phone: +1 800 7502835 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users