Re: [SR-Users] Permissions module question?

2010-06-29 Thread Iñaki Baz Castillo
2010/6/28 JR Richardson : > Kamailio 3.0 permissions module, I see that the address database table > is cached by default, really the only option.  But there is no MI > Function to reload the database into cache, you must restart kamailio > to update the cache for the address table.  Is there any r

Re: [SR-Users] force_send_socket - multiple times per dialog, subsequent times fail

2010-06-29 Thread Klaus Darilion
IIRC force_send_socket operates on "branch[0]". Now it depends how the the new branch is added, e.g. if send--socket properties are copied into new branch or not. IRRC there were some changes either in 1.5 or 3.0. You can also access a branch's aprameter directly: http://sip-router.org/wiki/coo

Re: [SR-Users] UAC, parsing auth header failed

2010-06-29 Thread Henning Westerholt
On Friday 18 June 2010, Iñaki Baz Castillo wrote: > 2010/6/18 Iñaki Baz Castillo : > > 2010/6/17 Klaus Darilion : > >> looks like the header is buggy, it should be "Digest": > >>> challenge = ("Digest" LWS digest-cln *(COMMA digest-cln)) > > > > The header is not buggy as 99.9% of SIP A

[SR-Users] Missing ACK

2010-06-29 Thread Ole Kaas
Hello, See transmission below. For some reason the ACK package is lost/dropped and the remote server retransmits the 200 OK status. But Kamailio does not retransmit the ACK on receiving the retransmitted OK's. Eventually the remote server gives up and pulls the plug after ~20 seconds. Is this a

Re: [SR-Users] WARNING: timer: add_timeout: 0 expire timer added in pua

2010-06-29 Thread Henning Westerholt
On Friday 25 June 2010, David wrote: > Using Kamailio 3.0.1 : > > My syslog is being flooded with this : > > WARNING: [timer_funcs.h:111]: WARNING: timer: add_timeout: 0 > expire timer added > > Jun 25 12:23:55 kamailio-dev /usr/sbin/kamailio[11259]: DEBUG: pua > [hash.c:54]: ^Ietag= a.12762786

Re: [SR-Users] Missing ACK

2010-06-29 Thread Klaus Darilion
The log does not tell us anything. If you want to know from us if your config is wrong or your clients/server is buggy, then we need an ngrep dump recorded at the SIP proxy: ngrep -Wbyline -t -q port 5060 regards Klaus Am 29.06.2010 12:37, schrieb Ole Kaas: Hello, See transmission below.

Re: [SR-Users] force_send_socket - multiple times per dialog, subsequent times fail

2010-06-29 Thread Geoffrey Mina
Yeah, Juha's suggestion worked perfectly. As soon as I moved the force_send_socket() call into branch_route everything started working. Thanks. On Tue, Jun 29, 2010 at 5:20 AM, Klaus Darilion < klaus.mailingli...@pernau.at> wrote: > IIRC force_send_socket operates on "branch[0]". Now it depends

Re: [SR-Users] Missing ACK

2010-06-29 Thread Geoffrey Mina
I have also seen this with Kamailio 1.5 I have not confirmed whether Kamailio is sending the 200 OK back down to my asterisk server or not. On Tue, Jun 29, 2010 at 7:15 AM, Klaus Darilion < klaus.mailingli...@pernau.at> wrote: > The log does not tell us anything. > > If you want to know from us i

Re: [SR-Users] Missing ACK

2010-06-29 Thread Ole Kaas
Hi Klaus, I've mailed pcap dump to you directly for further inspection. /Ole Den 29/06/2010 kl. 13.15 skrev Klaus Darilion: > The log does not tell us anything. > > If you want to know from us if your config is wrong or your clients/server is > buggy, then we need an ngrep dump recorded at th

Re: [SR-Users] Permissions module question?

2010-06-29 Thread JR Richardson
> 2010/6/28 JR Richardson : > > Kamailio 3.0 permissions module, I see that the address database table > > is cached by default, really the only option. ?But there is no MI > > Function to reload the database into cache, you must restart kamailio > > to update the cache for the address table. ?Is t

Re: [SR-Users] Dispatcher module problem or feature?

2010-06-29 Thread Daniel-Constantin Mierla
Hi JR, On 6/28/10 11:39 PM, JR Richardson wrote: Hi All, I'm testing dispatcher functions with kamailio 3.0 and using database to load destination address. The problem I am seeing is the 1'st destination address in a group is not being used, the dispatcher always starts at the second databas

[SR-Users] using avpops for querying an external db on kamailio 3.0.2

