Hi

when I try to remove these extra SDP line I insert the following code to the script:
in INTERNAL_REPLY onreply_route

if($T_reply_code=="200")
        {    
         if(has_body("application/sdp"))
            {
                xlog("L_INFO", "RTPENGINE received internal reply $T_reply_code $rr SDP extra lines will be removed");
       
       set_rtpengine_set("0");
       rtpengine_manage();
       
                replace_body_all("a=rtcp.*\r?\n","");
                replace_body_all("a=ssrc.*\r?\n","");
                replace_body_all("a=ice.*\r?\n","");
                replace_body_all("a=candidate.*\r?\n","");
                xlog("L_INFO", "RTPENGINE received internal reply $T_reply_code $rr SDP extra lines removed");
            
            }
        
}

This code does not work as expected. SDP lines are not removed.

does  this approach is correct or should it be done some other way?




On Friday, June 10, 2016 1:31 PM, Dmitry <mbike2000ru@yahoo.com> wrote:


When I make internal call between 2 internal subscribers (yate softphones). The subscriber B answeres, after all the Kamailio/rtpengine sends a 200ok  reply to the subscriber A,

but the softphone does not recognize it (it does not ACK it). I think it is because of its SDP which the RTPENGINE replaced with it's one.


is it possible to instruct the RTPENGINE not to insert these extra lines  or should I use, say LUA, to remove these extra SDP lines.


What is the correct  way here


On Saturday, May 7, 2016 11:36 PM, Dmitry <mbike2000ru@yahoo.com> wrote:


[SR-Users] question about RTPengine


Does it mean that rtpengine_manage() determine the session state itself? i.e it is not needed to find out in the configuration file that INVITE contains SDP or not because rtpengine_manage() determins internally what this INVITE is? am I correct?


On Friday, May 6, 2016 5:52 PM, Alex Balashov <abalashov@evaristesys.com> wrote:


‎It's just a description of stateful behaviour in relation to the SDP offer-answer cycle.

--
Alex Balashov | Principal | Evariste Systems LLC
1447 Peachtree Street NE, Suite 700
Atlanta, GA 30309
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

Sent from my BlackBerry.
  Original Message  
From: Dmitry
Sent: Friday, May 6, 2016 07:43
To: sr-users@lists.sip-router.org

Reply To: Dmitry
Subject: [SR-Users] question about RTPengine


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users