SIP Generic Message

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  
SIP generic messages are message generated by the [[SIP_channel_module|ysipchan]] module on receiving the specified requests.
+
SIP generic messages are messages generated by the [[SIP Configuration File|ysipchan]] module on receiving the specified requests.
  
 
The syntax is: sip.methodname, where methodname is the name of the received SIP request (e.g. sip.subscribe).
 
The syntax is: sip.methodname, where methodname is the name of the received SIP request (e.g. sip.subscribe).
Line 17: Line 17:
 
===Return===
 
===Return===
  
A module processing this message should set the 'code' parameter of the message to a SIP response code. The processing module may also set message's parameters named osip_headername to be returned in the SIP response (e.g. osip_Expires).
+
A module processing this message should set the 'code' parameter of the message to a SIP response code.  
 +
The processing module may also set message's parameters named osip_headername to be returned in the SIP response (e.g. osip_Expires).

Latest revision as of 18:00, 8 November 2012

SIP generic messages are messages generated by the ysipchan module on receiving the specified requests.

The syntax is: sip.methodname, where methodname is the name of the received SIP request (e.g. sip.subscribe).

[edit] Parameters

xsip_dlgtag
The dialog tag of the received request.
request_uri
The request URI of the received SIP method.
xsip_type
The content type header.
sip_headername
Where headername is the name of the header received with the request. This parameter is repeated for each header in the request (e.g. sip_from, sip_to, etc).

[edit] Return

A module processing this message should set the 'code' parameter of the message to a SIP response code. The processing module may also set message's parameters named osip_headername to be returned in the SIP response (e.g. osip_Expires).

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers