Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
RTP NAT
Author Message
whimmy
Brekeke Newbie


Joined: 09 Mar 2008
Posts: 1

PostPosted: Sun Mar 09, 2008 9:13 pm    Post subject: RTP NAT Reply with quote

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/networkpatterns.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
Back to top
View user's profile
Mohney
Brekeke Talented


Joined: 20 Nov 2007
Posts: 79

PostPosted: Thu Mar 13, 2008 10:34 am    Post subject: Reply with quote

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

Like this..
Matching Patterns
$request = ^INVITE
Deploy Patterns
$rtp = off
$continue = true
Back to top
View user's profile
apus29
Brekeke Member


Joined: 03 Dec 2007
Posts: 13
Location: Dhaka, Bangladesh

PostPosted: Sun Apr 06, 2008 12:27 am    Post subject: Reply with quote

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
Back to top
View user's profile Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1