<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>> Date: Tue, 31 Aug 2010 11:43:45 +0300<br>> From: marius.zbihlei@1and1.ro<br>> To: betergreen@live.com<br>> CC: sr-users@lists.sip-router.org<br>> Subject: Re: [SR-Users] help to get ip from contact header in INVITE sip message.<br>> <br>> peter_green lion wrote:<br>> > hi all,<br>> > please help me to get ip add from Contact header in INVITE message.<br>> > i see that :<br>> ><br>> > ct =<sip:101@192.168.1.10:63027;rinstance=85f97591c218086a><br>> ><br>> > have the ip or domain ("192.168.1.10").<br>> > so please suggest to get this ip.<br>> > thanks so much.<br>> > beter green<br>> Hello<br>> <br>> Check the uri trnasformation <br>> http://kamailio.org/dokuwiki/doku.php/transformations:1.5.x#uri_transformations <br>> <br>> <br>> something lile $(ct{uri.host}) should do the trick.<br>> <br>> Cheers<br>> <br>> Marius<br>                                            </body>
</html>