Hi
How can I do it in such a way maultiple phones behind a single NAT gateway can call each other using rtpproxy and if these phone calls the PSTN it will not use rtpproxy, i tried removing the if (isflagset(6)) route(1); on the these part
if ((uri=~"^(sip:)?00[0-9]*@([a-z]+.)?mydomain.com") || (uri=~"^(sip:)?00[0-9]*@1.2.3.4")) {
but can't hear anything on the phones, but if i put if (isflagset(6)) route(1) back it will work. How can I do this? Thank You
Regards, Nhadie
________________________________________________ Message sent using UebiMiau 2.7
Hi Nhadie, You want to proxy calls to a PSTN GW if you are calling from behind a symmetric NAT unless the GW supports active media. Using active media, it will wait until contacted from the UA and then use the same RTP port for return RTP. Use fix_nated_sdp("3"). It will change SDP IP address (but not port) and add direction=active to SDP. If not using active media, there is no way to get the RTP across the symmetric NAT. If you are behind other types of NAT, you can use STUN, but active media is also fine. g-)
Nhadie wrote:
Hi
How can I do it in such a way maultiple phones behind a single NAT gateway can call each other using rtpproxy and if these phone calls the PSTN it will not use rtpproxy, i tried removing the if (isflagset(6)) route(1); on the these part
if ((uri=~"^(sip:)?00[0-9]*@([a-z]+.)?mydomain.com") || (uri=~"^(sip:)?00[0-9]*@1.2.3.4")) {
but can't hear anything on the phones, but if i put if (isflagset(6)) route(1) back it will work. How can I do this? Thank You
Regards, Nhadie
Message sent using UebiMiau 2.7
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers