SIP Generic Message
From Yate Documentation
SIP generic messages are message 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).
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).
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).