<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I do this:<div><br></div><div><div>Action: Originate</div><div>Channel: Local/dial_number@cfmc_cdi_private</div><div>Exten: queue_answer</div><div>Context: cfmc_cdi_private</div><div>Priority: 1</div><div>Variable: CfMC_ActionID=CallAndQueue</div><div>Variable: CfMC_QueueToUse=tqe</div><div>Variable: CfMC_AgentToUse=1001</div><div>Variable: CfMC_DialInfo=SIP/GXP280_18</div><div>Variable: CfMC_RingTimeout=30</div><div>Variable: CfMC_DoAMD=No</div><div>ActionID: CallAndQueue</div><div>Async: true</div><div><br></div><div><br></div><div>and things work as expected. This is in recent versions of 1.4 and 1.6.0.</div><div>
<span class="Apple-style-span" style="font-family: Helvetica; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">--&nbsp;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">Jim Dickenson</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><a href="mailto:dickenson@cfmc.com">mailto:dickenson@cfmc.com</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">CfMC</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><a href="http://www.cfmc.com/">http://www.cfmc.com/</a></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px; "><br></span></font></div></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Dec 3, 2009, at 4:22 PM, Matthew Edmondson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br></div><div>Hi guys I seem to be having a problem, I don't know if it's a bug or whether I'm just doing it incorrectly.</div><div><br></div><div>I want to set about 3 channel variables when I originate a call via AMI.</div>

<div><br></div><div>All the documentation I have found says to do it like this:</div><div><br></div><div>&nbsp;&nbsp; &nbsp;Variable: variable1=value|variable2=value|variable3=value</div><div><br></div><div><br></div><div>However when I do this it runs them all together and I end up with:</div>

<div><br></div><div>&nbsp;&nbsp; &nbsp;variable1 = "value|variable2=value|variable3=value"</div><div><br></div><div><br></div><div>Instead of:</div><div><br></div><div>&nbsp;&nbsp; &nbsp;variable1 = "value"</div><div>&nbsp;&nbsp; &nbsp;variable2 = "value"</div>

<div>&nbsp;&nbsp; &nbsp;variable3 = "value"</div><div><br></div><div><br></div><div>So I think the delimiters are not working.</div><div><br></div><div>I tried just adding multiple "Variable:" lines one for each, but it only sets the first one and ignores the rest.</div>

<div><br></div><div>Any help with this would be greatly appreciated.</div><div><br></div><div>Thanks! --Matt</div>
_______________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> &nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div><br></div></body></html>