adding headers to SIP messaging

cashoefman

Joined
Jul 8, 2007
Messages
4
Likes
0
Points
0
#1
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?
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,563
Latest member
dineshr
Top