Re: [SR-Users] Presence, RLS, and NAT Traversal

2011-03-25 Thread Daniel-Constantin Mierla
Hello, can you send the log messages with debug=3 and ngrep of the SIP traffic on all interfaces (including loopback) for such case (from the initial subscribe, ideally sent for a resource list with one or two entries so that there are not so many requests flowing around)? It will help to und

Re: [SR-Users] Presence, RLS, and NAT Traversal

2011-03-25 Thread Peter Dunkley
Hi Juha, My configuration is trying to achieve exactly what you suggest. The Kamailio presence and RLS modules send NOTIFYs using the route-set established by the SUBSCRIBE. This means that if I call add_contact_alias() and just pass the SUBSCRIBE to the module the NOTIFY will use that contact a

[SR-Users] Presence, RLS, and NAT Traversal

2011-03-25 Thread Juha Heinanen
peter, i don't have experience with k rls module, but in my environment if initial subscribe comes from behind nat, i just call add_contact_alias and add a nat param to r-r header for in-dialog requests. notifys from rls server then contain ;alias param in request uri and the nat param in route h

[SR-Users] Presence, RLS, and NAT Traversal

2011-03-25 Thread Peter Dunkley
Hello, I am using Kamailio and nathelper to connect UAs behind a NAT. However, I want to use presence and RLS in this system as well. The problem I have is that the presence and RLS modules are not nathelper aware and the NOTIFY requests that they generate are targeted at the private network IP

Re: [SR-Users] issue: fr_inv_timer_avp in Kamailio 3.1

2011-03-25 Thread Min Wang
Hi Daniel On 03/25/2011 03:07 AM, Daniel-Constantin Mierla wrote: Hello, the dbg_breakpoint(...) is not yet enabled internally, iirc. I left it this way since I thought there are some potential issues which need a bit more analysis, for now you have to use the global parameter to enable the b

Re: [SR-Users] issue: fr_inv_timer_avp in Kamailio 3.1

2011-03-25 Thread Min Wang
Hi Daniel: On 03/25/2011 03:03 AM, Daniel-Constantin Mierla wrote: thanks for troubleshooting. Indeed this was an issue, I did a commit to fix it last evening. During the times when SER and Kamailio were developped separately, SER added extra avp lists, in Kamailio was still one, corresponding

Re: [SR-Users] RES: event_route and acc_db_request().

2011-03-25 Thread Klaus Darilion
Am 25.03.2011 14:39, schrieb Henning Westerholt: > On Thursday 24 March 2011, Alexandre Abreu wrote: >> Hi Daniel, >> >> Using 'xmlrpc' and 'mi' it works. When I finish this project, I will write >> a small text explaining the steps I did to make this work. Maybe this will >> benefit more people

Re: [SR-Users] [Kamailio-Users] Rewrite $tU

2011-03-25 Thread Klaus Darilion
Am 25.03.2011 13:30, schrieb Spinov Evgeniy: > Question is execution of script will continue just after this call with > reparsed packet or will run the script again? Debug shows that will > continue from that point, but I'm unsure that I'm working with reparsed > packet. AFAIK it continues. Just

Re: [SR-Users] RES: event_route and acc_db_request().

2011-03-25 Thread Henning Westerholt
On Thursday 24 March 2011, Alexandre Abreu wrote: > Hi Daniel, > > Using 'xmlrpc' and 'mi' it works. When I finish this project, I will write > a small text explaining the steps I did to make this work. Maybe this will > benefit more people from the community. Hi Alexandre, good that it works no

[SR-Users] Error when using dispatcher module

2011-03-25 Thread Gary Chen
Kamailio 3.1.2 I am using Kamailio in front of Freeswitch as simple sip router. To do multi-tenant in Freeswitch I created SIP domain (fs2000.ly.net) and used as sip domain inside my sip phone. This domain does not map to any real IP and no entry in our DNS server. If I sent the call directly to

Re: [SR-Users] [Kamailio-Users] Rewrite $tU

2011-03-25 Thread Spinov Evgeniy
On Thu, 2011-03-24 at 14:14 +0100, Daniel-Constantin Mierla wrote: > Are you calling msg apply changes after record_route()? Try to do > record_route() after since it tries to discover the outgoing local > interface which might not be set at that point. This has fixed the problem. Also I'm wond

Re: [SR-Users] issue: fr_inv_timer_avp in Kamailio 3.1

2011-03-25 Thread Daniel-Constantin Mierla
Hello, the dbg_breakpoint(...) is not yet enabled internally, iirc. I left it this way since I thought there are some potential issues which need a bit more analysis, for now you have to use the global parameter to enable the breakpoint. Since you reminded it, I will try to find time for it a

Re: [SR-Users] issue: fr_inv_timer_avp in Kamailio 3.1

2011-03-25 Thread Daniel-Constantin Mierla
Hi Min, On 3/24/11 3:47 PM, Min Wang wrote: Hi Daniel Again. Thanks a lot. On 03/24/2011 09:26 AM, Daniel-Constantin Mierla wrote: t_set_fr() accepts any pseudo-varaibles as parameters, how did you use it? You are correct! I messed with time unit in the avp. I should times 1000 for