Re: [SR-Users] How to relay to ITSP or secure gateway.

2010-11-24 Thread Klaus Darilion
See uac module: http://www.kamailio.org/docs/modules/3.1.x/modules_k/uac.html#id2882410 It should work against other Kamailio, but not against other proxies which check CSeq header. regards Klaus On 23.11.2010 19:27, Johny Kadarisman Kwan wrote: My scenario is, that when kamailio forward the

Re: [SR-Users] Unforcing RTPProxy for a Cancel

2010-11-24 Thread Klaus Darilion
On 23.11.2010 21:22, Joe Hart wrote: I'm trying to figure out if there is some way to identify a call for which an rtpproxy session has been set up when the call is cancelled. I can't check the flag I set for the call, nor can I check the route param I set (which is what I'm doing to figure ou

Re: [SR-Users] SIP Softphone with RPID and PAI

2010-11-24 Thread Klaus Darilion
On 23.11.2010 19:58, Uriel Rozenbaum wrote: Hey Guys, I was wondering if anyone knows some Windows Based softphone to do some tests on my Kamailio 1.5.4 deployment that will allow insertion of custom headers or at least Remote-Party-ID and/or P-Asserted-Identity. Not the answer you want to h

Re: [SR-Users] avp_db_query returning wrong data

2010-11-24 Thread Daniel-Constantin Mierla
On 11/24/10 12:59 AM, Alex Balashov wrote: On 11/23/2010 06:41 PM, Jijo wrote: Yes it work with many UDP children. There were some concurrency issues with the Postgres module a while back, discovered after the 3.1.0 release. I remember something about it because we are extremely heavy us

Re: [SR-Users] Unforcing RTPProxy for a Cancel

2010-11-24 Thread Alex Balashov
On 11/24/2010 03:37 AM, Klaus Darilion wrote: On 23.11.2010 21:22, Joe Hart wrote: I'm trying to figure out if there is some way to identify a call for which an rtpproxy session has been set up when the call is cancelled. I can't check the flag I set for the call, nor can I check the route pa

[SR-Users] kamctl get number of subscribers

2010-11-24 Thread Manwe
Hi all I'm trying to get the number of registered subscribers in a kamailio 3.0.4 setup. I'm trying to use usrloc's exported function "ul_get_num_users" but I get a 500 error: kamctl fifo ul_get_num_users 500 command 'ul_get_num_users' not available Using get_statistics I get: test3:~# kamctl

Re: [SR-Users] kamctl get number of subscribers

2010-11-24 Thread Alex Balashov
On 11/24/2010 04:02 AM, Jon Bonilla (Manwe) wrote: test3:~# kamctl fifo get_statistics usrloc:registered_users 404 Statistics Not Found Try: kamctl fifo get_statistics usrloc::registered_users -- Alex Balashov - Principal Evariste Systems LLC 1170 Peachtree Street 12th Floor, Suite 1200

Re: [SR-Users] kamctl get number of subscribers

2010-11-24 Thread Manwe
El Wed, 24 Nov 2010 04:09:22 -0500 Alex Balashov escribió: > > kamctl fifo get_statistics usrloc::registered_users > > Thanks! ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lis

Re: [SR-Users] kamctl get number of subscribers

2010-11-24 Thread Manwe
El Wed, 24 Nov 2010 10:15:35 +0100 Jon Bonilla (Manwe) escribió: > El Wed, 24 Nov 2010 04:09:22 -0500 > Alex Balashov escribió: > > > > > kamctl fifo get_statistics usrloc::registered_users > > > > Looks like there's a stupid-trivial bug: test3:~# kamctl fifo get_statistics usrloc::loc

[SR-Users] SER proxy drops incoming SIP requests

2010-11-24 Thread Igor Potjevlesch
Hello, After days of debugging, I'll need some help from the SER specialists to troubleshoot this problem. The SER version in service is: 0.9.9+cvs20090925 It's running on a Red Hat EL 5.3 server. I currently have about 10.000 users registered. I encounter several seconds (1 to 5) without replie

Re: [SR-Users] kamctl get number of subscribers

2010-11-24 Thread Alex Balashov
On 11/24/2010 04:39 AM, Jon Bonilla (Manwe) wrote: El Wed, 24 Nov 2010 10:15:35 +0100 Jon Bonilla (Manwe) escribió: El Wed, 24 Nov 2010 04:09:22 -0500 Alex Balashov escribió: kamctl fifo get_statistics usrloc::registered_users Looks like there's a stupid-trivial bug: test3:~# kam

[SR-Users] Remove a CODEC in the Invite

2010-11-24 Thread Johannes Wagner-Meingassner
Hi all! I have to remove the Transparent Codec in the INVITE-Message to a dedicated SIP-Client, because the Client can not work with it. What do you think is the best methode to do this? thanks, Hannes ___ SIP Express Router (SER) and Kamailio (OpenS

Re: [SR-Users] Remove a CODEC in the Invite

2010-11-24 Thread Alex Balashov
Johannes, On 11/24/2010 05:19 AM, Johannes Wagner-Meingassner wrote: I have to remove the Transparent Codec in the INVITE-Message to a dedicated SIP-Client, because the Client can not work with it. What do you think is the best methode to do this? While the motive is understandable, this is a

Re: [SR-Users] kamctl get number of subscribers

2010-11-24 Thread Manwe
El Wed, 24 Nov 2010 05:03:11 -0500 Alex Balashov escribió: > > Looks like there's a stupid-trivial bug: > > > > test3:~# kamctl fifo get_statistics usrloc::location-contacts > > dialog:location-contacts = 0 > > Hmmm... not for me: > > diminuendo-1:/u/home/sasha# kamctl fifo get_statistics > us

Re: [SR-Users] Remove a CODEC in the Invite

2010-11-24 Thread Johannes Wagner-Meingassner
Hi Alex, It´s not really my idea and I also think it´s not the best way, but I have to search for options to do this. Thanks, Hanns ---Ursprüngliche Nachricht- Von: Alex Balashov [mailto:abalas...@evaristesys.com] Gesendet: Mittwoch, 24. November 2010 11:34 An: Johannes Wagner-Meinga

Re: [SR-Users] kamctl get number of subscribers

2010-11-24 Thread Iñaki Baz Castillo
2010/11/24 Jon Bonilla : > I'm running 3.0.4 stable. Anyways I think it started after retrieving stats > from dialog module. I'll try to catch how to reproduce it. Anyways it's > trivial. If the problem occurs after retrieving dialog module status then it could be not so trivial. -- Iñaki Baz C

Re: [SR-Users] SIP Softphone with RPID and PAI

2010-11-24 Thread Uriel Rozenbaum
:) I know is not the answer I expected, but I'll do something like that, maybe use sipp or sipsak. Thanks! Uriel On Wed, Nov 24, 2010 at 5:40 AM, Klaus Darilion wrote: > > > On 23.11.2010 19:58, Uriel Rozenbaum wrote: >> >> Hey Guys, >> >> I was wondering if anyone knows some Windows Based softp

Re: [SR-Users] kamctl get number of subscribers

2010-11-24 Thread Manwe
El Wed, 24 Nov 2010 13:14:52 +0100 Iñaki Baz Castillo escribió: > > If the problem occurs after retrieving dialog module status then it > could be not so trivial. > Some more info: I looked at my history and looks like I was right about dialog module: test3:~# kamctl fifo get_statistics usr

Re: [SR-Users] Remove a CODEC in the Invite

2010-11-24 Thread Ovidiu Sas
Try the textops module: http://www.kamailio.org/docs/modules/3.1.x/modules_k/textops.html#id2907488 Regards, Ovidiu Sas On Wed, Nov 24, 2010 at 5:19 AM, Johannes Wagner-Meingassner wrote: > > Hi all! > > I have to remove the Transparent Codec in the INVITE-Message to a dedicated > SIP-Client,

Re: [SR-Users] avp_db_query returning wrong data

2010-11-24 Thread Jijo
I'm using kamailio 3.1.0, so this is already in place.. Is there any other change happened after 3.1.0 release? On Wed, Nov 24, 2010 at 3:41 AM, Daniel-Constantin Mierla wrote: > > > On 11/24/10 12:59 AM, Alex Balashov wrote: > >> On 11/23/2010 06:41 PM, Jijo wrote: >> >> Yes it work with many

Re: [SR-Users] CANCEL with Totag

2010-11-24 Thread Iñaki Baz Castillo
2010/11/23 Iñaki Baz Castillo : >> This should not happen;  in order for CANCELs to be matched, they must have >> the same attributes, tag-wise, as the initial INVITE to which they >> correspond. > > I expect Kamailio just matches the Via branch, and not the Totag, am I wrong? It works as I expect

Re: [SR-Users] CANCEL with Totag

2010-11-24 Thread Alex Balashov
On 11/24/2010 10:36 AM, Iñaki Baz Castillo wrote: It works as I expected: - The CANCEL arrives to Kamailio (1.5) with Totag (bug in UAC). - Kamailio does t_relay() for the CANCEL without checking loose-routing or Totag (CANCEL threatment is now above loose-routing section). - Kamailio replies

[SR-Users] db_flatstore not loading

2010-11-24 Thread Javier Gallart
Hi I'd like to test db_flatstore module at 3.1 to write accounting data. The module is not loading though. The config is really simple: loadmodule "db_flatstore.so" modparam("acc", "db_url", "flatstore:/var/log/kamailio/cdr") I'm getting this error: 0(27360) DEBUG: [sr_module.c:631]: find_export

Re: [SR-Users] CANCEL with Totag

2010-11-24 Thread Iñaki Baz Castillo
2010/11/24 Alex Balashov : > On 11/24/2010 10:36 AM, Iñaki Baz Castillo wrote: > >> It works as I expected: >> >> - The CANCEL arrives to Kamailio (1.5) with Totag (bug in UAC). >> >> - Kamailio does t_relay() for the CANCEL without checking >> loose-routing or Totag (CANCEL threatment is now above

Re: [SR-Users] tm.t_uac_wait asynchronous?

2010-11-24 Thread Andrei Pelinescu-Onciul
On Oct 29, 2010 at 05:37, Alex Balashov wrote: > Does tm.t_uac_wait RPC call block a worker process while waiting for > a reply, or use some sort of asynchronous callback? It uses an async. callback, but it will work only over xmlrpc (it does not work yet with the binary rpc transport). Andrei

Re: [SR-Users] SIP Softphone with RPID and PAI

2010-11-24 Thread Andrew Pogrebennyk
On 24.11.2010 22:02, Uriel Rozenbaum wrote: :) I know is not the answer I expected, but I'll do something like that, maybe use sipp or sipsak. Uriel, sipp or sipsak will do just fine, I've also used SIPp for this particular purpose: http://sipper.agnity.com/ - useful for more complex scenar

Re: [SR-Users] SIP Softphone with RPID and PAI

2010-11-24 Thread Uriel Rozenbaum
Good, I'll try it as well... Thanks! On Wed, Nov 24, 2010 at 5:04 PM, Andrew Pogrebennyk wrote: > On 24.11.2010 22:02, Uriel Rozenbaum wrote: >> >>  :)  I know is not the answer I expected, but I'll do something like >> that, maybe use sipp or sipsak. > > Uriel, > sipp or sipsak will do just fine

Re: [SR-Users] db_flatstore not loading

2010-11-24 Thread Daniel-Constantin Mierla
Hello, fetch the latest git version of branch 3.1 and try again. It proved that the function to bind to DB API v1 used by k modules was no longer exported upon addition of implementation for DB API v2. I had no test framework for it, let me know if it works. Thanks, Daniel On 11/24/10 6:50

Re: [SR-Users] Segmentation fault when loading dialplan

2010-11-24 Thread Daniel-Constantin Mierla
Hello, On 11/23/10 12:36 PM, Javier Gallart wrote: Hi, same result after adding a second row in the table. I just did a configuration file with dialplan and a record like you showed and it started ok. My log messages are pasted next: 0(10267) DEBUG: db_mysql [km_res.c:136]: use DB1_STRING r

[SR-Users] Crash

2010-11-24 Thread michel freiha
Hi all, I have latest version of kamailio but it keep crashing...I know that the log could not be sufficient but maybe anyone faced the same issue before...Please find log below and let me know if you can find anything Nov 24 15:56:23 tunnel /usr/local/sbin/kamailio[19943]: : [pass_fd.c:293]: ER

Re: [SR-Users] Crash

2010-11-24 Thread Daniel-Constantin Mierla
First, send the backtrace. gdb /path/to/kamailio /path/to/corefile then bt. Then see if you have any other log messages from pid 19935. The logs before are more important that what is after. Also, by last version you mean 3.1.0 or the latest GIT version of 3.1. If you use 3.1.0 then there w