[SR-Users] RTP proxy

Klaus Darilion klaus.mailinglists at pernau.at
Tue Jun 14 12:31:30 CEST 2011


Are you sure that force_rtp_proxy is not called?


Instead of
> if (nat_uac_test("8")) {
>                     *    force_rtp_proxy();*
>                 } else {
>                         force_rtp_proxy();
>                 }

try:

xlog("L_ERR","route(4): method = $rm");
if (is_method("BYE|CANCEL")) {
  xlog("L_ERR","route(4): cancel or bye -> unforce_rtp_proxy ...");
  unforce_rtp_proxy();
  xlog("L_ERR","route(4): cancel or bye -> unforce_rtp_proxy ... done");
} else if (is_method("INVITE")){
  xlog("L_ERR","route(4): INVITE -> force_rtp_proxy ...");
  force_rtp_proxy();
  xlog("L_ERR","route(4): INVITE -> force_rtp_proxy ...");
}

also you can try to increase debug level and make sure that rtp proxy is
running.

You can alos change rtpproxy to listen on a UDP socket and reconfigure
kamailio to connect to rtpproxy via UDP transport - then you can watch
communication between kamailio and rtpproxy using a packet sniffer on
the loopback interface.

regards
klaus



More information about the sr-users mailing list