From 5825f68e8bc892b5e9699d1e491528c8e900355e Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Tue, 27 Oct 2009 13:30:27 +0000 Subject: Add support for receiving unsolicited MWI NOTIFY messages. This change adds a configuration option to SIP peers, unsolicited_mailbox, which configures a virtual mailbox to use for received new/old MWI information. This virtual mailbox can then be used by any device supporting MWI. (closes issue #13028) Reported by: AsteriskRocks Patches: bug_13028_chan_sip_external_mwi_20090707.patch uploaded by cmaj (license 830) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@226060 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- configs/sip.conf.sample | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configs/sip.conf.sample') diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 857886c73..27cf36818 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -975,6 +975,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; contactdeny ; is to register at the same IP as a SIP provider, ; ; then call oneself, and get redirected to that ; ; same location). +; unsolicited_mailbox ;[sip_proxy] ; For incoming calls only. Example: FWD (Free World Dialup) @@ -1015,6 +1016,10 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ;transport=udp,tcp ; This sets the transport type to udp for outgoing, and will ; ; accept both tcp and udp. Default is udp. The first transport ; ; listed will always be used for outgoing connections. +;unsolicited_mailbox=4015552299 ; If the remote SIP server sends an unsolicited MWI NOTIFY message the new/old +; ; message count will be stored in the configured virtual mailbox. It can be used +; ; by any device supporting MWI by specifying @SIP_Remote as the +; ; mailbox. ; ; Because you might have a large number of similar sections, it is generally -- cgit v1.2.3