[asterisk-users] Question on variables and asterisk 11

A J Stiles asterisk_list at earthshod.co.uk
Mon Dec 10 01:08:08 CST 2012


On Saturday 08 December 2012, Jerry Geis wrote:
> I am sending something like this to the AMI (along with other commands):
> 
> Variable: agi_pa_list=box1,box2,
> 
> however, in the dialplan I do:
> exten => app_confbridge_call_out,n,noop(${agi_pa_list})
> 
> and it ONLY reports box1 and it should be "box1,box2"
> 
> Is something different in Asterisk 11 vs 1.4.43 in this regard?

You probably need to put speech marks around values with a comma in.  Commas 
are now used as delimiters in modern Asterisk versions, where ancient versions 
used to use pipe symbols.

-- 
AJS

Answers come *after* questions.



More information about the asterisk-users mailing list