RTP NAT

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
whimmy
Posts: 1
Joined: Sun Mar 09, 2008 7:33 pm

RTP NAT

Post by whimmy »

1. Brekeke Product Name and version:
Ondo SIP 2.1.6.6
2. Java version:
1.5
3. OS type and the version:
XP SP2
4. UA (phone), gateway or other hardware/software involved:
resiprocate
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
6. Your problem:
UAC(192.168..)----- NAT(202.113.1.2)------Ondo SIP server(202.113.1.3)------NAT(202.113.1.2)-----UAS(192.168..)
I change the SIP Uri and sdp contents(i have got my out-of-NAT-ip-port),so the uac and uas can reg and invite each other.but the ondo sip server automatically modify my sdp contents.

for example
uac send sdp"IP4 202.113.1.2,m=video 22222 RTP/AVP 99" to server,and server chang the ip and port , then send sdp "IP4 202.113.1.3,m=video 10000 RTP/AVP 99" to uas.
...
uas send sdp"IP4 202.113.1.3,m=video 10002 RTP/AVP 99" to uac


so uac can send video to server,port 10002,and server transmit it through port 10000, uas can receive it.

the PROBLEM is, when uas send video to 10000,server also transmit it via port 10000, so uas catch both uac and uas ' video.


sorry for my poor english
thank you
whimmy
Mohney
Posts: 79
Joined: Tue Nov 20, 2007 12:05 pm

Post by Mohney »

Use "$rtp=off" in the Deploy Pattern.

Like this..
------------
[Matching Patterns]
$request = ^INVITE

[Deploy Patterns]
$rtp = off
$continue = true
------------
apus29
Posts: 13
Joined: Mon Dec 03, 2007 5:20 am
Location: Dhaka, Bangladesh
Contact:

Post by apus29 »

Server change the port and ip to tell uac that it is listening on that port of the ip address. and u can send packet to that port of that ip address.

see this link hope this may be help to understand.

http://www.brekeke-sip.com/bbs/viewtopic.php?t=5981
opu
Post Reply