[OpenSIPS-Users] rtpengine_delete not returning immediately

John Quick john.quick at smartvox.co.uk
Tue Oct 27 19:03:13 EST 2020


Using OpenSIPS v2.4.8 and the latest release of rtpengine. The same was also
happening with some older releases. I upgraded to see if it would help.

When OpenSIPS receives BYE, the script calls rtpengine_delete() but I can
see from xlog messages before and after the call that the function is taking
up to 5 seconds to return.
This is also reflected in the logs on the server where rtpengine is hosted:

Oct 27 18:06:12 vps684757 rtpengine: INFO: [d2s4qf6thm2tmtg40khg]: Received
command 'delete' from 83.120.14.234:56677
Oct 27 18:06:12 vps684757 rtpengine: INFO: [d2s4qf6thm2tmtg40khg]:
Scheduling deletion of call branch '5cclfhu59e' (via-branch '') in 12
seconds
Oct 27 18:06:12 vps684757 rtpengine: INFO: [d2s4qf6thm2tmtg40khg]: Replying
to 'delete' from 83.120.14.234:56677 (elapsed time 0.000192 sec)
Oct 27 18:06:13 vps684757 rtpengine: INFO: Detected command from
83.120.14.234:56677 as a duplicate
Oct 27 18:06:14 vps684757 rtpengine: INFO: Detected command from
83.120.14.234:56677 as a duplicate
Oct 27 18:06:15 vps684757 rtpengine: INFO: Detected command from
83.120.14.234:56677 as a duplicate

It looks as if OpenSIPS is failing to detect/recognise the reply from
rtpengine. This only happens for the delete command - I have no problem with
offer and answer.

I do not generally see any error messages in the opensips logs, but once it
did report timeout waiting for a response from rtpengine.

John Quick
Smartvox Limited
Web: www.smartvox.co.uk





More information about the Users mailing list