[OpenSIPS-Users] Rewriting destination uri

Vlad Paiu vladpaiu at opensips.org
Fri Oct 14 11:19:43 CEST 2011


First of all, why does the 200 OK have in R-URI the OpenSIPS IP ?
It should have as R-URI the Contact URI in the 200 OK ? Are you dealing 
with a buggy client/proxy behind OpenSIPS or is there some other kind of 
miss-configuration ?
The solution that you are trying to achieve is not generic, because it 
would not work
in case of

UAC ---- ProxyA ---- OpenSIPS ---- ProxyB


Vlad Paiu
OpenSIPS Developer

On 10/14/2011 01:02 AM, Nauman Sulaiman wrote:
> Hi,
> We have the following set up , inbound call to UAC via Opensips
> UAC<--------- Opensips<-------------- Proxy 1
>       INVITE               INVITE
>      -------->               ----------------->
>       200OK                    200OK
>                            <------------------
>                           ACK RURI= Opensips IP
> We would like to set the $du variable after Opensips receives the
> final ACK to be IP:port of the UAC.
> When Opensips receives the 200OK from the UAC is it possible to store the received ip and port somewhere so we can rewrite the $du when we receive the ACK.How to do this? Then how to rewrite the $du
> Currently the ACK is not routed back to the UAC as the RURI of the ACK has Opensips address.
> Regards
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

More information about the Users mailing list