[Kamailio-Users] How to change request uri with Header value?

LetMeKnow sunkara.raviprakash.feb14 at gmail.com
Thu Feb 26 08:25:19 CET 2009


Hi, Ramu Garu,

You have use avpops module and use pseudo variables,
http://kamailio.org/dokuwiki/doku.php/pseudovariables:1.4.x




Thanks &Regards
Ravi Prakash Sunkara
VoIP Architect & JAVA-SIP Developer
+91-9999882776


2009/2/26 Ramu <contactramu at gmail.com>

> Hi All,
>
> I have situation where I need to change the request uri with To header
> value.
>
> Scenario:
>
> OpenServ will receive INVITE as follows
> INVITE sip:2000 at open-ser-ip SIP/2.0.
> To: "2000"<sip:2000 at sip.mydomain.com <sip%3A2000 at sip.mydomain.com>>.
>
> Now I would like to change the request uri as follows:
> INVITE sip:2000 at sip.mydomain.com <sip%3A2000 at sip.mydomain.com> SIP/2.0.
> To: "2000"<sip:2000 at sip.mydomain.com <sip%3A2000 at sip.mydomain.com>>.
>
> and will do a lookup location.
>
> Ramu
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090226/dd8cbb1a/attachment.htm>


More information about the sr-users mailing list