Anthony Messina
2007-Dec-06 18:18 UTC
[asterisk-users] Dial() Macro option error in 1.4.15
After updating to 1.4.15, I have the following issue: When I try to use the "M" macro option in the Dial() option, I get the following in the console: -- Executing Dial("Zap/1-1", "Zap/g2/w5051234|60|M(set-userfield^local)KT") -- Called g2/w5051234 -- Zap/3-1 answered Zap/1-1 [Dec 6 12:10:58] ERROR[19496]: app_dial.c:1541 dial_exec_full: Unable to start autoservice on calling channel [Dec 6 12:10:58] ERROR[19496]: app_dial.c:1553 dial_exec_full: Could not find application Macro -- Hungup 'Zap/3-1' The requested Macro does exist in extensions.conf as: [macro-set-userfield] ; Set CDR userfield to value defined in Dial() command exten => s,1,Set(CDR(userfield)=${ARG1}) exten => s,n,MacroExit() This always worked for me with 1.4.14 and I'm not sure how to begin to get this fixed. Any help is appreciated. Thanks. -- Anthony - http://messinet.com - http://messinet.com/~amessina/gallery 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20071206/2a7a2f6e/attachment.pgp
Anthony Messina wrote:> After updating to 1.4.15, I have the following issue: > > When I try to use the "M" macro option in the Dial() option, I get the > following in the console: > > -- Executing Dial("Zap/1-1", "Zap/g2/w5051234|60|M(set-userfield^local)KT") > -- Called g2/w5051234 > -- Zap/3-1 answered Zap/1-1 > [Dec 6 12:10:58] ERROR[19496]: app_dial.c:1541 dial_exec_full: Unable to > start autoservice on calling channel > [Dec 6 12:10:58] ERROR[19496]: app_dial.c:1553 dial_exec_full: Could not find > application Macro > -- Hungup 'Zap/3-1' > > The requested Macro does exist in extensions.conf as: > [macro-set-userfield] > ; Set CDR userfield to value defined in Dial() command > exten => s,1,Set(CDR(userfield)=${ARG1}) > exten => s,n,MacroExit() > > This always worked for me with 1.4.14 and I'm not sure how to begin to get > this fixed. Any help is appreciated. Thanks.I think this was due to a change in the way autoservice is handled. I think that if you were to upgrade to SVN revision 90432 or later, this error will not occur. Mark Michelson