SDP problem?

"Janos Haber" <[email protected]> Sun, 18 Mar 2007 13:37:19 +0100
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Hi!

I created 2 connection from my local machine, I'm behind a firewall but
5060-5160 is mapped out. My local address is 192.168.0.79 my public ip is
217.20.137.209.
I attached a log details to the mail.
My problem, the connections is up, but no data received to my data port...
(The called client's is running on my machine).
What's wrong? I miss something? I use the java NIO api for UDP package
receive but the selector not get any data...
If I the two client call each other the data communication is work...

Any idea?

Cow

_______________________________________________
nist-sip mailing list
[email protected]
http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
info.txt (text/plain, 4.8 KB)
192.168.0.79	// => My local address
Bind port:5154	// => First connection SIP port
================================>	Generated SDP header, public ip: 217.20.137.209, RTR data port: 5155, RTP command port: 5156,caller account: b0c115
v=0
o=b0c115 0 0 IN IP4 217.20.137.209
s=SIP Call
c=IN IP4 217.20.137.209
t=0 0
m=audio 5155 RTP/AVP 0
a=rtpmap:0 PCMU/8000

================================>	End of generated SDP Header
Authentication required....
Code:401
TID state:Completed Transaction
Response status code:401
================================>	Generated SDP header, public ip: 217.20.137.209, RTR data port: 5155, RTP command port: 5156
v=0
o=b0c115 0 0 IN IP4 217.20.137.209
s=SIP Call
c=IN IP4 217.20.137.209
t=0 0
m=audio 5155 RTP/AVP 0
a=rtpmap:0 PCMU/8000

================================>
DEBUG, DigestClientAuthenticationMethod, generateResponse(): Trying to generate a response for the user: b0c115 , with the realm: nist.gov
DEBUG, DigestClientAuthenticationMethod, generateResponse(), userName:b0c115!
DEBUG, DigestClientAuthenticationMethod, generateResponse(), realm:nist.gov!
DEBUG, DigestClientAuthenticationMethod, generateResponse(), password:aprilis1!
DEBUG, DigestClientAuthenticationMethod, generateResponse(), uri:sip:[email protected]:5060!
DEBUG, DigestClientAuthenticationMethod, generateResponse(), nonce:772195375!
DEBUG, DigestClientAuthenticationMethod, generateResponse(), method:INVITE!
DEBUG, DigestClientAuthenticationMethod, generateResponse(), HA1:7fd0e223cc4bc9032250b8034a91baa2!
DEBUG, DigestClientAuthenticationMethod, generateResponse(), HA2:fd66253f82054eed6858341032c3a71c!
DEBUG, DigestClientAlgorithm, generateResponse(): response generated: bc23b52964e44619e9cab89fca39e451
Code:100
TID state:Proceeding Transaction
Response status code:100
Code:100
TID state:Proceeding Transaction
Response status code:100
Code:180
TID state:Proceeding Transaction
Response status code:180
Code:180
TID state:Proceeding Transaction
Response status code:180
Code:200
TID state:Terminated Transaction
Response status code:200
================================>	Response SDP header, remote ip: 194.120.0.9, RTR data port: 11292, RTP command port: 11293, caller account b0c115????
v=0
o=b0c115 1174219798 1174219798 IN IP4 194.120.0.9
s=SIP Call
c=IN IP4 194.120.0.9
t=0 0
m=audio 11292 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:20


Success
Register:/194.120.0.9:11292	//Register to UDP listener...

================================> Secondary connection.....................

Bind port:5157		// => Second connection SIP port
================================>	Generated SDP header, public ip: 217.20.137.209, RTR data port: 5158, RTP command port: 5159,caller account: b0c115
v=0
o=b0c115 0 0 IN IP4 217.20.137.209
s=SIP Call
c=IN IP4 217.20.137.209
t=0 0
m=audio 5158 RTP/AVP 0
a=rtpmap:0 PCMU/8000

================================>
//Authenticate second connection
Code:401
TID state:Completed Transaction
Response status code:401
================================>	Generated SDP header, public ip: 217.20.137.209, RTR data port: 5158, RTP command port: 5159,caller account: b0c115
v=0
o=b0c115 0 0 IN IP4 217.20.137.209
s=SIP Call
c=IN IP4 217.20.137.209
t=0 0
m=audio 5158 RTP/AVP 0
a=rtpmap:0 PCMU/8000

================================>
DEBUG, DigestClientAuthenticationMethod, generateResponse(): Trying to generate a response for the user: b0c115 , with the realm: nist.gov
DEBUG, DigestClientAuthenticationMethod, generateResponse(), userName:b0c115!
DEBUG, DigestClientAuthenticationMethod, generateResponse(), realm:nist.gov!
DEBUG, DigestClientAuthenticationMethod, generateResponse(), password:aprilis1!
DEBUG, DigestClientAuthenticationMethod, generateResponse(), uri:sip:[email protected]:5060!
DEBUG, DigestClientAuthenticationMethod, generateResponse(), nonce:772200454!
DEBUG, DigestClientAuthenticationMethod, generateResponse(), method:INVITE!
DEBUG, DigestClientAuthenticationMethod, generateResponse(), HA1:7fd0e223cc4bc9032250b8034a91baa2!
DEBUG, DigestClientAuthenticationMethod, generateResponse(), HA2:b9fa7254bd29f16c19fa3d2a29c95897!
DEBUG, DigestClientAlgorithm, generateResponse(): response generated: 3b7d3c84870f07ba6d4c19bc058f9c4d
Transaction terminated
Code:100
TID state:Proceeding Transaction
Response status code:100
Code:180
TID state:Proceeding Transaction
Response status code:180
Code:200
TID state:Terminated Transaction
Response status code:200
================================>	Response SDP header, remote ip: 194.221.62.9, RTR data port: 11433, RTP command port: 11435, caller account b0c115????
v=0
o=b0c115 1174219803 1174219803 IN IP4 194.221.62.9
s=SIP Call
c=IN IP4 194.221.62.9
t=0 0
m=audio 11433 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:20



Success
Register:/194.221.62.9:11433	// Register to UDP listener...
Transaction terminated