Re: [SR-Users] nat_keepalive() and fix_contact() are incompatible - SOLVED

2013-05-23 Thread David
Hello, So the state file was easy because it showed up in syslog : May 23 10:30:05 kamailio-dev-nat /usr/sbin/kamailio[15119]: ERROR: nat_traversal [nat_traversal.c:1617]: failed to open keepalive state file for writing: Permission denied May 23 10:30:05 kamailio-dev-nat /usr/sbin/kamailio[151

Re: [SR-Users] nat_keepalive() and fix_contact() are incompatible - SOLVED

2013-05-23 Thread David
Hello, I was using add_path() to add the path, in this case it was the wrong method. To anyone who runs into the same problem as me, the solution is that the proxy doing nat should have add_path_received() instead of add_path() and the proxy should also have the parameter modparam("path", "

Re: [SR-Users] nat_keepalive() and fix_contact() are incompatible

2013-05-23 Thread Daniel-Constantin Mierla
Hello, if you have registrar behind a proxy, then you have to use path module. Cheers, Daniel On 5/22/13 3:17 PM, David wrote: Hello, fix_nated_register() doesn't seem to apply in this case because my NAT proxy is seperate from my usrloc proxy. I guess I forgot that information in my first

Re: [SR-Users] nat_keepalive() and fix_contact() are incompatible

2013-05-22 Thread David
Hello, fix_nated_register() doesn't seem to apply in this case because my NAT proxy is seperate from my usrloc proxy. I guess I forgot that information in my first email. Sorry. I tried using add_contact_alias, but it does the same thing. Is there an example somewhere of how to use the nat k

Re: [SR-Users] nat_keepalive() and fix_contact() are incompatible

2013-05-22 Thread Klaus Darilion
On 21.05.2013 18:37, David wrote: Hello, So I want to setup a Kamailio SIP Proxy( version 4 ) that will do NAT signalling handling. With the help of nat_traversal and path modules. Attached is my kamailio.cfg file. My problem is I want to do keep alive on users who are behind NAT, so I call

[SR-Users] nat_keepalive() and fix_contact() are incompatible

2013-05-21 Thread David
Hello, So I want to setup a Kamailio SIP Proxy( version 4 ) that will do NAT signalling handling. With the help of nat_traversal and path modules. Attached is my kamailio.cfg file. My problem is I want to do keep alive on users who are behind NAT, so I called nat_keepalive();. The script wi