[asterisk-users] Access to header field: event

Michelle Dupuis support at ocg.ca
Thu Feb 18 19:33:08 CST 2010


I think that's what I need!  In what version of * do these functions appear?
(Docs just say "trunk") 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Kevin P.
Fleming
Sent: Thursday, February 18, 2010 12:33 PM
To: Asterisk Users List
Subject: Re: [asterisk-users] Access to header field: event

Michelle Dupuis wrote:
> I'm trying to pass additional call information (eg: customer ID) to a 
> call center along with the call itself.
> 
> At this point I would be happy just seeing everything that I can get 
> from the SIP header from within the dialplan...is there an example of 
> how to access all header content from within the dialplan?

The SIP_HEADER, SIPAddHeader and SIPRemoveHeader dialplan functions should
do exactly what you want.

--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpfleming at digium.com Check us out at
www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list