Hi!
apq@dcc.ufam.edu.br wrote:
I just want to pass the media through tha same machine that has ser.
I have a two softphones and a SER server at the same network.
When using mediaproxy without NAT-handling, try something like this:
route { # ... if(method=="INVITE") { use_media_proxy(); t_on_reply("1"); } else if(method=="BYE" || method=="CANCEL") { end_media_session(); } t_relay(); }
onreply_route[1] { if(status =~ "(180)|(183)|(2[0-9][0-9])" && is_present_hf("Content-Type")) { use_media_proxy(); } }