Re: [SR-Users] Authentication issue during registration

2015-09-14 Thread Austin Einter
I took SBC from my test scenario. Then I found same issue, Kamalio challanges repeatedly. One of the reason I suspect is, in my case for REGISTER message to uri and from uri are different. Can that cause Kamailio to challenge it repeatedly. Thanks Austin On Mon, Sep 14, 2015 at 11:22 AM, Austi

[SR-Users] Best practices for troubleshooting deadlocks?

2015-09-14 Thread Alex Balashov
Hello, Very occasionally, we encounter what appear to be deadlocks in all UDP receiver threads. All Kamailio processes are running, but no SIP messages are being processed. On one of our high-volume installation, this happens extremely infrequently -- maybe once every month or two. On these

Re: [SR-Users] evapi tcp parsing??

2015-09-14 Thread Jayesh Nambiar
Hello Daniel, After further testing with evapi module, I figured that when Netstrings are used, an event route is invoked individually for each message even if if multiple netstring messages are received in a single TCP packet. But this doesn't work effectively when a single proper message is split

Re: [SR-Users] problem with dispatcher load balancing

2015-09-14 Thread Ding Ma
Hi, Figured this out. Seems I had made a mistake in the names of AVPs. Changed the AVP names as the exact names used in the example contained in dispatcher doc. Dispatcher started to work, I can see even distribution of loads to 2 Asterisk servers. Will verify if maxload is being enforced or not,

Re: [SR-Users] Hex to Dec conversion

2015-09-14 Thread Daniel-Constantin Mierla
On 14/09/15 18:16, Alex Balashov wrote: > On 09/14/2015 11:37 AM, Yufei Tao wrote: > >> I want to convert a Hex number string into a Dec number string, e.g. Hex >> number "123" into Dec number "291". What is the best way? I didn't find >> any transformation for this. > > As far as I know, Kamaili

Re: [SR-Users] [sr-dev] Very high load average after upgrade to Kamailio v4.3.2

2015-09-14 Thread M S
Hi, After doing all the test cases, it seems the problem has been resolved in v4.3.2-3763f6. Thank you so much for your help in this timely fix. On Mon, Sep 14, 2015 at 12:52 PM, M S wrote: > OK, let me test it and get back to you. > > Thank you. > > > > On Mon, Sep 14, 2015 at 12:18 PM, Dan

Re: [SR-Users] Hex to Dec conversion

2015-09-14 Thread Konrad Rozycki
On 09/14/2015 04:37 PM, Yufei Tao wrote: Hi, I want to convert a Hex number string into a Dec number string, e.g. Hex number "123" into Dec number "291". What is the best way? I didn't find any transformation for this. Thank you! Yufei ___ SIP Ex

Re: [SR-Users] Hex to Dec conversion

2015-09-14 Thread Daniel Tryba
On Monday 14 September 2015 16:37:24 Yufei Tao wrote: > I want to convert a Hex number string into a Dec number string, e.g. Hex > number "123" into Dec number "291". What is the best way? I didn't find any > transformation for this. If there is indeed no simple buildin function. You can do it: -

Re: [SR-Users] Hex to Dec conversion

2015-09-14 Thread Alex Balashov
On 09/14/2015 11:37 AM, Yufei Tao wrote: I want to convert a Hex number string into a Dec number string, e.g. Hex number "123" into Dec number "291". What is the best way? I didn't find any transformation for this. As far as I know, Kamailio has no facility for this. I didn't see one in the t

[SR-Users] Hex to Dec conversion

2015-09-14 Thread Yufei Tao
Hi, I want to convert a Hex number string into a Dec number string, e.g. Hex number "123" into Dec number "291". What is the best way? I didn't find any transformation for this. Thank you! Yufei ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-u

[SR-Users] Adding user to kamailio database

2015-09-14 Thread Priyaranjan Nayak
Hi All, I wanted to use kamailio with authorization. How can I add public identity and private identity to kamailio database for a user ? Thanks Priyaranjan ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-r

Re: [SR-Users] Concurrent calls after forked invite

