On 02/11/2012 04:41 AM, CDR wrote:
I need to add a semi-colon to a variable, but no matter how I quote
it, the parser ignores it and considers the semi-colon as the
beginning of a comment.
Si how do I concatenate the content of a variable to a semi-colon? I
tried surrounding it with double quotes, single quotes, using a
backslash first, a period first, to no avail.

This was just fixed in the release branches a couple of days ago, and will be in the next round of releases of Asterisk 1.8 and 10 (release candidates for them should appear in a couple of weeks). At this time, there's no way to do it directly in the dialplan, but you can set such a value using an AGI script or an AMI action. Not ideal, but possible.

--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: [email protected] | SIP: [email protected] | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

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

Reply via email to