[asterisk-users] Using the SIPAddHeader Application
Steve Langstaff
steve.langstaff at citel.com
Wed Jan 17 02:49:34 MST 2007
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 at 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 at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Thomas
Hecker
Sent: 17 January 2007 07:43
To: asterisk-users at 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
More information about the asterisk-users
mailing list