[Asterisk-Users] Variable substitution - How can I do Dial(${DIALSTRING}) where ${DIALSTRING} is 'SIP/201, 15, tT'?

Christopher L. Wade clwade at sparco.com
Mon Nov 29 12:57:21 MST 2004


Nick Barnes wrote:
<snip>
> Exten => s,3,Dial(${ARG1})
> 
<snip>
> -----------
> Nov 29 19:43:09 WARNING[802835]: pbx.c:1280 pbx_extension_helper: No
> application 'Dial{${ARG1})' for extension (macro-dodial, s, 5)
<snip>

Look very close at this output.  Unless you did a copy-and-paste of your 
extensions.conf segment, I would say that you typed, in your actual 
extensions.conf, 'Dial{${ARG1})' instead of 'Dial(${ARG1})'.  Notice the 
'{' vs '(' ?  That, or did you type out that entire CLI output?

Anyway, my $0.00. (feeling stingy today :)

Chris


-- 
Christopher L. Wade                     Unistar-Sparco Computers, Inc.
Senior Systems Administrator                            dba Sparco.com
Email: clwade at sparco.com                             7089 Ryburn Drive
Phone: (901) 872 2272 / (800) 840 8400            Millington, TN 38053
Fax:   (901) 872 8482                                              USA




More information about the asterisk-users mailing list