2010-06-29 Thread yaron nahcum
Hi, I have recently installed a kamailio server with release 3.0.2. I would like to use the kamilio as a redirect server that would recieve REGISTER messages from users and query a proprietary database that holds users information - if the users are registered to the service it would redirect th

Re: [SR-Users] using avpops for querying an external db on kamailio 3.0.2

2010-06-29 Thread Daniel-Constantin Mierla
Hello, look at sqlops module, it is more suitable for custom sql queries: http://kamailio.org/docs/modules/stable/modules_k/sqlops.html Cheers, Daniel On 6/29/10 5:47 PM, yaron nahcum wrote: Hi, I have recently installed a kamailio server with release 3.0.2. I would like to use the kamilio as

Re: [SR-Users] using avpops for querying an external db on kamailio 3.0.2

2010-06-29 Thread Henning Westerholt
On Tuesday 29 June 2010, yaron nahcum wrote: > Now, I am using the avpops module. I have been able to make it work using > the following configuration: > [..] > The thing is that I don't need to match the string CENTREX against the > domain- it is something I added because I couldn't find another

Re: [SR-Users] Dispatcher module problem or feature?

2010-06-29 Thread JR Richardson
On Tue, Jun 29, 2010 at 10:25 AM, Daniel-Constantin Mierla wrote: > Hi JR, > > > > On 6/28/10 11:39 PM, JR Richardson wrote: > > Hi All, > I'm testing dispatcher functions with kamailio 3.0 and using database > to load destination address. The problem I am seeing is the 1'st > destination address

Re: [SR-Users] Dispatcher module problem or feature?

2010-06-29 Thread Daniel-Constantin Mierla
On 6/29/10 6:17 PM, JR Richardson wrote: On Tue, Jun 29, 2010 at 10:25 AM, Daniel-Constantin Mierla wrote: Hi JR, On 6/28/10 11:39 PM, JR Richardson wrote: Hi All, I'm testing dispatcher functions with kamailio 3.0 and using database to load destination address. The problem I am see

Re: [SR-Users] using avpops for querying an external db on kamailio 3.0.2

2010-06-29 Thread Daniel-Constantin Mierla
Hello, On 6/29/10 6:39 PM, yaron nahcum wrote: Hi Daniel, Thanks a lot for the quick response. I will look at it. fyi: keep cc-ing the mailing list for any discussion that started there - message sent privately are usually ignored. Daniel Yaron. --

Re: [SR-Users] Dispatcher module problem or feature?

2010-06-29 Thread JR Richardson
On Tue, Jun 29, 2010 at 11:33 AM, Daniel-Constantin Mierla wrote: > > > On 6/29/10 6:17 PM, JR Richardson wrote: > > On Tue, Jun 29, 2010 at 10:25 AM, Daniel-Constantin Mierla > wrote: > > > Hi JR, > On 6/28/10 11:39 PM, JR Richardson wrote: > Hi All, > I'm testing dispatcher functions with kamai

Re: [SR-Users] Dispatcher module problem or feature?

2010-06-29 Thread Daniel-Constantin Mierla
On 6/29/10 6:49 PM, JR Richardson wrote: On Tue, Jun 29, 2010 at 11:33 AM, Daniel-Constantin Mierla wrote: On 6/29/10 6:17 PM, JR Richardson wrote: On Tue, Jun 29, 2010 at 10:25 AM, Daniel-Constantin Mierla wrote: Hi JR, On 6/28/10 11:39 PM, JR Richardson wrote: Hi All, I'm testing

Re: [SR-Users] Dispatcher module problem or feature?

2010-06-29 Thread JR Richardson
On Tue, Jun 29, 2010 at 11:33 AM, Daniel-Constantin Mierla wrote: > > > On 6/29/10 6:17 PM, JR Richardson wrote: > > On Tue, Jun 29, 2010 at 10:25 AM, Daniel-Constantin Mierla > wrote: > > > Hi JR, > On 6/28/10 11:39 PM, JR Richardson wrote: > Hi All, > I'm testing dispatcher functions with kamai

Re: [SR-Users] Missing ACK

2010-06-29 Thread Iñaki Baz Castillo
2010/6/29 Ole Kaas : > Hi Klaus, > > I've mailed pcap dump to you directly for further inspection. Hi, it's much better if you capture a trace with "ngrep -Wbyline -t -q port 5060" and paste it in a new mail by replacing your public IP's with other values. Then all the people here could help you r

Re: [SR-Users] force_send_socket - multiple times per dialog, subsequent times fail

2010-06-29 Thread Ernest Mavrel
Hi How can I move force_send_socket() call into branch_route? Could someone give me an example, please. Thank you Ernest I have this script: # Failure route 'pstn-failover' ###