[Home]

Summary:ASTERISK-12192: [patch] users.conf mailbox
Reporter:Perssy Llamosas (pll)Labels:
Date Opened:2008-06-13 20:05:17Date Closed:2008-06-16 14:17:45
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20080614__bug12855__2.diff.txt
Description:When creating sip users using users.conf and specifying hasmailbox=yes one would expect that the directive mailbox would be automatically assigned to the peer.

****** ADDITIONAL INFORMATION ******

[1337]
hasmailbox=yes
email=leet@digium.com
vmsecret=1337
; extra configuration here.

sip show peer 1337 shows that the directive mailbox is empty:
mailbox:

Expected:
mailbox: 1337

Workaround: adding the directive mailbox=1337
[1337]
hasmailbox=yes
email=leet@digium.com
vmsecret=1337
mailbox=1337
; extra configuration here.
Comments:By: Tilghman Lesher (tilghman) 2008-06-14 09:27:01

Patch uploaded.  Please test, and confirm whether this fixes the issue for you.

By: Perssy Llamosas (pll) 2008-06-16 13:15:12

My mistake, change "hasmailbox" with "hasvoicemail" and the patch works as it should.

By: Digium Subversion (svnbot) 2008-06-16 14:15:14

Repository: asterisk
Revision: 123110

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r123110 | tilghman | 2008-06-16 14:15:07 -0500 (Mon, 16 Jun 2008) | 8 lines

People expect that if "hasvoicemail" is set in users.conf, even if "mailbox"
isn't set, that SIP will detect a mailbox.
(closes issue ASTERISK-12192)
Reported by: PLL
Patches:
      20080614__bug12855__2.diff.txt uploaded by Corydon76 (license 14)
Tested by: PLL

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=123110

By: Digium Subversion (svnbot) 2008-06-16 14:17:07

Repository: asterisk
Revision: 123111

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r123111 | tilghman | 2008-06-16 14:17:06 -0500 (Mon, 16 Jun 2008) | 16 lines

Merged revisions 123110 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123110 | tilghman | 2008-06-16 14:21:58 -0500 (Mon, 16 Jun 2008) | 8 lines

People expect that if "hasvoicemail" is set in users.conf, even if "mailbox"
isn't set, that SIP will detect a mailbox.
(closes issue ASTERISK-12192)
Reported by: PLL
Patches:
      20080614__bug12855__2.diff.txt uploaded by Corydon76 (license 14)
Tested by: PLL

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=123111

By: Digium Subversion (svnbot) 2008-06-16 14:17:45

Repository: asterisk
Revision: 123112

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_sip.c

------------------------------------------------------------------------
r123112 | tilghman | 2008-06-16 14:17:44 -0500 (Mon, 16 Jun 2008) | 24 lines

Merged revisions 123111 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123111 | tilghman | 2008-06-16 14:23:51 -0500 (Mon, 16 Jun 2008) | 16 lines

Merged revisions 123110 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123110 | tilghman | 2008-06-16 14:21:58 -0500 (Mon, 16 Jun 2008) | 8 lines

People expect that if "hasvoicemail" is set in users.conf, even if "mailbox"
isn't set, that SIP will detect a mailbox.
(closes issue ASTERISK-12192)
Reported by: PLL
Patches:
      20080614__bug12855__2.diff.txt uploaded by Corydon76 (license 14)
Tested by: PLL

........

................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=123112