<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br>thanks Marius zbihlei,<br>I have got the ip that i need.<br>sincerely.<br><br>&gt; Date: Tue, 31 Aug 2010 11:43:45 +0300<br>&gt; From: marius.zbihlei@1and1.ro<br>&gt; To: betergreen@live.com<br>&gt; CC: sr-users@lists.sip-router.org<br>&gt; Subject: Re: [SR-Users] help to get ip from contact header in INVITE sip message.<br>&gt; <br>&gt; peter_green lion wrote:<br>&gt; &gt; hi all,<br>&gt; &gt; please help me to get ip add from Contact header in INVITE message.<br>&gt; &gt; i see that :<br>&gt; &gt;<br>&gt; &gt; ct =&lt;sip:101@192.168.1.10:63027;rinstance=85f97591c218086a&gt;<br>&gt; &gt;<br>&gt; &gt; have the ip or domain ("192.168.1.10").<br>&gt; &gt; so please suggest to get this ip.<br>&gt; &gt; thanks so much.<br>&gt; &gt; beter green<br>&gt; Hello<br>&gt; <br>&gt; Check the uri trnasformation <br>&gt; http://kamailio.org/dokuwiki/doku.php/transformations:1.5.x#uri_transformations <br>&gt; <br>&gt; <br>&gt; something lile $(ct{uri.host}) should do the trick.<br>&gt; <br>&gt; Cheers<br>&gt; <br>&gt; Marius<br>                                               </body>
</html>