Question about ICE_demo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Perry:

 

Thasnk you again, and after i test it, 

 

It occur error as below, 

 

      udprel003DD510  Allocate error: STUN transaction has timed out (PJNATH_ESTUNTIMEDOUT)

 

The console command is


icedemo-i386-win32-vs8-debug.exe -n 192.168.8.1 -s numb.viagenie.ca -t numb.viagenie.ca -u xxxx -p xxxx

 

The ID and Password were marked.

 

If i type the wrong command?


The console log as follow and attached file is screenshot

 

M:\project\pjproject_test\pjsip-apps\bin\samples>icedemo-i386-win32-vs8-debug.ex
e -n 192.168.8.1 -s numb.viagenie.ca -t numb.viagenie.ca -u supersiekimo at yahoo.c
om -p homerun
 19:30:55.429 os_core_win32.  pjlib 1.1-trunk for win32 initialized
 19:30:55.429          pjlib  select() I/O Queue created (003D58F4)

+----------------------------------------------------------------------+
|                    M E N U                                           |
+---+------------------------------------------------------------------+
| c | create           Create the instance                             |
| d | destroy          Destroy the instance                            |
| i | init o|a         Initialize ICE session as offerer or answerer   |
| e | stop             End/stop ICE session                            |
| s | show             Display local ICE info                          |
| r | remote           Input remote ICE info                           |
| b | start            Begin ICE negotiation                           |
| x | send <compid> .. Send data to remote                             |
+---+------------------------------------------------------------------+
| h |  help            * Help! *                                       |
| q |  quit            Quit                                            |
+----------------------------------------------------------------------+
Input: c
 19:31:00.195        icedemo  Creating ICE stream transport with 1 component(s)
 19:31:00.195        icedemo  Comp 1: srflx candidate starts Binding discovery
 19:31:00.195 _stun._udp.num  Starting async DNS SRV query_job: target=_stun._ud
p.numb.viagenie.ca:3478
 19:31:00.195       resolver  Nameserver 192.168.8.1:53 state changed Active -->
 Probing
 19:31:00.195       resolver  Transmitting 45 bytes to NS 0 (192.168.8.1:53): DN
S SRV query for _stun._udp.numb.viagenie.ca
 19:31:00.195        icedemo  Comp 1: host candidate 192.168.8.245:1133 added
 19:31:00.195 udprel003DD510  TURN client session created
 19:31:00.195 udprel003DD510  Resolving _turn._udp.numb.viagenie.ca with DNS SRV

 19:31:00.195 udprel003DD510  State changed Null --> Resolving
 19:31:00.195        icedemo  TURN client state changed Null --> Resolving
 19:31:00.195 _turn._udp.num  Starting async DNS SRV query_job: target=_turn._ud
p.numb.viagenie.ca:3478
 19:31:00.195       resolver  Transmitting 45 bytes to NS 0 (192.168.8.1:53): DN
S SRV query for _turn._udp.numb.viagenie.ca
 19:31:00.195        icedemo  Comp 1: TURN relay candidate waiting for allocatio
n
 19:31:00.195        icedemo  ICE stream transport created
 19:31:00.195      icedemo.c  ICE instance successfully created

+----------------------------------------------------------------------+
|                    M E N U                                           |
+---+------------------------------------------------------------------+
| c | create           Create the instance                             |
| d | destroy          Destroy the instance                            |
| i | init o|a         Initialize ICE session as offerer or answerer   |
| e | stop             End/stop ICE session                            |
| s | show             Display local ICE info                          |
| r | remote           Input remote ICE info                           |
| b | start            Begin ICE negotiation                           |
| x | send <compid> .. Send data to remote                             |
+---+------------------------------------------------------------------+
| h |  help            * Help! *                                       |
| q |  quit            Quit                                            |
+----------------------------------------------------------------------+
Input:  19:31:02.210       resolver  Re-transmitting 45 bytes to NS 0 (192.168.8
.1:53): DNS SRV query for _stun._udp.numb.viagenie.ca
 19:31:02.210       resolver  Re-transmitting 45 bytes to NS 0 (192.168.8.1:53):
 DNS SRV query for _turn._udp.numb.viagenie.ca
 19:31:04.210       resolver  Re-transmitting 45 bytes to NS 0 (192.168.8.1:53):
 DNS SRV query for _stun._udp.numb.viagenie.ca
 19:31:04.210       resolver  Re-transmitting 45 bytes to NS 0 (192.168.8.1:53):
 DNS SRV query for _turn._udp.numb.viagenie.ca
 19:31:06.210       resolver  Re-transmitting 45 bytes to NS 0 (192.168.8.1:53):
 DNS SRV query for _stun._udp.numb.viagenie.ca
 19:31:06.210       resolver  Re-transmitting 45 bytes to NS 0 (192.168.8.1:53):
 DNS SRV query for _turn._udp.numb.viagenie.ca
 19:31:08.210       resolver  Re-transmitting 45 bytes to NS 0 (192.168.8.1:53):
 DNS SRV query for _stun._udp.numb.viagenie.ca
 19:31:08.210       resolver  Re-transmitting 45 bytes to NS 0 (192.168.8.1:53):
 DNS SRV query for _turn._udp.numb.viagenie.ca
 19:31:10.210 _stun._udp.num  DNS SRV resolution failed for _stun._udp.numb.viag
