Re: [SR-Users] Registration Authentication Error

2012-09-21 Thread Daniel-Constantin Mierla
Hello, this requires the plain text password to be in the column 'password' of the subscriber table, do you have it? I am asking because many people keep only ha1/ha1b. Cheers, Daniel On 9/21/12 2:35 AM, Nathaniel L Keeling III wrote: Here is the parameters for auth_db: modparam(auth_db,

Re: [SR-Users] no socket found for match second RR

2012-09-21 Thread Daniel-Constantin Mierla
Hello, On 9/20/12 9:14 PM, Juha Heinanen wrote: when proxy gets ack to invite, it spits out this kind of error message: Sep 20 22:03:35 wheezy2 /usr/sbin/sip-proxy[4575]: INFO: processing ACK sip:jh@192.98.103.10:5074 Sep 20 22:03:35 wheezy2 /usr/sbin/sip-proxy[4575]: WARNING: rr

Re: [SR-Users] Dialog Module : inconsitent dlg timer data

2012-09-21 Thread Daniel-Constantin Mierla
Hello, that message is printed when the 200ok for a self-generated BYE is received. Since there are two BYEs and the 200ok responses came at the same time, it might be a race to remove the dialog from timer list, which should be safe if the dialog is already removed. Perhaps this warning

Re: [SR-Users] [sr-dev] kamailio core at qm_status ( patch required important)

2012-09-21 Thread Daniel-Constantin Mierla
Hello, yes, I'll apply it, just that I was mainly offline these days to had a proper chance to look at it. Thanks for troubleshooting and patching, Daniel On 9/20/12 2:36 PM, Jijo wrote: Hi Daniel, This patch needs to be applied to avoid core. Thanks Jijo On Wed, Sep 19, 2012 at 10:54

Re: [SR-Users] any easy way to access record-route URIs?

2012-09-21 Thread jh
as i read in pv wiki and tested, $(hdr(Record-Route)[index]) returns ALL uris in r-r header number 'index'. what i tried to achieve, is to get from record-route or route headers uri number 'index' no matter how many uris are on one single header. yes, probably you can script it in config

Re: [SR-Users] no socket found for match second RR

2012-09-21 Thread jh
why does loose_route() not find the first alias? loose_route() matches the alias as being local (myself condition), but there is no relation between aliases and sockets, so searching a soket using an alias value does not work. ok, but i don't understand what loose_route() has to do with

Re: [SR-Users] no socket found for match second RR

2012-09-21 Thread Daniel-Constantin Mierla
Hello, On 9/21/12 10:38 AM, j...@tutpro.com wrote: why does loose_route() not find the first alias? loose_route() matches the alias as being local (myself condition), but there is no relation between aliases and sockets, so searching a soket using an alias value does not work. ok, but i don't

Re: [SR-Users] no socket found for match second RR

2012-09-21 Thread Juha Heinanen
Daniel-Constantin Mierla writes: If there will be no transport layer bridging, so no double record routing, all should go fine. Actually all should go fine anyway, just a warning message is printed because loose routing is expecting a local socket on double Route headers. daniel, yes,

Re: [SR-Users] Registration Authentication Error

2012-09-21 Thread Nathaniel L Keeling III
Yes, the password column of the subscriber's table contains the plain text password. Should the calculated HA1 string match the HA1 value in the database? Thanks Nathaniel On 9/21/12 2:21 AM, Daniel-Constantin Mierla wrote: Hello, this requires the plain text password to be in the column

Re: [SR-Users] no socket found for match second RR

2012-09-21 Thread Daniel-Constantin Mierla
On 9/21/12 11:37 AM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: If there will be no transport layer bridging, so no double record routing, all should go fine. Actually all should go fine anyway, just a warning message is printed because loose routing is expecting a local socket on

Re: [SR-Users] Registration Authentication Error

2012-09-21 Thread Daniel-Constantin Mierla
Hello, On 9/21/12 2:43 PM, Nathaniel L Keeling III wrote: Yes, the password column of the subscriber's table contains the plain text password. Should the calculated HA1 string match the HA1 value in the database? no, if clear text password is used, the ha1 column is not important at all. If

Re: [SR-Users] no socket found for match second RR

2012-09-21 Thread Juha Heinanen
Daniel-Constantin Mierla writes: the second is better in this case, because will avoid a loop through local sockets. Also, your case is very rare, the warning is good to spot if someone changed the uri in route headers. daniel, sorry about the noise. there is already rr mod param

Re: [SR-Users] Dialog Module : inconsitent dlg timer data

2012-09-21 Thread Ricardo Martinez
Daniel. Hi. Thanks for your answer. Yes, could it be like you mention. I’m copying part of my event-route : route { …. $sht(b=$ci::check)=0; .. } event_route[tm:local-request] { xlog(L_INFO, [$ci] [LOCAL REQUEST] :: Routing locally generated $rm to $ru); if

Re: [SR-Users] no socket found for match second RR

2012-09-21 Thread Ovidiu Sas
Sorry Juha, I forgot to reply to you that I added that warning in the code for the same reason. What do you mean by a parameter that disables looking for the socket? -ovidiu On Fri, Sep 21, 2012 at 9:28 AM, Juha Heinanen j...@tutpro.com wrote: Daniel-Constantin Mierla writes: the second is

Re: [SR-Users] no socket found for match second RR

2012-09-21 Thread Juha Heinanen
Ovidiu Sas writes: I forgot to reply to you that I added that warning in the code for the same reason. What do you mean by a parameter that disables looking for the socket? hi ovidiu, the piece of code currently looks like this: if (enable_double_rr is_2rr(puri.params)) {

Re: [SR-Users] no socket found for match second RR

2012-09-21 Thread Ovidiu Sas
It would need to be per loose_route() call, because a server can have mixed traffic (real sockets only and real and advertised). For real sockets, you would want to run the checks. For advertised, you would not want to run the checks. Then in the config, you will need to track calls through

Re: [SR-Users] Registration Authentication Error

2012-09-21 Thread Nathaniel L Keeling III
here is the output from the log file of the test user: 2(2744) DEBUG: db_postgres [km_dbase.c:224]: sending query ok: 10046f6d0 (7) - [select password from subscriber where username='test' AND domain='akanvoice.com'] 2(2744) DEBUG: core [db_res.c:118]: allocate 48 bytes for result set at

[SR-Users] Fwd: Re: Registration Authentication Error

2012-09-21 Thread Nathaniel L Keeling III
Original Message Subject:Re: [SR-Users] Registration Authentication Error Date: Fri, 21 Sep 2012 07:43:14 -0500 From: Nathaniel L Keeling III keel...@akan-tech.com To: mico...@gmail.com CC: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users

[SR-Users] Fwd: Re: Registration Authentication Error

2012-09-21 Thread Nathaniel L Keeling III
Original Message Subject:Re: [SR-Users] Registration Authentication Error Date: Fri, 21 Sep 2012 15:31:20 -0500 From: Nathaniel L Keeling III keel...@akan-tech.com To: mico...@gmail.com CC: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users

Re: [SR-Users] Command not found error during make install

2012-09-21 Thread Youngjin Park
Can you guide me further how to clear this error? I have tried to look for docbook2x but no much luck. Do I need to compile and install it in my Fedora before compiling kamailio or sip-router? Is there any way to skip docbook if no harm? Thanks again. Youngjin On Tue, Sep 18, 2012 at 9:06 PM,

Re: [SR-Users] Command not found error during make install

2012-09-21 Thread Iwan Budi Kusnanto
Sorry, the name is docbook2X (with big X) http://rpmfind.net/linux/RPM/fedora/16/i386/Fedora_Project.html On Sat, Sep 22, 2012 at 7:26 AM, Youngjin Park gosty...@gmail.com wrote: Can you guide me further how to clear this error? I have tried to look for docbook2x but no much luck. Do I need to