[SR-Users] help to get ip from contact header in INVITE sip message.

peter_green lion betergreen at live.com
Tue Aug 31 17:54:00 CEST 2010



thanks Marius zbihlei,
I have got the ip that i need.
sincerely.

> Date: Tue, 31 Aug 2010 11:43:45 +0300
> From: marius.zbihlei at 1and1.ro
> To: betergreen at live.com
> CC: sr-users at 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:101 at 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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100831/0ca3c399/attachment.htm>


More information about the sr-users mailing list