<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">SOLVED.<div><br></div><div>Solution: </div><div><span class="emphasis" style="text-align: justify; background-color: rgb(255, 255, 255); font-family: Helvetica, Arial;"><em><br></em></span></div><div><span class="emphasis" style="text-align: justify; background-color: rgb(255, 255, 255); font-family: Helvetica, Arial;"><em>r</em></span><span style="text-align: justify; background-color: rgb(255, 255, 255); font-family: Helvetica, Arial;"> </span><span style="text-align: justify; background-color: rgb(255, 255, 255); font-family: Helvetica, Arial;">- flags that IP address in SDP should be trusted. Without this flag, rtpproxy ignores address in the SDP and uses source address of the SIP message as media address which is passed to the RTP proxy.</span></div><div><div><br></div></div><div>Anton</div><div><br><div><div>On 13 Jun 2014, at 21:44, <a href="mailto:tonchek@mac.com">tonchek@mac.com</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">HI to ALL!<br><br>As I understand the logic of rpproxy_manage work, it uses packet source IP and port number from m= field of SDP as socket for rtpproxy process.<br>So, we can see it in SIP and  rtpproxy debug messages:<br><br>IP 77.94.133.231.5060 > 77.94.133.232.5060: UDP, length 1170<br><br>[...headers stripped...]<br><br>v=0<br>o=root 1523540081 1523540081 IN IP4 188.40.66.75<br>s=Asterisk PBX 1.6.1.20<br>c=IN IP4 188.40.66.75<br>t=0 0<br>m=audio 15260 RTP/AVP 8 0 101<br><br>[...sdp stripped...]<br><br>Jun 13 21:38:09 puma rtpproxy[4728]: INFO:handle_command: new session on a port 57680 created, tag FppNrF9K7S8gF;1<br>Jun 13 21:38:09 puma rtpproxy[4728]: INFO:handle_command: pre-filling caller's address with 77.94.133.231:15260<br><br>where 172.22.11.16 is SIP packet source IP address and 17646 is the port number from SDP.<br><br>Is it possible to change this behavior and use IP address from incoming SDP as well as port number?<br><br>Thank you<br><br>Anton<br><br><br><br><br>_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users<br></blockquote></div><br></div></body></html>