----- Original Message -----
From: Douglas Garstang
[mailto:[EMAIL PROTECTED]
To: [EMAIL PROTECTED], Asterisk Users
Mailing List - Non-Commercial Discussion
[mailto:[EMAIL PROTECTED]
Sent: Thu, 03 Aug 2006 12:50:54
-0300
Subject: RE: [asterisk-users] SIP_HEADER() read-only


> Oh... That's real nice. I was considering using SIP instead of IAX to trunk
> calls between Asterisk boxes as IAX has some severe limitations in regards
> to passing variables. A few people said 'use SIP!' because you can set the
> SIP headers. Looks like that isn't an option!
> 

You can use the SIPAddHeader application:

  SIPAddHeader(Header: Content)
Adds a header to a SIP call placed with DIAL.
Remember to user the X-header if you are adding non-standard SIP
headers, like "X-Asterisk-Accountcode:". Use this with care.
Adding the wrong headers may jeopardize the SIP dialog.
Always returns 0

Joshua Colp
Digium
_______________________________________________
--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