enie.ca: Operation timed out (PJ_ETIMEDOUT)
 19:31:10.210 _stun._udp.num  DNS SRV resolution failed for _stun._udp.numb.viag
enie.ca, trying resolving A record for numb.viagenie.ca
 19:31:10.210 _stun._udp.num  Starting async DNS A query_job for numb.viagenie.c
a
 19:31:10.210       resolver  Transmitting 34 bytes to NS 0 (192.168.8.1:53): DN
S A query for numb.viagenie.ca
 19:31:10.210 _turn._udp.num  DNS SRV resolution failed for _turn._udp.numb.viag
enie.ca: Operation timed out (PJ_ETIMEDOUT)
 19:31:10.210 _turn._udp.num  DNS SRV resolution failed for _turn._udp.numb.viag
enie.ca, trying resolving A record for numb.viagenie.ca
 19:31:10.210 _turn._udp.num  Starting async DNS A query_job for numb.viagenie.c
a
 19:31:10.507       resolver  Received 239 bytes DNS response from 192.168.8.1:5
3
 19:31:10.507       resolver  Nameserver 192.168.8.1:53 state changed Probing --
> Active
 19:31:10.507 _stun._udp.num  DNS A for numb.viagenie.ca: 216.146.46.59
 19:31:10.507 _stun._udp.num  Additional DNS A for numb.viagenie.ca: 216.146.46.
55
 19:31:10.507 _stun._udp.num  Server resolution complete, 1 server entry(s) foun
d
 19:31:10.507 stuntp003DAAC0  TX 40 bytes STUN message to 216.146.46.59:3478:
--- begin STUN message ---
STUN Binding request
 Hdr: length=20, magic=2112a442, tsx_id=6784482372ae3d6c00015f90
 Attributes:
  SOFTWARE: length=16, value="pjnath-1.1-trunk"
--- end of STUN message ---

 19:31:10.507 stuntsx00E013D  STUN client transaction created
 19:31:10.507 stuntsx00E013D  STUN sending message (transmit count=1)
 19:31:10.507 _turn._udp.num  DNS A for numb.viagenie.ca: 216.146.46.59
 19:31:10.507 _turn._udp.num  Additional DNS A for numb.viagenie.ca: 216.146.46.
55
 19:31:10.507 _turn._udp.num  Server resolution complete, 1 server entry(s) foun
d
 19:31:10.507 udprel003DD510  State changed Resolving --> Resolved
 19:31:10.507        icedemo  TURN client state changed Resolving --> Resolved
 19:31:10.507 udprel003DD510  Connecting to 216.146.46.59:3478
 19:31:10.507 udprel003DD510  State changed Resolved --> Allocating
 19:31:10.507        icedemo  TURN client state changed Resolved --> Allocating
 19:31:10.507 udprel003DD510  TX 48 bytes STUN message to 216.146.46.59:3478:
--- begin STUN message ---
STUN Allocate request
 Hdr: length=28, magic=2112a442, tsx_id=0000175c18be678400294823
 Attributes:
  REQUESTED-TRANSPORT: length=4, value=285212672 (0x11000000)
  SOFTWARE: length=16, value="pjnath-1.1-trunk"
--- end of STUN message ---

 19:31:10.507 stuntsx00E02BE  STUN client transaction created
 19:31:10.507 stuntsx00E02BE  STUN sending message (transmit count=1)
 19:31:10.617 stuntsx00E013D  STUN sending message (transmit count=2)
 19:31:10.617 stuntsx00E02BE  STUN sending message (transmit count=2)
 19:31:10.695     stun_msg.c  Unrecognized attribute type 0x802b
 19:31:10.695     stun_msg.c  Unrecognized attribute type 0x802c
 19:31:10.695 stuntp003DAAC0  RX 68 bytes STUN message from 216.146.46.59:3478:
