aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authormarquis <marquis@f38db490-d61c-443f-a65b-d21fe96a405b>2010-12-17 17:26:31 +0000
committermarquis <marquis@f38db490-d61c-443f-a65b-d21fe96a405b>2010-12-17 17:26:31 +0000
commit7615bbcb3de1363ec9a0da4e5187a2e2cf8f73cc (patch)
tree545ae168f159a30822a2a1b6ae439c22b970ddb5 /configs
parent7b1f689719133ee78ed06fc876346762474f763b (diff)
Fix parsing of mwi => lines in sip.conf
Reworking parsing of mwi => lines to resolve a segfault. Also add a set of unit tests for the function that does the parsing. (closes issue #18350) Reported by: gbour Tested by: Marquis, gbour Review: https://reviewboard.asterisk.org/r/1053/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@298773 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r--configs/sip.conf.sample7
1 files changed, 5 insertions, 2 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample
index 320895669..03008b146 100644
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -680,12 +680,15 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
;----------------------------------------- OUTBOUND MWI SUBSCRIPTIONS -------------------------
; Asterisk can subscribe to receive the MWI from another SIP server and store it locally for retrieval
-; by other phones.
+; by other phones. At this time, you can only subscribe using UDP as the transport.
; Format for the mwi register statement is:
-; mwi => user[:secret[:authuser]]@host[:port][/mailbox]
+; mwi => user[:secret[:authuser]]@host[:port]/mailbox
;
; Examples:
;mwi => 1234:password@mysipprovider.com/1234
+;mwi => 1234:password@myportprovider.com:6969/1234
+;mwi => 1234:password:authuser@myauthprovider.com/1234
+;mwi => 1234:password:authuser@myauthportprovider.com:6969/1234
;
; MWI received will be stored in the 1234 mailbox of the SIP_Remote context. It can be used by other phones by following the below:
; mailbox=1234@SIP_Remote