adding headers to SIP messaging

Discussion in 'General' started by cashoefman, Nov 1, 2009.

  1. cashoefman

    Joined:
    Jul 8, 2007
    Messages:
    4
    Likes Received:
    0
    I am trying to find a way to add data to a call when transfering calls from one Asterisk Server to another. I was reading how you can add header info into a SIP header for a call with:

    exten => s,1,SIPAddHeader(X-Language-Selection: <LanguageID>)

    (see also: http://www.voip-info.org/wiki/index.php ... PAddHeader)

    and after transfering the call to the other server do something like:

    exten => s,1,SIPGetHeader(Language=X-Language-Selection)

    Has anyone experience with this and will this work when I transfer the call using an IAX2 trunk between the two servers?
     

Share This Page