kamailio rtpengine media timeout TIPs

  1. timeout will be raised only if both sides of rtp is silent
  2. you have to enable tcp at kamailio config (disable_tcp=no)
  3. you must have in kamailio cfg: listen=tcp:, loadmodule “xmlrpc.so”, and additional params:
loadmodule "xmlrpc.so"
modparam("xmlrpc", "route", "XMLRPCS")
modparam("xmlrpc", "url_skip", "^/sip")
modparam("xmlrpc", "url_match", "^/RPC2")

4. you have to add route XMLRPC:

route[XMLRPCS] {
  xlog("L_ALERT","RPC recieved");

5. config rtpengine should have:

 b2b-url =
 xmlrpc-format = 2

6. after restart kamailio and rtpengine you may to check you may do command from command line:


output should be like that:

<?xml version="1.0"?>
<value><string>Invalid XML-RPC Document</string></value>

Tags: , , , ,
| 28/09/2021 | Posted in kamailio, rtpengine |

Leave a Reply