Re: [SR-Users] simple question but can't find the answer

2011-09-30 Thread Daniel-Constantin Mierla
Hello, On 9/30/11 12:11 AM, JJ Zeng wrote: Thanks Daniel. I followed your advice and install kamailio 3.1. Now I get a weird problem: it works 1 out 5 times for the relaying. try to set like tcp_connection_lifetime=3604 global parameter, or to a value higher than the longer registration

Re: [SR-Users] Making iPhone SIP client work with Kamailio

2011-09-30 Thread Daniel-Constantin Mierla
Hello, On 9/30/11 12:51 AM, Krishna Kurapati wrote: Hi, The iPhone client, when it goes into background, can only respond to incoming messages. That makes the Registration expire when there is no communication from the server before the expire time. I could make the

Re: [SR-Users] Kamailio as dispatcher fails due to from domain on extension.

2011-09-30 Thread Daniel-Constantin Mierla
Hello, On 9/29/11 10:28 PM, Henrik Aagaard Sørensen wrote: I'm using Kamailio as dispatcher to a FreeSwitch setup. Currently it almost work. I have 2 extensions connected to my FreeSwitch via Kamailio. However, I can only send calls one way because Kamailio seems to change the domain on the

Re: [SR-Users] Cleaning up presence info when user is deleted

2011-09-30 Thread Daniel-Constantin Mierla
Hello, just to add that besides having the records in xcap table, if the user is removed, it should have no access to it because it will be authenticated for that. But since there is no record in subscriber table anymore, the authentication will fail always. So besides taking harddrive

Re: [SR-Users] SNMPStats and multiple proxies

2011-09-30 Thread Antanas Masevicius
Hello, it looks like this functionality can be implemented using SNMPv3 contexts. This way snmp agentx subagents would be able to register the same OID tree with different from default context. The only change we need is to patch snmpstats module with register context call as described here:

Re: [SR-Users] Kamailio as dispatcher fails due to from domain on extension.

2011-09-30 Thread Henrik Aagaard Sørensen
Hi Daniel. I can see in FreeSwitch, from the log, this error: 2011-09-30 06:49:58.275812 [ERR] sofia_reg.c:2136 Cannot locate any authentication credentials to complete an authentication request for realm '10.0.1.7' That I do not get when connecting directly to FreeSwitch, without Kamailio. So I

Re: [SR-Users] Kamailio as dispatcher fails due to from domain on extension.

2011-09-30 Thread HM Kias
Hi, I tried it too, had no luck. Looking for some advise. Regards, Kias 2011/9/30 Henrik Aagaard Sørensen henrikaagaardsoren...@gmail.com I'm using Kamailio as dispatcher to a FreeSwitch setup. Currently it almost work. I have 2 extensions connected to my FreeSwitch via Kamailio.

Re: [SR-Users] Core db_text module

2011-09-30 Thread Bruno Bresciani
Hello ALL, Someone knows why at line 149 in .../kamailio-3.1.2/modules_k/db_text/dbt_tb.c the shm_malloc function sometimes allocates memory to dtp-prev but sometimes doesn't? I'm asking this question because when the subscriber table is being loading to shared memory in db_text module, dtp-prev

Re: [SR-Users] SNMPStats and multiple proxies

2011-09-30 Thread Henning Westerholt
On Friday 30 September 2011, Antanas Masevicius wrote: it looks like this functionality can be implemented using SNMPv3 contexts. This way snmp agentx subagents would be able to register the same OID tree with different from default context. The only change we need is to patch snmpstats module

Re: [SR-Users] Cleaning up presence info when user is deleted

2011-09-30 Thread Krishna Kurapati
Thanks for the help. I was wondering if I needed remove from the cache also. I am now removing from subscriber and xcap table just to make sure that the database does not contain stale data. Krish Kura On Fri, Sep 30, 2011 at 3:01 AM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello,

Re: [SR-Users] Making iPhone SIP client work with Kamailio

2011-09-30 Thread Krishna Kurapati
Thanks for the suggestion. I added following lines to the config #!define FLB_NATB 6 #!define FLB_NATSIPPING 7 # - nathelper params - modparam(nathelper, natping_interval, 30) modparam(nathelper, ping_nated_only, 1) modparam(nathelper, sipping_bflag, FLB_NATSIPPING) modparam(nathelper,

Re: [SR-Users] Kamailio as dispatcher fails due to from domain on extension.

2011-09-30 Thread Henrik Aagaard Sørensen
Hi Daniel. I've tried a lot with FreeSwitch, but somehow I still thinks Kamailio does something to the SIP messages etc. as everything works without Kamailio. This is my kamailio.cfg: http://pastebin.com/PcVPnh6Q 2011/9/30 Henrik Aagaard Sørensen henrikaagaardsoren...@gmail.com Hi Daniel. I

