OpenSIPs Dev Tips: answer a call and play audio with OpenSIPs and rtpengine
Here is a small snippet, showing how to answer a call and play audio from your opensips config using the opensips b2b_entities module.
if (is_method("INVITE") && !has_totag()) {
xlog("[$fU $tU $ci $rm] initiating ua_session_server_init\n");
...
brandonsbytes.hashnode.dev1 min read