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
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to