[OpenSER-Users] Mediaproxy not working

Iñaki Baz Castillo ibc at aliax.net
Sat Feb 9 16:34:15 CET 2008


El Sábado, 9 de Febrero de 2008, Andy Smith escribió:

> This is from my syslog, includes info written during mediaproxy startup and
> a test call:

Your logs are not OK. They are missed the "lookup" part. I think you haven't 
enabled. You must do:



 if (is_method="INVITE") {
     t_on_reply(1);
     t_on_failure(1);
     use_media_proxy();
     $rd="gateway_IP";
     t_relay();
     exit;
  }

onreply_route[1] {
  if (status =~ "(180)|(183)|2[0-9][0-9]") {
		use_media_proxy();
	}
}

failure_route[1] {
	end_media_session();
}


I think you have not configured the "onreply_route" so SDP is not modified in 
180/183/200 reply, so MediaProxy doesn't work at all.


-- 
Iñaki Baz Castillo




More information about the Users mailing list