Re: [OpenSIPS-Users] Strange username registration

2010-04-08 Thread Douglas Lane
Hi Brett, I think I'm going to go with the rejecting u...@domain in the username section of the auth. To try rewrite things, and then hope it doesn't break any RFC3261 compliancies, and then have it break my billing system, its just too much that can go wrong - rejection is simple, you either

Re: [OpenSIPS-Users] Strange username registration

2010-04-08 Thread Brett Nemeroff
You know, probably the best thing to do would be to rewrite the URI using a transformation.. I included it in a previous post... it's something like $(Au{uri.user}) or something like that.. then use that for the billing record.. I'm trying to think if this would cause any trouble for a multidomain

Re: [OpenSIPS-Users] Strange username registration

2010-04-08 Thread Douglas Lane
Hi Brett, I haven't made any changes, as the changes I made last night with Vallimamod, I had to quickly undo as I lost a few asterisk registrations ;-) IP 1.2.3.4 is the client IP 5.6.7.8 is the server Here is a registration from Asterisk server - it is successful: U 1.2.3.4:5060 -> 5.6.7.8:50

Re: [OpenSIPS-Users] Strange username registration

2010-04-08 Thread Brett Nemeroff
I didn't see the new problem posted. Maybe I missed it? :) > Now when I try the same with an Xlite or a Siemens A580IP (those are the > only 2 devices I have tried so far), the only difference between the > asterisk registration and the xlite is the From header and To header in > the asterisk regi

Re: [OpenSIPS-Users] Strange username registration

2010-04-08 Thread Douglas Lane
Hi Vallimamod, Ok I tried what you suggested, and things worked nicely, barring the odd Asterisk server on our network that funny enough registers with the domain in the username, yet when I view the account in the location table, the username column only contains the username, and the domain

Re: [OpenSIPS-Users] [opensips-users] CDRTool confguration with opensips

2010-04-08 Thread RAJNIKANT VANZA
Hi Brett, Thanks for reply. I want to install CDRTool for accounting. so, i want to installation or configuration guide/document/tutorial for CDRTool. -- Best Regards, Rajnikant On Thu, Apr 8, 2010 at 7:31 PM, Brett Nemeroff wrote: > You'll need to be a little more specific on what issues y

Re: [OpenSIPS-Users] Question about mediaproxy relay preference

2010-04-08 Thread Henk Hesselink
Hi Dan, The clean way would seem to be to have different selection algorithms in the dispatcher that can be chosen through modparam and/or an avp. Maybe the time and motivation will become available at some point :-) Our situation is this: - we don't know to which datacenter a UA will send its

Re: [OpenSIPS-Users] Strange username registration

2010-04-08 Thread vallimamod abdullah
Hi Douglas, On Thursday8Apr, 2010, at 11:01 PM, Douglas Lane wrote: > would you advise that I change the password_column to point to the > hash > column instead? Definitely ! For you, both password_column and password_column_2 should point to the ha1 column. Good luck ;-) - vma .

Re: [OpenSIPS-Users] Strange username registration

2010-04-08 Thread Douglas Lane
Hi Vallimamod, ok I checked the hashes, and they're correct - the concern is my modparam of password_column points to the cleartext password and not the hash. would you advise that I change the password_column to point to the hash column instead? Thanks Doug On 2010/04/08 10:01 PM, vallimamo

Re: [OpenSIPS-Users] Strange username registration

2010-04-08 Thread vallimamod abdullah
Following my previous answer, On Thursday 8 Apr, 2010, at 9:49 PM, vallimamod abdullah wrote: > Maybe you can check if the password hash stored in db is correct: > compare the actual value of the db stored hash with the result of > the following shell command: > > $ printf 'u...@domain

Re: [OpenSIPS-Users] Strange username registration

2010-04-08 Thread vallimamod abdullah
On Thursday 8 Apr, 2010, at 9:31 PM, Douglas Lane wrote: > Hi Vallimamod, > > H catch 22 - turning calculate_ha1 off (0) destroys all my > authentication - no one can register when its off - the good side is > it > stops the @domain part in the username too ;-) > > Have I done something wro

