[Serusers] LINUX gateway with RTP Proxy & STUN Server

Pablo Murillo ser at rednet.com.ar
Wed Dec 3 17:30:06 CET 2003


I'm answering to myself :)

> Now the question:
> 
> What I need to get a "clear" connection to SER with public IP from my
> Intranet ?

With rtpproxy & NAT, X-Ten works better

I added to make things simple & for test:
-----------------
if (method=="INVITE") {
    force_rtp_proxy(); 
    t_on_reply("1"); 
}

/* NAT */
onreply_route[1] { 
  if (status=~"[12][0-9][0-9]") 
    force_rtp_proxy(); 
} 
-----------------
This solved audio problem placing call from intranet, BUT:
- it doesn't recognize hang-up
- I can't pleace calls from ATA with it's own IP to x-ten in the intranet

what am I forgetting ?

Thanks
Pablo Murillo




More information about the sr-users mailing list