[OpenSIPS-Users] Nathelper / rtpproxy , problem with trusted IP

Laurent Schweizer laurent.schweizer at peoplefone.com
Wed Feb 2 17:26:23 CET 2011


Hello all,

 

Small problem with rtpproxy and nathelper

 

as you can see in the log bellow , I use the force_rtp_proxy method  with
the 'r' flag to indicate to trust the IP of the SDP.

 

In the example bellow, the trusted IP is "95.128.80.6 3966" , the problem is
that the old rtp source (in this case a MoH server) continue to send 1 or 2
packet so the RTP proxy change them with "95.128.80.92:1086" so packet are
not correctly forwarded.

 

If the IP must be trusted why he take care of a received Packet ?  

 

I use the rtpproxy 1.2.1.

 

Regards

 

Laurent

 

Feb  2 16:58:42 dns2 kamailio-1.5.4-notls/kamailio[31518]:  route 5 | INVITE
has SDP | we trust the IP in SDP

Feb  2 16:58:42 dns2 kamailio-1.5.4-notls/kamailio[31518]:  route 5 |
force_rtp_proxy ocrf

Feb  2 16:58:42 dns2 rtpproxy[8101]: DBUG:handle_command: received command
"31518_84 Uc0,101 408970232 95.128.80.6 3966 16e48326;1 2107358281;1"

Feb  2 16:58:42 dns2 rtpproxy[8101]: INFO:handle_command: adding strong flag
to existing session, new=1/0/0

Feb  2 16:58:42 dns2 rtpproxy[8101]: INFO:handle_command: lookup on ports
3162/3820, session timer restarted

Feb  2 16:58:42 dns2 rtpproxy[8101]: INFO:handle_command: update

Feb  2 16:58:42 dns2 rtpproxy[8101]: INFO:handle_command:   Unless the
address provided by client historically

Feb  2 16:58:42 dns2 rtpproxy[8101]: INFO:handle_command: pre-filling
callee's address with 95.128.80.6:3966

Feb  2 16:58:42 dns2 rtpproxy[8101]: DBUG:doreply: sending reply "31518_84
3820 95.128.80.6 "

Feb  2 16:58:42 dns2 rtpproxy[8101]: INFO:rxmit_packets: callee's address
filled in: 95.128.80.92:1086 (RTP)

Feb  2 16:58:42 dns2 rtpproxy[8101]: INFO:rxmit_packets: guessing RTCP port
for callee to be 1087

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110202/65a1df0c/attachment-0001.htm>


More information about the Users mailing list