[Asterisk-Users] REaltime does not unregister sip peers "on the
fly" but not only...
bbench at mail.bg
bbench at mail.bg
Sat Nov 12 17:01:07 MST 2005
In addition to the mail below,
It is not the "realtime"! ARA is great.
Moving the peers to sip.conf, and ignoring extconfig.conf for a test,
discovered that, when left empty (secret=<blank_space>) is ignored as
commented (;secret=<whatever>). Obviously the sip channel was actually
prepared for the realtime sip_buddies table. Means, columns secret&md5secret
were left empty are to be considered <Not set>.
Thinking out load, for me, secret=<blank_space> meant that either the client
should have literally "blank" password or should not be able to register,
isn't it. If you don't want secrets you comment it like this
(;secret=<not_needed>). However, do not leave "secret" empty if you
require passwords from your users.
Simply set "secret=/" or something similar :).
On Saturday 12 November 2005 17:45, bbench at mail.bg wrote:
> Hi,
> chick*CLI> show version files chan_sip.c
> File Revision
> ---- --------
> chan_sip.c Revision: 1.907
> chick*CLI> show version files pbx_realtime.c
> File Revision
> ---- --------
> pbx_realtime.c Revision: 1.15
> chick*CLI> show version
> Asterisk CVS HEAD built by root @ chick on a i686 running Linux on
> 2005-11-09 14:28:18 UTC
>
> extconfig.conf
> sipusers => mysql,asterisk,sip_buddies
> sippeers => mysql,asterisk,sip_buddies
> iaxusers => mysql,asterisk,iax_buddies
> iaxpeers => mysql,asterisk,iax_buddies
> extentions => mysql,asterisk,extensions_table
>
> Registered sip friends work great through realtime.
> However, setting in sip.conf:
> rtcachefriends=yes
> rtupdate=yes
> rtautoclear=yes
> ignoreregexpire=no
> ( trying to have "show peers" available, but attempting to clear the cache)
>
> and deleting the secret the "friend" , this friend :) stays registered:
> Seeding..., Saved... and all.
> Weren't they supposed with "realtime" to get busted "on the fly" at the
> next registration without "sip reload"? Or just created ("on the fly")?
> Anybody?
> benchev
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list