<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>rtpproxy and connection information field</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hi all,<BR>
<BR>
I'm using rtpproxy 1.2.1 and kamailio. RTPproxy is working fine in almost every case. However I have a problem with some call.<BR>
<BR>
When softphone A using sip2sip.info account calls softphone B using my Kamailio server account, the Kamilio receives SIP packets from IP1 (81.23.228.129). The invite packet has IP2 (81.23.228.150) in the conecction information field (c=IN IP4 81.23.228.150):<BR>
<BR>
<BR>
INVITE sip:12345@xxxxxxxx.xxx;transport=udp SIP/2.0<BR>
Record-Route: &lt;sip:81.23.228.129;lr;ftag=d9e99adf;did=e81.3538c317&gt;<BR>
Via: SIP/2.0/UDP 81.23.228.129;branch=z9hG4bKd14b.12802794.0<BR>
Via: SIP/2.0/UDP 192.168.xx.xx:7964;received=88.xx.xx.xx;branch=z9hG4bK-d8754z-8ba1b4b47e37bb89-1---d8754z-;rport=7964<BR>
Max-Forwards: 69<BR>
Contact: &lt;sip:54321@88.xxx.xxx.xxx:7964;transport=udp&gt;<BR>
To: &quot;2205&quot;&lt;sip:12345@xxxxxxxx.xxx&gt;<BR>
From: &quot;R sip2sip&quot;&lt;sip:54321@sip2sip.info&gt;;tag=d9e99adf<BR>
Call-ID: OGE5MTFiMzljZjE0NTYxN2M0N2VkZjgzNDRhMzE2ZTA.<BR>
CSeq: 2 INVITE<BR>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO<BR>
Content-Type: application/sdp<BR>
Supported: replaces<BR>
User-Agent:xxxxxxxxxxxxxxxxxxxxxxxxx<BR>
Content-Length: 279<BR>
<BR>
v=0<BR>
o=- 12943454020854250 1 IN IP4 192.168.xxx.xx<BR>
s=xxxxxxxxxxxxxxxxxxxx<BR>
c=IN IP4 81.23.228.150<BR>
t=0 0<BR>
m=audio 52854 RTP/AVP 107 0 8 18 101<BR>
a=rtpmap:107 BV32/16000<BR>
a=rtpmap:18 G729/8000<BR>
a=fmtp:18 annexb=yes<BR>
a=rtpmap:101 telephone-event/8000<BR>
a=fmtp:101 0-15<BR>
a=sendrecv<BR>
<BR>
<BR>
Then Kamilio translates &quot;c=&quot; IP address to my RTPproxy IPaddress and sends the INVITE to softphone B. After the OK softphone B&nbsp; sends RTP packets to the RTPproxy as specified in the &quot;c=&quot; field, however the RTPproxy sends RTP packets to IP1 instead of send packets to IP2. How can I tell the RTPproxy to send packets to IP2 (the one in the c= field?)<BR>
<BR>
<BR>
Thanks,<BR>
Ricardo Dominguez</FONT>
</P>

</BODY>
</HTML>