bilal ghayyad
2007-Aug-26 09:57 UTC
[asterisk-users] Is it possible to register without sending the password?
Hi List; I noticed that if I disabled secret in the context by placing ( ; ) before it, then at the asterisk the log will be: -- Registered SIP 'bilal_sip' at 0.0.0.0 port 5060 expired The IP address of the endpoint was not captured!!! Why? If secret enabled, then some endpoints can not register (maybe due to compatibility in reading the negotiation packets), so what is the solution? Also in SIP registration: why I do not see the log for registration packets periodically while I can see this in IAX2? Is it related to my v tracing level? Last point: I noticed that some endpoints that are not able to register (when secret is required), then I was not able to see any log at the asterisk side while SIP client still not registered. At least, it should display the fail for registeration, why does not display it? Is it related to my v tracing level? Where in the same tracing level, I am able to see the registeration fail if the endpoint sent an wrong username. For example if the context was [bilal_sip] and the endpoint username was "bilal_1000" then I see a the message (log) that declare that registeration from bilal_1000 failed (ofcourse because bilal_1000 is not configured while bilal_sip is configured in the sip.conf). Any help? Regards Bilal Ghayad ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC
Philipp Kempgen
2007-Aug-26 11:43 UTC
[asterisk-users] Is it possible to register without sending the password?
bilal ghayyad wrote:> If secret enabled, then some endpoints can not > register (maybe due to compatibility in reading the > negotiation packets), so what is the solution?I'm sure they can. Maybe you could tell the list which endpoints don't work?> Also in SIP registration: why I do not see the log for > registration packets periodically while I can see this > in IAX2? Is it related to my v tracing level?Probably. How about you try with more vvv? If you *really* need to see what's going on you might add "verbose" and "debug" to the "console=>" entry in logger.conf. But that's probably not what you want.> Last point: I noticed that some endpoints that are not > able to register (when secret is required), then I was > not able to see any log at the asterisk side while SIP > client still not registered. At least, it should > display the fail for registeration, why does not > display it? Is it related to my v tracing level? Where > in the same tracing level, I am able to see the > registeration fail if the endpoint sent an wrong > username. For example if the context was [bilal_sip] > and the endpoint username was "bilal_1000" then I see > a the message (log) that declare that registeration > from bilal_1000 failed (ofcourse because bilal_1000 is > not configured while bilal_sip is configured in the > sip.conf).Could you send the part of your sip.conf? Sounds like a configuration issue. Regards, Philipp Kempgen -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? -> http://www.das-asterisk-buch.de My pick of the month: rfc 2822 3.6.5 Gesch?ftsf?hrer: Stefan Wintermeyer Handelsregister: Neuwied B 14998