--- begin STUN message ---
STUN Binding success response
 Hdr: length=48, magic=2112a442, tsx_id=6784482372ae3d6c00015f90
 Attributes:
  MAPPED-ADDRESS: length=8, IPv4 addr=220.128.79.19:1133
  XOR-MAPPED-ADDRESS: length=8, IPv4 addr=220.128.79.19:1133
  ???: length=8
  ???: length=8
--- end of STUN message ---

 19:31:10.695 stuntp003DAAC0  STUN mapped address found/changed: 220.128.79.19:1
133
 19:31:10.695        icedemo  Comp 1: Binding discovery complete, srflx address
is 220.128.79.19:1133
 19:31:10.695 udprel003DD510  RX 124 bytes STUN message from 216.146.46.59:3478:

--- begin STUN message ---
STUN Allocate error response
 Hdr: length=104, magic=2112a442, tsx_id=0000175c18be678400294823
 Attributes:
  ERROR-CODE: length=16, err_code=401, reason="Unauthorized"
  REALM: length=11, value="viagenie.ca"
  NONCE: length=40, value="flHwSQAAAAA=AufOWwE/rS0lCYeEv5aWUhiqDWI="
  MESSAGE-INTEGRITY: length=20, data=1089d0275b02a8a9d4b526e6ea777e5084dc15e6
--- end of STUN message ---

 19:31:10.695 udprel003DD510  Retrying request with new authentication
 19:31:10.695 udprel003DD510  TX 160 bytes STUN message to 216.146.46.59:3478:
--- begin STUN message ---
STUN Allocate request
 Hdr: length=140, magic=2112a442, tsx_id=0000175c4ae13d6c00294824
 Attributes:
  REQUESTED-TRANSPORT: length=4, value=285212672 (0x11000000)
  SOFTWARE: length=16, value="pjnath-1.1-trunk"
  USERNAME: length=22, value="supersiekimo at yahoo.com"
  REALM: length=11, value="viagenie.ca"
  NONCE: length=40, value="flHwSQAAAAA=AufOWwE/rS0lCYeEv5aWUhiqDWI="
  MESSAGE-INTEGRITY: length=20, data=926423888d21955a2aac6b66b7d2ffa20d7a2efd
--- end of STUN message ---

 19:31:10.726 stuntsx00E0304  STUN client transaction created
 19:31:10.726 stuntsx00E0304  STUN sending message (transmit count=1)
 19:31:10.789     stun_msg.c  Unrecognized attribute type 0x802b
 19:31:10.789     stun_msg.c  Unrecognized attribute type 0x802c
 19:31:10.789 stuntp003DAAC0  RX 68 bytes STUN message from 216.146.46.59:3478:
--- begin STUN message ---
STUN Binding success response
 Hdr: length=48, magic=2112a442, tsx_id=6784482372ae3d6c00015f90
 Attributes:
  MAPPED-ADDRESS: length=8, IPv4 addr=220.128.79.19:1133
  XOR-MAPPED-ADDRESS: length=8, IPv4 addr=220.128.79.19:1133
  ???: length=8
  ???: length=8
--- end of STUN message ---

 19:31:10.789 udprel003DD510  RX 124 bytes STUN message from 216.146.46.59:3478:

--- begin STUN message ---
STUN Allocate error response
 Hdr: length=104, magic=2112a442, tsx_id=0000175c18be678400294823
 Attributes:
  ERROR-CODE: length=16, err_code=401, reason="Unauthorized"
  REALM: length=11, value="viagenie.ca"
  NONCE: length=40, value="flHwSQAAAAA=AufOWwE/rS0lCYeEv5aWUhiqDWI="
  MESSAGE-INTEGRITY: length=20, data=1089d0275b02a8a9d4b526e6ea777e5084dc15e6
--- end of STUN message ---

 19:31:10.835 stuntsx00E0304  STUN sending message (transmit count=2)
 19:31:11.039 stuntsx00E0304  STUN sending message (transmit count=3)
 19:31:11.445 stuntsx00E0304  STUN sending message (transmit count=4)
 19:31:12.257 stuntsx00E0304  STUN sending message (transmit count=5)
 19:31:12.710 stuntsx00E013D  STUN client transaction destroyed
 19:31:12.742 stuntsx00E02BE  STUN client transaction destroyed
 19:31:13.867 stuntsx00E0304  STUN sending message (transmit count=6)
 19:31:14.195       resolver  Received 108 bytes DNS response from 192.168.8.1:5
