Hi guys, There is other way instead plain text to define passwords in sip.conf ? In register, peers and extensions ? Thanks. -- Frederico Madeira fmadeira at gmail.com www.madeira.eng.br
Frederico, Take a look at: http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+md5secret This is the only way I know of. -- Alex On Fri, 19 Oct 2007, Frederico Madeira wrote:> Hi guys, > > There is other way instead plain text to define passwords in sip.conf ? > In register, peers and extensions ? > > Thanks. > > -- > Frederico Madeira > fmadeira at gmail.com > www.madeira.eng.br > > _______________________________________________ > --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 >-- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : +1-678-954-0670 Direct : +1-678-954-0671
Frederico Madeira wrote:> Hi guys, > > There is other way instead plain text to define passwords in sip.conf ? > In register, peers and extensions ? > > Thanks. >Depending on how your asterisk server is setup to run, if you chmod /etc/asterisk as 750 and the files underneath as 640, then only the user and group owner can read (+ only owner user can write). Others will not even see the existence of the directory or files... My server runs as user asterisk and group asterisk. Alan. -- The way out is open! http://www.theopensourcerer.com
On Fri, Oct 19, 2007 at 11:15:35PM +0100, Alan Lord wrote:> Frederico Madeira wrote: > > Hi guys, > > > > There is other way instead plain text to define passwords in sip.conf ? > > In register, peers and extensions ? > > > > Thanks. > > > > Depending on how your asterisk server is setup to run, if you chmod > /etc/asterisk as 750 and the files underneath as 640, then only the user > and group owner can read (+ only owner user can write). Others will not > even see the existence of the directory or files... > > My server runs as user asterisk and group asterisk.But then again, someone with the permission to connect to the control socket or to the manager interface (with the "command" write permission) can also issue "sip show users", regardless of where you actually keep the passwords. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Alex, In my sip.conf, I have some lines that i need to register on my voip provider and I have this configuration: register => user[:secret[:authuser]]@host[:port][/extension] How can I hide or use md5 for this configuration ? Thanks. Frederico Madeira fmadeira at gmail.com www.madeira.eng.br Em Sex, 2007-10-19 ?s 16:47 -0400, Alex Balashov escreveu:> Frederico, > > Take a look at: > > http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+md5secret > > This is the only way I know of. > > -- Alex > > On Fri, 19 Oct 2007, Frederico Madeira wrote: > > > Hi guys, > > > > There is other way instead plain text to define passwords in sip.conf ? > > In register, peers and extensions ? > > > > Thanks. > > > > -- > > Frederico Madeira > > fmadeira at gmail.com > > www.madeira.eng.br > > > > _______________________________________________ > > --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 > > > > -- > Alex Balashov > Evariste Systems > Web : http://www.evaristesys.com/ > Tel : +1-678-954-0670 > Direct : +1-678-954-0671 > > _______________________________________________ > --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