Dear all I have a opensips/mediaproxy,run a basic script. Opensips/mediaproxy using public IP address, client behind NAT ( maybe Cisco PIX. i do not control the NAT box)
Everything works fine if i force opensips not listen on 5060, and clients mus not listen on port 5060 UDP. If one client listen on port 5060, something wrong happens. The NAT box do some very nasty things. With fix_nated_contact and fix_contact, fix_nated_register, i can manage to place a call OK. But I can not fix call tear down request. Here's a sip log when 02 client behind the same NAT box tried to call ok, then client_13 tried to tear down the call to client_12 UDP, client_13_WAN_IP:port -> opensipPublicIP:5080 BYE sip:opensipsIP:5080;ftag=59fbbd9a;lr=on;did=f12.8b280607 SIP/2.0..Via: SIP/2.0/UDP 10.0.0.115:5060;rport;branch=z9hG4bKde05e887e5.. From: <sip:1...@opensipsip:5080>;tag=0c46ffef.. To: 12" <sip:1...@opensipsip:5080>;tag=59fbbd9a..Call-ID: [email protected].. Route: <sip:[email protected]:5060>.. Contact:<sip:[email protected]:5060>.. CSeq: 801 BYE.. Max-Forwards: 70.. User-Agent: CM5K (709190).. Content-Length: 0.. And here's opensips debug message DBG:rr:after_strict: Next hop: 'sip:[email protected]:5060' is strict router And then opensips send BYE message to 10.0.0.96:5060, not to WANIP:Port of the destination client. Ofcourse the destination cound not receive BYE message, call tear down failed. I tried to remove_hf, subst_uri, replace... the BYE message just after it enter routing script, but nothing works. Please suggest me one way to get rid of this NAT box. Or the only solution is change both ports on opensips and clients? Regards
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