Re: [OpenSIPS-Users] Strange username registration

2010-04-08 Thread Douglas Lane
Hi Vallimamod, H catch 22 - turning calculate_ha1 off (0) destroys all my authentication - no one can register when its off - the good side is it stops the @domain part in the username too ;-) Have I done something wrong that is causing this? Thanks Doug On 2010/04/08 8:48 PM, vallimamod

Re: [OpenSIPS-Users] Strange username registration

2010-04-08 Thread vallimamod abdullah
Hi Douglas, On Thursday 8 Apr, 2010, at 7:38 PM, Douglas Lane wrote: > Hey Brett and Richard, > > I was holding thumbs for this one, but it appears to not have made a > difference: > > loadmodule "auth_db.so" > modparam("auth_db", "calculate_ha1", yes) > modparam("auth_db", "password_column", "pa

[OpenSIPS-Users] One dispatcher mystery solved; Doesn't seem to be "remembering" a gateway is failed however

2010-04-08 Thread Jock McKechnie
Hey all; So I worked out what was going on with my previous test, where the failover route wasn't being called - as Bogdan pointed out, it was a TCP failure, because I was /sbin/route rejecting. If I actually simulated a failure on the destination server OpenSIPS' fr_timer caught it and it was pus

Re: [OpenSIPS-Users] Strange username registration

2010-04-08 Thread Douglas Lane
Hey Brett and Richard, I was holding thumbs for this one, but it appears to not have made a difference: loadmodule "auth_db.so" modparam("auth_db", "calculate_ha1", yes) modparam("auth_db", "password_column", "password") modparam("auth_db", "password_column_2", "password") modparam("auth_db", "

Re: [OpenSIPS-Users] Strange username registration

2010-04-08 Thread Brett Nemeroff
That's actually a really good point: http://www.opensips.org/html/docs/modules/1.6.x/auth_db.html#id228115 "As described in the previous section this parameter contains name of column holding pre-calculated HA1 string that were calculated including the domain in the username. This parameter is use

Re: [OpenSIPS-Users] Presence and Linksys phones - not working 1.6.1

2010-04-08 Thread James Lamanna
On Wed, Apr 7, 2010 at 2:06 AM, Anca Vamanu wrote: > Hi James, > > What you see happens because of a improvement that I made in > pua_dialoginfo module. Now the presentity_uri for the callee ( the uri > that will be used as RURI in Publish message) is taken from RURI of > Invite in the moment you

Re: [OpenSIPS-Users] [opensips-users] CDRTool confguration with opensips

2010-04-08 Thread Brett Nemeroff
You'll need to be a little more specific on what issues you are having if you expect to get some help! -Brett On Thu, Apr 8, 2010 at 3:47 AM, RAJNIKANT VANZA wrote: > Hi Friends, > > I want to use CDRTool. > so, please let me know about configuration or installation steps for CDRTool > on centos

Re: [OpenSIPS-Users] Strange username registration

2010-04-08 Thread Richard Revels
I think if you don't populate the ha1b column in the subscriber table it would also solve this problem by not passing the auth check. Depending on how you populate the table this may be done outside your control in which case you could use the password_column_2 modparam and set it to a column l

Re: [OpenSIPS-Users] SerMyAdmin only works with Tomcat6?

2010-04-08 Thread Flavio Goncalves
Hi Leon, You seem to have a problem with the jdbc connector. Try installing it again. Check your db connection data in the file context.xml in the conf directory. Make sure that the tomcat server is really not loaded before restarting. Sometimes Tomcat stay in the memory for a a few minutes even a

[OpenSIPS-Users] [opensips-users] CDRTool confguration with opensips

2010-04-08 Thread RAJNIKANT VANZA
Hi Friends, I want to use CDRTool. so, please let me know about configuration or installation steps for CDRTool on centos-5.X os. I have followed this link for CDRTool configuration http://cdrtool.ag-projects.com/wiki/Install but not success and confused. I have installed opensips successful. so