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" wrote: > 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. >

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 Pe

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 2200

[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] 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

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") . . .

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 wrote: > You neet the mysql

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

2011-09-30 Thread Graham Wooden
I agree - I actually tried to use the dialog module, taken from an mailist post back from Aug 2009, http://www.mail-archive.com/users@lists.kamailio.org/msg04127.html But ran into issues implementing it. With that, I will focus back on that. Thanks Alex, -graham On 9/30/11 8:26 PM, "Alex Ba

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 Atlan

[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 co

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 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 > server and every t

[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 th

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 t

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 wrote: > On Friday 30 September 2011, Antanas Masevicius wrote: > > it looks li

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 > Hi Daniel. > > I can see in FreeSwitch, from t

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("n

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 wrote: > Hello, > > just to add th

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 mod

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] 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 > 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

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

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: http

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 space,

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] 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 Reg

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