diff options
author | Ward van Wanrooij <ward@ward.nu> | 2015-12-26 16:24:09 +0100 |
---|---|---|
committer | Ward van Wanrooij <ward@ward.nu> | 2015-12-26 16:24:09 +0100 |
commit | d4b10cfb3e41e7635385866b7f96968c6b1e9cb1 (patch) | |
tree | 9e044a3e1d8a4ceb82b839cd91edcef208f6b51f /configs/samples/sip.conf.sample | |
parent | e90bb44b76d1c34817b5ad7db34c1c595c644702 (diff) |
chan_sip: option 'notifyringing' change and doc fix
In the sample sip.conf this is written with regard to notifyringing:
;notifyringing = no ; Control whether subscriptions already INUSE get sent
RINGING when another call is sent (default: yes)
However, this setting changes whether or not any RINGING indications are sent
to subscriptions. There is no separate configurable setting that allows
to control whether INUSE subscriptions also get sent RINGING. This is however
a useful option, to see (using BLF) if somebody else is able to handle an
incoming call or if everybody is busy.
This patch corrects the documentation for notifyringing (so the documentation
matches the functionality) and make notifyringing a tri-state option, by adding
the value 'notinuse' (in addition to 'yes' and 'no'). When notifyringing =
notinuse, only subscriptions that are not INUSE are sent the RINGING signal.
The default setting for notifyringing remains set to yes, so the default
behaviour is not affected.
ASTERISK-25558
Change-Id: I88f7036ee084bb3f43b74f15612695c6708f74aa
Diffstat (limited to 'configs/samples/sip.conf.sample')
-rw-r--r-- | configs/samples/sip.conf.sample | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/configs/samples/sip.conf.sample b/configs/samples/sip.conf.sample index 0fc5af2ea..fe685141a 100644 --- a/configs/samples/sip.conf.sample +++ b/configs/samples/sip.conf.sample @@ -694,8 +694,12 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ;subscribecontext = default ; Set a specific context for SUBSCRIBE requests ; Useful to limit subscriptions to local extensions ; Settable per peer/user also -;notifyringing = no ; Control whether subscriptions already INUSE get sent - ; RINGING when another call is sent (default: yes) +;notifyringing = no ; Control when subscriptions get notified of ringing state. + ; Specify 'no' to not send any ringing notifications. + ; Specify 'yes' to always send ringing notifications (default). + ; Specify 'notinuse' to only send ringing notifications for + ; extensions that are not currently in use. This is useful as a + ; visual indication of who is available to pick up an incoming call ;notifyhold = yes ; Notify subscriptions on HOLD state (default: no) ; Turning on notifyringing and notifyhold will add a lot ; more database transactions if you are using realtime. |