2015-09-14 Thread Daniel-Constantin Mierla
Hello, On 11/09/15 19:53, Lukas Hauser wrote: > Hello, > > I have two UACs registered to kamailio v4.0.4 with the same URI. > (b...@example.com) > Then a third registered UAC (al...@example.com) sends an invite to > b...@example.com. > > Both bob UACs accept the call and respond with a 200 Ok. > T

Re: [SR-Users] [sr-dev] Very high load average after upgrade to Kamailio v4.3.2

2015-09-14 Thread M S
OK, let me test it and get back to you. Thank you. On Mon, Sep 14, 2015 at 12:18 PM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > I found a regression when detecting spiraled dialogs with state deleted. > That would be the case when you create a dialog for an INVITE, but you > reply

Re: [SR-Users] [sr-dev] Very high load average after upgrade to Kamailio v4.3.2

2015-09-14 Thread Daniel-Constantin Mierla
I found a regression when detecting spiraled dialogs with state deleted. That would be the case when you create a dialog for an INVITE, but you reply with a negative response code from kamailio and then quickly a new invite with same callid and from tag arrives. Can you upgrade to latest version i

Re: [SR-Users] [sr-dev] Very high load average after upgrade to Kamailio v4.3.2

2015-09-14 Thread M S
OK runtime debugging shows something is wrong with dialog module, all 6 processes are locked in trying to access dialog module when 200 OK is received for the call. For example, here is the BT of one the processes, -- #0 0xb77a0424 in __kernel_vsyscall () #1 0xb76c140c in sched_yield () from /li

Re: [SR-Users] [sr-dev] Very high load average after upgrade to Kamailio v4.3.2

2015-09-14 Thread M S
Sure, here is the list of module in given order, -- loadmodule "db_mysql.so" loadmodule "mi_fifo.so" loadmodule "mi_datagram.so" loadmodule "kex.so" loadmodule "corex.so" loadmodule "tm.so" loadmodule "tmx.so" loadmodule "sl.so" loadmodule "outbound.so" loadmodule "rr.so" loadmodule "path.so" load

Re: [SR-Users] [sr-dev] Very high load average after upgrade to Kamailio v4.3.2

2015-09-14 Thread Daniel-Constantin Mierla
Hello, I will review the changes pushed to 4.3.2 vs 4.3.1. Can you send here the list of modules you are using? The loadmodule lines in kamailio.cfg. Cheers, Daniel On 14/09/15 10:51, M S wrote: > Hi, > > Over last weekend i upgraded one of my test servers from Kamailio > v4.3.1-4d1b65 to latest

[SR-Users] Very high load average after upgrade to Kamailio v4.3.2

2015-09-14 Thread M S
Hi, Over last weekend i upgraded one of my test servers from Kamailio v4.3.1-4d1b65 to latest stable release v4.3.2-07690f and now kamailio goes crazy even with single call (I am using same db and configuration of course). As soon as call establishes system load average (as seen in top command) s

Re: [SR-Users] ha1 password authentication without plain text password

2015-09-14 Thread Daniel-Constantin Mierla
Hello, On 13/09/15 20:58, Nabeel wrote: > > Hi, > > My SIP client only uses the 'ha1' password column from the database to > authenticate users. It does not require the 'password' column. > However, I am not able to register without having the plain text > password present in the 'password' colu

[SR-Users] selecting memory manager at startup

2015-09-14 Thread Daniel-Constantin Mierla
Hello, (cross-posting as it is relevant to user community as well). I just pushed a bunch of patches to master branch that will allow selecting the memory manger at kamailio startup, no longer needed to re-compile sources. There are two new command line parameters: * -x name: select the memo

Re: [SR-Users] Authentication issue during registration

2015-09-14 Thread Daniel Tryba
On Monday 14 September 2015 11:22:10 Austin Einter wrote: > So my question is, why Kamailio sends 401 repeatedly even if it received > proper Authorization header. Log the return code from the *_authenticate function and see why kamailio is challenging again (e.g. http://kamailio.org/docs/module