Hi all, Does asterisk cache realtime sip md5secret values? I create a user over a web site and set a password as "asd" and I can login with that password. After a while I change my password and set it as "123". Although the password is set as "123" in the mysql database (I double checked), i can not login using the password "123", but with "asd". So, am i missing a point? or is this how asterisk works? and Should I reload asterisk after adding a peer in the database? Any help would be appreciated. -- Emre Kurnaz ITU/BIDB Sistem Destek Grubu RHCE : 805009174841679 Yar? Zamanl? ??renci Koordinat?r? kurnaze at itu.edu.tr 0212 285 3930 ITU Linux Academy http://ila.itu.edu.tr
On Tue, 2010-02-02 at 21:20 +0200, Emre Kurnaz wrote:> Hi all, > > Does asterisk cache realtime sip md5secret values? > > I create a user over a web site and set a password as "asd" and I can login with that password. After a while I change my password and set it as "123". Although the password is set as "123" in the mysql database (I double checked), i can not login using the password "123", but with "asd". > > So, am i missing a point? or is this how asterisk works? and Should I reload asterisk after adding a peer in the database? > > Any help would be appreciated. >If you have rtcachefriends=yes set in your sip.conf file then you either have to wait until the peer expires or you have to reload sip so the peer is re read from the database. -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20100202/cb3de4bc/attachment.pgp
Just remember, that after reload you will lose all registrations. Regards, Mindaugas Kezys http://www.kolmisoft.com VoIP Billing and Routing Solutions -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Carlos Chavez Sent: 2010 m. vasario 2 d. 22:56 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] sip realtime md5secret On Tue, 2010-02-02 at 21:20 +0200, Emre Kurnaz wrote:> Hi all, > > Does asterisk cache realtime sip md5secret values? > > I create a user over a web site and set a password as "asd" and I can login with that password. After a while I change my password and set it as "123". Although the password is set as "123" in the mysql database (I double checked), i can not login using the password "123", but with "asd". > > So, am i missing a point? or is this how asterisk works? and Should I reload asterisk after adding a peer in the database? > > Any help would be appreciated. >If you have rtcachefriends=yes set in your sip.conf file then you either have to wait until the peer expires or you have to reload sip so the peer is re read from the database. -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001
OK. thanks for the replies. I missed the point about expiration, i will focus on this point. On Wed, Feb 03, 2010 at 08:58:00AM +0200, Mindaugas Kezys wrote:> Just remember, that after reload you will lose all registrations. > > Regards, > Mindaugas Kezys > http://www.kolmisoft.com > VoIP Billing and Routing Solutions > > > -----Original Message----- > From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Carlos Chavez > Sent: 2010 m. vasario 2 d. 22:56 > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] sip realtime md5secret > > On Tue, 2010-02-02 at 21:20 +0200, Emre Kurnaz wrote: > > Hi all, > > > > Does asterisk cache realtime sip md5secret values? > > > > I create a user over a web site and set a password as "asd" and I can login with that password. After a while I change my password and set it as "123". Although the password is set as "123" in the mysql database (I double checked), i can not login using the password "123", but with "asd". > > > > So, am i missing a point? or is this how asterisk works? and Should I reload asterisk after adding a peer in the database? > > > > Any help would be appreciated. > > > If you have rtcachefriends=yes set in your sip.conf file then you either have to wait until the peer expires or you have to reload sip so the peer is re read from the database. > > > -- > Telecomunicaciones Abiertas de M?xico S.A. de C.V. > Carlos Ch?vez Prats > Director de Tecnolog?a > +52-55-91169161 ext 2001 > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Emre Kurnaz ITU/BIDB Sistem Destek Grubu RHCE : 805009174841679 Yar? Zamanl? ??renci Koordinat?r? kurnaze at itu.edu.tr 0212 285 3930 ITU Linux Academy http://ila.itu.edu.tr