On Wed, 2006-07-19 at 16:27 +0800, unplug wrote:
> I have a header field in the sip message: Remote-Party-ID:
> [EMAIL PROTECTED]
> I want to replace it to :Remote-Party-ID: [EMAIL PROTECTED]

In Asterisk 1.2 and the trunk, the SipAddHeader and SipGetHeader
applications are deprecated.  There is a SIP_HEADER dialplan function,
instead.  You can use it for exactly this purpose.

exten => 1234,1,Set(SIP_HEADER(Remote-Party-ID)[EMAIL PROTECTED])

-- 
Russell Bryant
Software Developer
Digium, Inc.

_______________________________________________
--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