thanks Marius zbihlei, I have got the ip that i need. sincerely.
> Date: Tue, 31 Aug 2010 11:43:45 +0300 > From: marius.zbih...@1and1.ro > To: betergr...@live.com > CC: sr-users@lists.sip-router.org > Subject: Re: [SR-Users] help to get ip from contact header in INVITE sip > message. > > peter_green lion wrote: > > hi all, > > please help me to get ip add from Contact header in INVITE message. > > i see that : > > > > ct =<sip:1...@192.168.1.10:63027;rinstance=85f97591c218086a> > > > > have the ip or domain ("192.168.1.10"). > > so please suggest to get this ip. > > thanks so much. > > beter green > Hello > > Check the uri trnasformation > http://kamailio.org/dokuwiki/doku.php/transformations:1.5.x#uri_transformations > > > > something lile $(ct{uri.host}) should do the trick. > > Cheers > > Marius
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users