[asterisk-users] Using the SIPAddHeader Application

Thomas Hecker thomas.hecker at gmail.com
Wed Jan 17 02:58:22 MST 2007


Ok, this works pretty fine!
Thank you very much!

On 17/01/07, Steve Langstaff <steve.langstaff at citel.com> wrote:
>
>  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
>
>
> _______________________________________________
> --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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070117/fdb61735/attachment.htm


More information about the asterisk-users mailing list