SIP Features Module: Difference between revisions

From Yate Documentation
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:
=== Configuration file ===
=== Configuration file ===


sipfeatures.conf contain:
sipfeatures.conf contains sections:


#Section [general]
1. Section [general]
* expires_min: int: Minimum allowed expiring time in seconds. Defaults to 60
* expires_min: int: Minimum allowed expiring time in seconds. Defaults to 60
* expires_def: int: Default expiring time if not present in requests. Defaults to 600
* expires_def: int: Default expiring time if not present in requests. Defaults to 600
Line 24: Line 24:
* forcedialogdata: boolean: Force (fill if missing) some parameters (dialog.callid, dialog.localtag, dialog.remotetag, dialog.remoteuri) in dialog state notification if made for a valid dialog (dialog.id is not empty). Defaults to enable.
* forcedialogdata: boolean: Force (fill if missing) some parameters (dialog.callid, dialog.localtag, dialog.remotetag, dialog.remoteuri) in dialog state notification if made for a valid dialog (dialog.id is not empty). Defaults to enable.


#Section [allow_events] restrict/allow subscriptions to individual events. If an event is disabled, no subscriptions to it will be allowed
2. Section [allow_events] restrict/allow subscriptions to individual events. If an event is disabled, no subscriptions to it will be allowed


* default: boolean: Default value if an event is not listed here. Defaults to enable
* default: boolean: Default value if an event is not listed here. Defaults to enable
Line 30: Line 30:
* message-summary: boolean: Enable/disable subscriptions to message waiting events. Defaults to enable
* message-summary: boolean: Enable/disable subscriptions to message waiting events. Defaults to enable


To allow / restrict methods it will be done in file [[Subscriptions|subscription.conf]].
[[Subscriptions|subscription.conf]].


<!--Configuration file sipfeatures.conf
<!--Configuration file sipfeatures.conf

Revision as of 14:15, 7 November 2012

This module implements the following SIP methods:

  • SUBSCRIBE - Allow SIP clients to subscribe to specific events
  • NOTIFY - Notify SIP clients when an event's state changed

Message handlers

Routing

None

Configuration file

sipfeatures.conf contains sections:

1. Section [general]

  • expires_min: int: Minimum allowed expiring time in seconds. Defaults to 60
  • expires_def: int: Default expiring time if not present in requests. Defaults to 600
  • expires_max: int: Value used to limit the expiring time to something sane. Defaults to 3600
  • forcedialogdata: boolean: Force (fill if missing) some parameters (dialog.callid, dialog.localtag, dialog.remotetag, dialog.remoteuri) in dialog state notification if made for a valid dialog (dialog.id is not empty). Defaults to enable.

2. Section [allow_events] restrict/allow subscriptions to individual events. If an event is disabled, no subscriptions to it will be allowed

  • default: boolean: Default value if an event is not listed here. Defaults to enable
  • dialog: boolean: Enable/disable subscriptions to dialog state events. Defaults to enable
  • message-summary: boolean: Enable/disable subscriptions to message waiting events. Defaults to enable

subscription.conf.