My *guess* is that the semicolon is being interpreted as a commend
marker, so you might need to escape it with a '\'.
I had problems with this, however, when using it via the Asterisk@Home
management interface, because the '\' is stripped on display and so lost
if you view and save a working config file - I never did find a solution
to this.
________________________________
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Thomas
Hecker
Sent: 17 January 2007 07:43
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Using the SIPAddHeader Application
Hi,
I'm trying to use the SIPAddHeader application to add a header
containing to semicolon separated strings like this:
exten => 12, 1, SIPAddHeader(X-TestHeader:a=test1;b=test2)
But in the resulting INVITE message only the first part
(X-TestHeader:a=test1) is added. Setting into quotation mark doesn't
change anything.
exten => 12, 1, SIPAddHeader("X-TestHeader:a=test1;b=test2")
Do you have an idea how to achieve it?
Thank you,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070117/2a6e68b1/attachment.htm