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 [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas
Hecker
        Sent: 17 January 2007 07:43
        To: [email protected]
        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
        

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to