Summary:ASTERISK-05562: M option for Macro in a Dial() has a bug
Reporter:Max (tintin)Labels:
Date Opened:2005-11-10 14:14:19.000-0600Date Closed:2008-01-15 15:55:18.000-0600
Versions:Frequency of
Environment:Attachments:( 0) app-arg.patch
Description:When using the Dial command with a macro like this:

exten => 555,1,Dial(SIP/555@myserver,,TM(BRASTEL))

Asterisk is looking for a macro named macro-(Brastel instead of just macro-Brastel. I verified by renaming the macro. After I renamed the macro to include the first ( it worked.

I experienced this with 1.2.0-rc1, can't say if it was there in beta2 already, but I know it wasn't there in beta1.

Comments:By: BJ Weschke (bweschke) 2005-11-10 16:14:31.000-0600

Good catch! Try this patch.

By: Max (tintin) 2005-11-10 17:26:16.000-0600

That patch did it, works correctly now :) Thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:55:18.000-0600

Repository: asterisk
Revision: 7051

U   trunk/ChangeLog
U   trunk/app.c

r7051 | russell | 2008-01-15 15:55:17 -0600 (Tue, 15 Jan 2008) | 2 lines

issue ASTERISK-5482, ASTERISK-5562, and probably others