Re: [SR-Users] SNMPStats and multiple proxies

2011-09-30 Thread Jeffrey Magder
Its been a very long time since I've looked at this, but isn't there a a parameter that you can launch the application with to specify which port to use for AgentX? On Fri, Sep 30, 2011 at 11:01 AM, Henning Westerholt h...@kamailio.orgwrote: On Friday 30 September 2011, Antanas Masevicius

Re: [SR-Users] SNMPStats and multiple proxies

2011-09-30 Thread Jeffrey Magder
Please take a look at the documentation: http://kamailio.org/docs/modules/1.3.x/snmpstats.html#AEN172 Specifically, items 1.6.2 and 1.6.3. You should be able to run two different instances. It has been years since I've worked on this but it should be straight forward to add SNMP v3 context to

[SR-Users] New to Kamailio - make problem

2011-09-30 Thread Peter Schrock
I can't seem to get kamailio to *make*. I am following the directions on the wiki on how to install. I have downloaded, compiled, and installed mysql server and every time I run to *make all* with kamailio, I get this error message. At first, I was thinking that *km_db_mysql.c* couldn't find the

Re: [SR-Users] New to Kamailio - make problem

2011-09-30 Thread Nick Khamis
You neet the mysql header library. What distro are you using? Nick. On Fri, Sep 30, 2011 at 7:44 PM, Peter Schrock peter.schr...@gmail.com wrote: I can't seem to get kamailio to make. I am following the directions on the wiki on how to install. I have downloaded, compiled, and installed mysql

[SR-Users] Handling quota/call limits - kamailio 1.5

2011-09-30 Thread Graham Wooden
Hi there, Finally getting around to introducing some call limits and starting with the inbound calls. However, I ran into an issue about how to get the in use count to be updated in my quota table. What is the best way to get s:in_use to update so it can be calculated? Here is my snippet of

Re: [SR-Users] Handling quota/call limits - kamailio 1.5

2011-09-30 Thread Alex Balashov
You really, really, really want to use the dialog module to simplify and automate this. -- This message was painstakingly thumbed out on my mobile, so apologies for brevity, errors, and general sloppiness. Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200

Re: [SR-Users] New to Kamailio - make problem

2011-09-30 Thread Peter Schrock
I am assuming you are talking about mysql. I downloaded a dmg from the mysql site (which has been all that helpful as far as finding what I need). I am using Server version: 6.0.11-alpha MySQL Community Server (GPL). Peter On Fri, Sep 30, 2011 at 4:58 PM, Nick Khamis sym...@gmail.com wrote: You

Re: [SR-Users] Handling quota/call limits - kamailio 1.5

2011-09-30 Thread Graham Wooden
Ok, I expanded on that example and got this working; for the most part. What is the best way to get that MAX_NUMBER_OF_CALLS to be a value that is set per subscriber? Or keep my quota table and just pull the value from there? modparam(dialog, profiles_with_value, callquota) . . . if

Re: [SR-Users] Handling quota/call limits - kamailio 1.5

2011-09-30 Thread Alex Balashov
You can either use load_credentials to pull it during subscriber authentication, or use your separate table. -- This message was painstakingly thumbed out on my mobile, so apologies for brevity, errors, and general sloppiness. Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street

[SR-Users] Use of $rU

2011-09-30 Thread Graham Wooden
Hi there, What is pv for the equivalent of $rU for outbound? My inbound use of $rU has the correct username. All my subscribers are multi-number trunks, so on the outbound I need to associate the subscriber. This is kamailio 1.5. Thanks, -graham

Re: [SR-Users] Use of $rU

2011-09-30 Thread Alex Balashov
$rU just exposes the request URI user part. It applies in any direction. What's the question? -- This message was painstakingly thumbed out on my mobile, so apologies for brevity, errors, and general sloppiness. Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite

Re: [SR-Users] Use of $rU

2011-09-30 Thread Alex Balashov
Wait, I think I understand. Take a look at $fU, which is not mutable, but the uac module's uac_replace_from() makes it so. -- This message was painstakingly thumbed out on my mobile, so apologies for brevity, errors, and general sloppiness. Alex Balashov - Principal Evariste Systems LLC 260

Re: [SR-Users] Use of $rU

2011-09-30 Thread Graham Wooden
$fU isn't the subscriber; it's the caller. So, using the uac_replace_from() will make $fU be the subscriber's username? On 9/30/11 10:50 PM, Alex Balashov abalas...@evaristesys.com wrote: Wait, I think I understand. Take a look at $fU, which is not mutable, but the uac module's