SIPGetHeader( )


SIPGetHeader( ) Gets a SIP header from an incoming SIP call

 SIPGetHeader(   var   =   headername   ) 

Sets a channel variable named var to the content of the headername SIP header. Skips to priority n +101 (where n is the current priority) if the specified header does not exist.

 ; get the "To" header and assign it to the variable called TESTING  exten => 123,1,SIPGetHeader(TESTING=To)  

See Also

SIPAddHeader( )



Asterisk. The Future of Telephony
Asterisk: The Future of Telephony: The Future of Telephony
ISBN: B0026OR3OO
EAN: N/A
Year: 2001
Pages: 380

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net