[OpenSIPS-Users] rtpproxy sends rtp from caller to callee before 200OK

Marco Hierl marco.hierl at mrnetgroup.com
Thu Jan 22 11:09:36 CET 2015


Hi Nick,

I reduced my config file to a minimum and made the easiest call flow:

A  --- >     INVITE      --- > B
A < --- REPLY 183 with SDP  < --- B
A ==== bothway speech ==== B

I’m using rtpproxy_offer in the main route, rtpproxy_answer in the onreply_route.  Below you can see the config file plus logs.

I need to mention, that the RTP stream from B to A is welcome for announcements… it’s only the stream from A to B that is not ok in my eyes.

Thanks and best regards
  Marco




route{
        t_on_reply("standart");
        xlog("L_INFO","REQUEST $rm tt=$tt ci=$ci");

        if ($rm=="INVITE")      {
                $ru="sip:+4940835097791@**toIP**;user=phone";
                set_rtp_proxy_set("0");
                rtpproxy_offer("frocii");
        }
        if ($rm=="BYE")
                unforce_rtp_proxy();

        t_relay();
}
onreply_route[standart] {
        xlog("L_INFO","REPLY $rs $rr $T_ruri (for $rm) tt=$tt ci=$ci");
        if(has_body("application/sdp")) {
                set_rtp_proxy_set("0");
                rtpproxy_answer("frocii");
        }
}



Jan 22 10:44:46 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[29946]: REQUEST INVITE tt=<null> ci=NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ

Jan 22 10:44:46 sbc-dtag-hh rtpproxy[1793]: DBUG:handle_command: received command "29946_10 UIIc8,101 NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ **fromIP** 20582 c447a326;1"
Jan 22 10:44:46 sbc-dtag-hh rtpproxy[1793]: INFO:handle_command: new session NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ, tag c447a326;1 requested, type strong
Jan 22 10:44:46 sbc-dtag-hh rtpproxy[1793]: INFO:handle_command: new session on a port 20354 created, tag c447a326;1
Jan 22 10:44:46 sbc-dtag-hh rtpproxy[1793]: INFO:handle_command: pre-filling caller's address with **fromIP**:20582
Jan 22 10:44:46 sbc-dtag-hh rtpproxy[1793]: DBUG:doreply: sending reply "29946_10 20354 **myIP**#012"

Jan 22 10:44:46 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[29947]: REPLY 100 Giving a try sip:+4940835097791@**toIP**;user=phone (for INVITE) tt=<null> ci=NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ
Jan 22 10:44:47 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[29948]: REPLY 183 Ringing sip:+4940835097791@**toIP**;user=phone (for INVITE) tt=3630908687-402466 ci=NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ

Jan 22 10:44:47 sbc-dtag-hh rtpproxy[1793]: DBUG:handle_command: received command "29948_10 LIIc8,101 NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ **toIP** 20926 c447a326;1 3630908687-402466;1"
Jan 22 10:44:47 sbc-dtag-hh rtpproxy[1793]: INFO:handle_command: lookup on ports 20354/20182, session timer restarted
Jan 22 10:44:47 sbc-dtag-hh rtpproxy[1793]: INFO:handle_command: pre-filling callee's address with **toIP**:20926
Jan 22 10:44:47 sbc-dtag-hh rtpproxy[1793]: DBUG:doreply: sending reply "29948_10 20182 **myIP**#012"

Jan 22 10:44:54 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[29950]: REQUEST CANCEL tt=<null> ci=NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ
Jan 22 10:44:54 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[29951]: REPLY 487 Request Terminated sip:+4940835097791@**toIP**;user=phone (for INVITE) tt=3630908687-402466 ci=NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ
Jan 22 10:44:54 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[29953]: REQUEST ACK tt=3630908687-402466 ci=NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ



Von: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] Im Auftrag von symack
Gesendet: Mittwoch, 21. Januar 2015 17:11
An: OpenSIPS users mailling list
Betreff: Re: [OpenSIPS-Users] rtpproxy sends rtp from caller to callee before 200OK

Can you please post where you are using rtpproxy_offer/_answer?​

Nick from Toronto.
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150122/58813c7b/attachment-0001.htm>


More information about the Users mailing list