Summary: | ASTERISK-03357: Setting md5secret and removing secret from a SIP peer in sip.conf causes both to be set. | ||
Reporter: | eko1 (eko1) | Labels: | |
Date Opened: | 2005-01-26 12:21:02.000-0600 | Date Closed: | 2008-01-15 15:23:31.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) mydiff.txt | |
Description: | I've been able to reproduce this bug on both my production Asterisk server and my test Asterisk on my computer. I have a sip peer in sip.conf with a secret. If I remove the secret, add an md5secret, and do a 'sip reload', 'sip show peer sippeer' shows it as having both secret and md5secret set. ****** ADDITIONAL INFORMATION ****** I can do one of two things to fix the problem: 1. Restart Asterisk 2. Comment out the affected sip entry in sip.conf, 'sip reload', uncomment, and 'sip reload' again. | ||
Comments: | By: Mark Spencer (markster) 2005-01-26 22:51:23.000-0600 Fixed in CVS head, thanks! By: Russell Bryant (russell) 2005-01-29 00:38:26.000-0600 fixed in 1.0 - mark is cool By: Digium Subversion (svnbot) 2008-01-15 15:23:17.000-0600 Repository: asterisk Revision: 4897 U trunk/channels/chan_sip.c ------------------------------------------------------------------------ r4897 | markster | 2008-01-15 15:23:16 -0600 (Tue, 15 Jan 2008) | 2 lines Fix reload on sip peers (bug ASTERISK-3357) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4897 By: Digium Subversion (svnbot) 2008-01-15 15:23:31.000-0600 Repository: asterisk Revision: 4912 U branches/v1-0/channels/chan_sip.c ------------------------------------------------------------------------ r4912 | russell | 2008-01-15 15:23:31 -0600 (Tue, 15 Jan 2008) | 2 lines fix reloading secret options (bug ASTERISK-3357) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4912 |