[OpenSIPS-Users] Users Digest, Vol 13, Issue 83

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Aug 31 10:07:37 CEST 2009


Hi Jayesh,

AFAIK, nat_traversal module does not use a DB, but a file named 
"keepalive_state" that will be created in the working dir of opensips  - 
this file creates the conflict.

As the file name is configurable (module parameter) you can renamed it 
for the second instance of opensips (to avoid overlapping).

Regards,
Bogdan

Jayesh Nambiar wrote:
> Hi Bogdan,
> The databases were indeed the same, I didnt realize that.
> How do i remove that information from the file or which file it could be??
>
> Thanks a lot.
>
> --- Jay
>  
>
>
>     Hi Jayesh,
>
>     when you had 1.5.0 and 1.5.2 on the same machine, did the 1.5.2
>     used the
>     same DB as the 1.5.0 ? Note that nat_traversal module store
>     information
>     (about where ping needs to be sent) on a file, and , because of
>     different listen sockets on 1.5.0 instance and 1.5.2 instance, the
>     file
>     loaded by 1.5.2 produced no effect.
>
>     Regards,
>     Bogdan
>
>     Jayesh Nambiar wrote:
>     > Hello,
>     > I was running Opensips 1.5.0 in a prefix based installation
>     which was
>     > running fine. I have lot of NATed clients registering to it and
>     I use
>     > the nat_keepalive() function to maintain the NAT ports in REGISTER
>     > requests.
>     > I downloaded 1.5.2 from source and compiled it in a different
>     > directory and started it. Everything was running fine but only
>     problem
>     > was that Opensips stopped sending keep-alives to the NATed UAs.
>     > Scenario:
>     > /usr/local/opensips_1.1 --> Opensips 1.5.0
>     >
>     > /usr/local/opensips_1.2 --> Opensips 1.5.2
>     >
>     > I have created separate services like service opensips_1.1 for
>     prefix
>     > opensips_1.1 and service opensips_1.2 for prefix opensips_1.2 to
>     start
>     > and stop easily.
>     > Everything in the script is same since I didnt change the
>     script. Only
>     > when I start service opensips_1.2; the proxy just does not send any
>     > keep-alives to the registered users; everything else works as
>     expected.
>     >
>     > No errors nothing in the logs. Any ideas???
>     >
>     > Also to note; I installed Opensips 1.5.2 in a different server which
>     > didnt have any previous installation of Opensips with same
>     script; the
>     > keep-alives are working as expected.
>     >
>     > Thanks,
>     >
>     > --- Jay
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list