bilal ghayyad
2007-Aug-27 07:01 UTC
[asterisk-users] Is it possible to register without sending the password
Dear Philipp; Kindly find the part of the configuration as below: [general] allow=all disallow is comment by ( ; ). [bilal_sip] type=friend context=internal host=dynamic canreinvite=no dtmfmode=rfc2833 So where is the problem? The endpoint does not register and nothing appear on trace level 3. And the amazing thing that if the endpoint send wrong username (for example: bilal_sip100) then it does not register, but we see the failed attempt of registration at Asterisk CLI (with trace level = 3). Please any help? Regards Bilal Ghayad Mobile: 009659849460> 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 logfor> registration packets periodically while I can seethis> 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 arenot> able to register (when secret is required), then Iwas> not able to see any log at the asterisk side whileSIP> 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 Isee> a the message (log) that declare that registeration > from bilal_1000 failed (ofcourse because bilal_1000is> 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 ____________________________________________________________________________________ Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222
bilal ghayyad
2007-Aug-28 22:17 UTC
[asterisk-users] Is it possible to register without sending the password
Dear Philipp; How can I add the verbose and debug to the consol entry in the logger.conf to be able to take logging about the attempt of registeration for the sip end point? Regards Bilal> 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 logfor> registration packets periodically while I can seethis> 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 arenot> able to register (when secret is required), then Iwas> not able to see any log at the asterisk side whileSIP> 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 Isee> a the message (log) that declare that registeration > from bilal_1000 failed (ofcourse because bilal_1000is> 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 ____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433
bilal ghayyad
2007-Aug-29 08:27 UTC
[asterisk-users] Is it possible to register without sending the password
Dear Philipp; Thanks for your kindly help. The log was for the sip endpoint registeration as following: Really destroying SIP dialog '741fce04454f9007 at QmlsYWxHaG5YWQtUEM.' Method: REGISTER And this message was coming peridically (maybe every time the endpoint trying to register). The endpoint was the Firefly installed on Windows Vista working as SIP client, same configuration for Firefly on Windows XP is fine, also Firefly as IXA on Vista is working fine. So the problem in case of Firefly SIP at Vista. Also, the same problem happened with other endpoints like BroadTel ATA (SIP endpoint). I beleive it is related to the username and password string, how the endpoint send it and how the asterisk interpret it, also I am trying to send without need to secret, but also same problem!! What other logs I can do on this endpoint (based on the username, or based on its IP address, ...) so I can determine more things that can help? At asterisk console, already I set the verbose 10 and the debug 10, and the above message is the most thing I got. I do not know what other traces I can do to have more details to destinguish the problem? I think we are going to face it with a lot of SIP endpoints (interpretting the sending username and password), but I do not know how I can overcome it? Kindly see the SIP.conf configuration related to this endpoint account: [bilal_sip] type=friend context=internal host=dynamic dtmfmode=rfc2833 ;secret=password ---- sometimes I was remove the ; and sometimes I was put it. What I can do else to resolve this registeration? Until now I am able to register using bilal_sip account from Firefly installed on XP, but all other SIP registeration I tried were failed. Any help? Regards Bilal Ghayad> How can I add the verbose and debug to the consol > entry in the logger.conf to be able to take logging > about the attempt of registeration for the sip end > point?console => notice,warning,error,debug,verbose as explained in /etc/asterisk/logger.conf 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 ____________________________________________________________________________________ Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http://autos.yahoo.com/carfinder/