3
 19:31:14.195       resolver  Nameserver 192.168.8.1:53 state changed Active -->
 Active
 19:31:14.195       resolver  DNS response from 192.168.8.1:53 id=1 discarded
 19:31:14.195       resolver  Received 108 bytes DNS response from 192.168.8.1:5
3
 19:31:14.195       resolver  Nameserver 192.168.8.1:53 state changed Active -->
 Active
 19:31:14.195       resolver  DNS response from 192.168.8.1:53 id=2 discarded
 19:31:17.070 stuntsx00E0304  STUN sending message (transmit count=7)
 19:31:18.679 stuntsx00E0304  STUN timeout waiting for response
 19:31:18.679 udprel003DD510  Allocate error: STUN transaction has timed out (PJ
NATH_ESTUNTIMEDOUT)
 19:31:18.679 udprel003DD510  Trying next server
 19:31:18.679 udprel003DD510  State changed Allocating --> Resolved
 19:31:18.679        icedemo  TURN client state changed Allocating --> Resolved
 19:31:18.679 udprel003DD510  Connecting to 216.146.46.55:3478
 19:31:18.679 udprel003DD510  State changed Resolved --> Allocating
 19:31:18.679        icedemo  TURN client state changed Resolved --> Allocating
 19:31:18.679 udprel003DD510  TX 160 bytes STUN message to 216.146.46.55:3478:
--- begin STUN message ---
STUN Allocate request
 Hdr: length=140, magic=2112a442, tsx_id=0000175c2cd672ae00294825
 Attributes:
  REQUESTED-TRANSPORT: length=4, value=285212672 (0x11000000)
  SOFTWARE: length=16, value="pjnath-1.1-trunk"
  USERNAME: length=22, value="supersiekimo at yahoo.com"
  REALM: length=11, value="viagenie.ca"
  NONCE: length=40, value="flHwSQAAAAA=AufOWwE/rS0lCYeEv5aWUhiqDWI="
  MESSAGE-INTEGRITY: length=20, data=014b75a910a8fa57f203ed10ee583754b6ce09a5
--- end of STUN message ---

 19:31:18.679 stuntsx00E025B  STUN client transaction created
 19:31:18.679 stuntsx00E025B  STUN sending message (transmit count=1)
 19:31:18.789 stuntsx00E025B  STUN sending message (transmit count=2)
 19:31:18.992 stuntsx00E025B  STUN sending message (transmit count=3)
 19:31:19.398 stuntsx00E025B  STUN sending message (transmit count=4)
 19:31:20.210 stuntsx00E025B  STUN sending message (transmit count=5)
 19:31:20.695 stuntsx00E0304  STUN client transaction destroyed
 19:31:21.820 stuntsx00E025B  STUN sending message (transmit count=6)
 19:31:25.023 stuntsx00E025B  STUN sending message (transmit count=7)
 19:31:26.632 stuntsx00E025B  STUN timeout waiting for response
 19:31:26.632 udprel003DD510  Allocate error: STUN transaction has timed out (PJ
NATH_ESTUNTIMEDOUT)
 19:31:26.632 udprel003DD510  State changed Allocating --> Deallocated
 19:31:26.632        icedemo  TURN client state changed Allocating --> Deallocat
ed
 19:31:26.632        icedemo  TURN relay failed: STUN transaction has timed out
(PJNATH_ESTUNTIMEDOUT)
 19:31:26.632      icedemo.c  ICE initialization failed: STUN transaction has ti
med out (PJNATH_ESTUNTIMEDOUT)
 19:31:26.632 udprel003DD510  Request to shutdown in state Deallocated, cause:37
0004
 19:31:26.632 udprel003DD510  State changed Deallocated --> Destroying
 19:31:26.632 udprel003DD510  Destroying TURN
 19:31:26.632 stuntsx00E025B  STUN client transaction destroyed
 19:31:26.632 udprel003DD510  TURN client session destroyed

 

           Thanks for helping a newbie


_________________________________________________________________
??? Windows Live Messenger ? Hotmail????????????? ? Windows Live for Mobile
http://3c.msn.com.tw/mobile/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090423/2b8ec16a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedemolog.JPG
Type: image/pjpeg
Size: 92283 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090423/2b8ec16a/attachment-0001.JPG>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux