[OpenSIPS-Users] Nathelper / rtpproxy , problem with trusted IP
Laurent Schweizer
laurent.schweizer at peoplefone.com
Wed Feb 2 20:11:14 CET 2011
for this case, it was started with the trusted flag just I have changed the
source.
Laurent
-----Message d'origine-----
De : Ovidiu Sas [mailto:osas at voipembedded.com]
Envoyé : mercredi 2 février 2011 18:45
À : OpenSIPS users mailling list
Objet : Re: [OpenSIPS-Users] Nathelper / rtpproxy , problem with trusted IP
How did you started the session? Maybe you should start the session
from the beginning in "trusted" mode.
Regards,
Ovidiu Sas
On Wed, Feb 2, 2011 at 11:26 AM, Laurent Schweizer
<laurent.schweizer at peoplefone.com> wrote:
> 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
>
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list