[OpenSIPS-Users] Upgrade from openser 1.3 to opensips 1.6

Andrew O. Zhukov gnugk at telegroup.com.ua
Mon Mar 14 13:18:19 CET 2011


Hi Andrew,

 >In
 >http://www.opensips.org/html/docs/modules/1.6.x>
 >nathelper.html#id293486  ?
 >
 >onreply_route[2]
 >{
 >...
 >    if (has_sdp())
 >        rtpproxy_offer();
 >...
 >}
 >
 >
 >Why is the rtpproxy_offer() dead code ?

       if (has_sdp()) {
	...
	} else {
/* IF NO SDP              */
             t_on_reply("2");
....

onreply_route[2]
{
...
/*HERE IS THE PACKET WITHOUT SDP. Always !!!*/
     if (has_sdp())
         rtpproxy_offer();






More information about the Users mailing list