[OpenSIPS-Devel] support missing for flag loop-protect in module rtpengine

Ravindrakumar Bhatt ravindra.bhatt at ecosmob.com
Tue Oct 2 09:32:00 EDT 2018


Hi,
i was having issue regarding rtpengien packet droping due to call looping
and foudn that new version of rtpengine had added flag loop-protect  for
handling rewriting of sdp twice.
Also in opensips's rtpemgine module file loop-protect flag details are
given but when used this flag in config file i got below given error.

Oct  2 13:13:14 195 /usr/local/sbin/opensips[179696]:
ERROR:rtpengine:parse_flags: error processing flag `loop-protect': unknown
flag

so to solve this issue i have made one change in module rtpengine file
rtpengine.c
DIFF
1135,1136d1134
<                 }else if (str_eq(&key, "loop-protect")){
<                     bencode_list_add_string(ng_flags->flags,
"loop-protect");

I have tested this in opensips version 2.2 and same is not given in latest
version 2.4.
so i suggest to add support of this flag in opensips. i hope i was helpful.
-- 

*Thanks and Regards,*

*Ravindrakumar Bhatt*
Jr. Software Developer
Ecosmob Technologies Ltd
Ahmedabad
Mo:*+918460692402*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20181002/8dfa4399/attachment.html>


More information about the Devel mailing list