Hi, Richard.
Seems with your latest patch rtpengine enable/disable commands work correctly without any issues.
Tested on kamailio 4.4.5 on RHEL 7 x86_64
Thank you. -- Best regards, Sergey Basov e-mail: sergey.v.basov@gmail.com
tel: (+38067) 403-62-54
2017-02-06 17:50 GMT+02:00 Richard Fuchs rfuchs@sipwise.com:
On 02/06/2017 03:30 AM, Sergey Basov wrote:
Hi, All.
May be it helps.
After patch
https://github.com/kamailio/kamailio/commit/8ca410cba540e8c8b0f711fb26c85823...
when running kamailio with debug level=3 when I do disable rtpengine I got in log: Feb 6 10:24:27 csbc-uat /usr/sbin/kamailio[10062]: DEBUG: mi_fifo [mi_parser.c:245]: mi_parse_tree(): adding node <> ; val udp:10.1.23.19:2223 Feb 6 10:24:27 csbc-uat /usr/sbin/kamailio[10062]: DEBUG: mi_fifo [mi_parser.c:245]: mi_parse_tree(): adding node <> ; val <0> Feb 6 10:24:27 csbc-uat /usr/sbin/kamailio[10062]: DEBUG: mi_fifo [mi_parser.c:84]: mi_parse_node(): end of fifo input tree Feb 6 10:24:27 csbc-uat /usr/sbin/kamailio[10062]: DEBUG: mi_fifo [fifo_fnc.c:515]: mi_fifo_server(): done parsing the mi tree
And it disables correctly.
when I do enable of rtpengine I got: Feb 6 10:24:30 csbc-uat /usr/sbin/kamailio[10062]: DEBUG: mi_fifo [mi_parser.c:245]: mi_parse_tree(): adding node <> ; val udp:10.1.23.19:2223 Feb 6 10:24:30 csbc-uat /usr/sbin/kamailio[10062]: DEBUG: mi_fifo [mi_parser.c:245]: mi_parse_tree(): adding node <> ; val <1> Feb 6 10:24:30 csbc-uat /usr/sbin/kamailio[10062]: DEBUG: mi_fifo [mi_parser.c:84]: mi_parse_node(): end of fifo input tree Feb 6 10:24:30 csbc-uat /usr/sbin/kamailio[10062]: DEBUG: mi_fifo [fifo_fnc.c:515]: mi_fifo_server(): done parsing the mi tree
And command 'kamctl fifo nh_enable_rtpp udp:10.1.23.19:2223 1' freezing, no kamailio crash, but I cannot wxecute any command with kamctl...
If you need some more information or test - let me know.
Thanks for the detailed report. I've updated the commit, please try again with https://github.com/kamailio/kamailio/commit/e78e9cd31e1cec79b936452a719dfca1...
Cheers
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