[Kamailio-Users] Stateless forward

Antonio Reale ant.reale at gmail.com
Tue Feb 9 11:07:20 CET 2010


2010/2/9 Daniel-Constantin Mierla <miconda at gmail.com>:
> Hello,

Hi Daniel,
thanks for reply.

> This one should work:
>
> route {
>        rewritehost("192.168.10.1");
>        forward();
> }
>

Already tried that, but it doesn't work:
route {
        rewritehost("192.168.10.1");
        forward();
 }

result in:
"bad forward argument".

> If you don't want to change the r-uri:
>
> $du = "sip:192.168.10.1:5060";
> forward();

Thanks for the suggestion, in this way it is more transparent...

> The forward in 3.0 has a slightly different parameters format than 1.5.x.
> Docs should be updated and I will try to add backward compatibility
> alternative.
>
> Cheers,
> Daniel

Regards.

-- 
Antonio




More information about the sr-users mailing list