Re: [SR-Users] NATMANAGE quirks

2014-10-22 Thread aft
On Tue, Oct 21, 2014 at 8:38 PM, Daniel-Constantin Mierla wrote: > Hello, > > the error message is what you printed from config and $du was not set. > > If you want to troubleshoot better, set debug=3 in kamailio.cfg and watch > the log messages -- there will be plenty of them and you should get

Re: [SR-Users] NATMANAGE quirks

2014-10-21 Thread Daniel-Constantin Mierla
Hello, the error message is what you printed from config and $du was not set. If you want to troubleshoot better, set debug=3 in kamailio.cfg and watch the log messages -- there will be plenty of them and you should get a better idea of what happens there. Cheers, Daniel On 21/10/14 14:29, aft

[SR-Users] NATMANAGE quirks

2014-10-21 Thread aft
Hi, I'm trying to re packet rtp streams based on Destination IP. I've implemented it like below : route[NATMANAGE] { #!ifdef WITH_NAT if (is_request()) { if(has_totag()) { if(check_route_param("nat=yes")) { setbflag(F