[Asterisk-Users] cmd set with multiple values

Ira ira at extrasensory.com
Fri Feb 3 13:39:52 MST 2006


At 08:07 AM 02/03/2006, you wrote:
> > exten => 907,1,Set(DESTINATION1=Zap/G1/4989123456789|10|gh)
> > exten => 907,n,Set(DIALSTRING=${DESTINATION1})
> > exten => 907,n,Dial(${DIALSTRING})
>
>Set multiple variables?  One for each option maybe?

Or call a macro instead and have the macro split it apart, then the 
code stays the same and the macro can hide all the issues.

> > exten => 907,n,Macro(parse_dial,${DIALSTRING})

Ira 




More information about the asterisk-users mailing list