can't register on windows mobile 6 emulator

JE
johnson elangbam
Sat, Jan 24, 2009 7:52 AM

hi,
I am new in windows mobile and I am trying to make a simple call using
pjsip in windows mobile emulator, I make a dll of pjsip using sipek project
and used in my project, it loaded successfully, and when I try to register
it gives a request timeout error, and it returns a status value of 408, I am
confusing weather the unsucessful of registration is due to my
configurations of the emulator or do I have to change any code in the pjsip,
Here is my output of the console of the emulator:


CertVerify: \Windows\CoreCon1.1\CMAccept.exe trust = 2
RaiseException: Thread=9728c9f0 Proc=80096a90 'EmulatorStub.exe'
AKY=00000201 PC=00018340(EmulatorStub.exe+0x00008340)
RA=88037538(NK.EXE+0x00007
538) BVA=00000000 FSR=00000000
CertVerify: \Program Files\mobile\mobile.exe trust = 2
CertVerify: pjsipDll_mobile.dll trust = 2
13:00:22.000 os_core_win32.  pjlib 1.0 for win32 initialized
13:00:23.000 sip_endpoint.c  Creating endpoint instance...
13:00:23.000          pjlib  select() I/O Queue created (0015DB64)
13:00:23.000 sip_endpoint.c  Module "mod-msg-print" registered
13:00:23.000 sip_transport.  Transport manager created.
13:00:23.000 sip_endpoint.c  Module "mod-pjsua-log" registered
13:00:23.000 sip_endpoint.c  Module "mod-tsx-layer" registered
13:00:23.000 sip_endpoint.c  Module "mod-stateful-util" registered
13:00:23.000 sip_endpoint.c  Module "mod-ua" registered
13:00:23.000 sip_endpoint.c  Module "mod-100rel" registered
13:00:23.000 sip_endpoint.c  Module "mod-pjsua" registered
13:00:23.000 sip_endpoint.c  Module "mod-invite" registered
13:00:23.000  wmme_sound.c  WMME initialized, found 5 devices:
13:00:23.000  wmme_sound.c  dev_id 0: Microsoft Sound Mapper - Input
(in=2,
out=0)
13:00:23.000  wmme_sound.c  dev_id 1: Audio Input  (in=1, out=0)
13:00:23.000  wmme_sound.c  dev_id 2: Microsoft Sound Mapper - Output
(in=0,
out=2)
13:00:23.000  wmme_sound.c  dev_id 3: Audio Output  (in=0, out=1)
13:00:23.000  wmme_sound.c  dev_id 4: Bluetooth Advanced Audio Output
(in=0,
out=2)
13:00:23.000          pjlib  select() I/O Queue created (00162F54)
13:00:23.000 sip_endpoint.c  Module "mod-evsub" registered
13:00:23.000 sip_endpoint.c  Module "mod-presence" registered
13:00:23.000 sip_endpoint.c  Module "mod-refer" registered
13:00:23.000 sip_endpoint.c  Module "mod-pjsua-pres" registered
13:00:23.000 sip_endpoint.c  Module "mod-pjsua-im" registered
13:00:23.000 sip_endpoint.c  Module "mod-pjsua-options" registered
13:00:23.000  pjsua_core.c  1 SIP worker threads created
13:00:23.000  pjsua_core.c  pjsua version 1.0 for win32-wince initialized
13:00:23.000  pjsua_core.c  SIP UDP socket reachable at
192.168.55.101:5060
13:00:23.000    udp00371560  SIP UDP transport started, published address
is 19
2.168.55.101:5060
13:00:23.000    pjsua_acc.c  Account sip:192.168.55.101:5060 added with
id 0
13:00:23.000    tcplis:5060  SIP TCP listener ready for incoming
connections at
192.168.55.101:5060
13:00:23.000    pjsua_acc.c  Account sip:192.168.55.101:5060;transport=TCP
ad
ded with id 1
13:00:23.000  pjsua_media.c  RTP socket reachable at 192.168.55.101:4000
13:00:23.000  pjsua_media.c  RTCP socket reachable at 192.168.55.101:4001
13:00:23.000  pjsua_media.c  RTP socket reachable at 192.168.55.101:4002
13:00:23.000  pjsua_media.c  RTCP socket reachable at 192.168.55.101:4003
13:00:23.000  pjsua_media.c  RTP socket reachable at 192.168.55.101:4004
13:00:23.000  pjsua_media.c  RTCP socket reachable at 192.168.55.101:4005
13:00:23.000  pjsua_media.c  RTP socket reachable at 192.168.55.101:4006
13:00:23.000  pjsua_media.c  RTCP socket reachable at 192.168.55.101:4007
13:00:23.000 sip_endpoint.c  Module "My-Module" registered
13:00:23.000 pjsipDll_mobil  dll_registerAccount: reguri='sip:
122.60.196.253:5060'
13:00:23.000 pjsipDll_mobil  dll_registerAccount: id='
sip:200@122.60.196.253 sip%3A200@122.60.196.253'
13:00:23.000    pjsua_acc.c  Account
sip:200@122.60.196.253sip%3A200@122.60.196.253added with id 2
+SL_TxIntrEx
-SL_TxIntrEx
13:00:23.000    pjsua_acc.c  Registration sent
+SL_TxIntrEx
-SL_TxIntrEx
SL_RxIntr
+SL_TxIntrEx
-SL_TxIntrEx
+SL_TxIntrEx
-SL_TxIntrEx
SL_RxIntr
+SL_TxIntrEx
-SL_TxIntrEx
+SL_TxIntrEx
-SL_TxIntrEx
+SL_TxIntrEx
-SL_TxIntrEx
+SL_TxIntrEx
-SL_TxIntrEx
+SL_TxIntrEx
-SL_TxIntrEx
+SL_TxIntrEx
-SL_TxIntrEx
+SL_TxIntrEx
-SL_TxIntrEx
13:00:55.000    pjsua_acc.c  SIP registration failed, status=408 (Request
Timeout)
SL_RxIntr
+SL_TxIntrEx
-SL_TxIntrEx
SL_RxIntr
SL_RxIntr
+SL_TxIntrEx
-SL_TxIntrEx
SL_RxIntr


I am confusing where is the ip and port
192.168.55.101:4000/192.168.55.101:4001 comes from.
Any suggestion is appreciated.

Thanks in advance,

Elangbam Johnson

hi, I am new in windows mobile and I am trying to make a simple call using pjsip in windows mobile emulator, I make a dll of pjsip using sipek project and used in my project, it loaded successfully, and when I try to register it gives a request timeout error, and it returns a status value of 408, I am confusing weather the unsucessful of registration is due to my configurations of the emulator or do I have to change any code in the pjsip, Here is my output of the console of the emulator: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ CertVerify: \Windows\CoreCon1.1\CMAccept.exe trust = 2 RaiseException: Thread=9728c9f0 Proc=80096a90 'EmulatorStub.exe' AKY=00000201 PC=00018340(EmulatorStub.exe+0x00008340) RA=88037538(NK.EXE+0x00007 538) BVA=00000000 FSR=00000000 CertVerify: \Program Files\mobile\mobile.exe trust = 2 CertVerify: pjsipDll_mobile.dll trust = 2 13:00:22.000 os_core_win32. pjlib 1.0 for win32 initialized 13:00:23.000 sip_endpoint.c Creating endpoint instance... 13:00:23.000 pjlib select() I/O Queue created (0015DB64) 13:00:23.000 sip_endpoint.c Module "mod-msg-print" registered 13:00:23.000 sip_transport. Transport manager created. 13:00:23.000 sip_endpoint.c Module "mod-pjsua-log" registered 13:00:23.000 sip_endpoint.c Module "mod-tsx-layer" registered 13:00:23.000 sip_endpoint.c Module "mod-stateful-util" registered 13:00:23.000 sip_endpoint.c Module "mod-ua" registered 13:00:23.000 sip_endpoint.c Module "mod-100rel" registered 13:00:23.000 sip_endpoint.c Module "mod-pjsua" registered 13:00:23.000 sip_endpoint.c Module "mod-invite" registered 13:00:23.000 wmme_sound.c WMME initialized, found 5 devices: 13:00:23.000 wmme_sound.c dev_id 0: Microsoft Sound Mapper - Input (in=2, out=0) 13:00:23.000 wmme_sound.c dev_id 1: Audio Input (in=1, out=0) 13:00:23.000 wmme_sound.c dev_id 2: Microsoft Sound Mapper - Output (in=0, out=2) 13:00:23.000 wmme_sound.c dev_id 3: Audio Output (in=0, out=1) 13:00:23.000 wmme_sound.c dev_id 4: Bluetooth Advanced Audio Output (in=0, out=2) 13:00:23.000 pjlib select() I/O Queue created (00162F54) 13:00:23.000 sip_endpoint.c Module "mod-evsub" registered 13:00:23.000 sip_endpoint.c Module "mod-presence" registered 13:00:23.000 sip_endpoint.c Module "mod-refer" registered 13:00:23.000 sip_endpoint.c Module "mod-pjsua-pres" registered 13:00:23.000 sip_endpoint.c Module "mod-pjsua-im" registered 13:00:23.000 sip_endpoint.c Module "mod-pjsua-options" registered 13:00:23.000 pjsua_core.c 1 SIP worker threads created 13:00:23.000 pjsua_core.c pjsua version 1.0 for win32-wince initialized 13:00:23.000 pjsua_core.c SIP UDP socket reachable at 192.168.55.101:5060 13:00:23.000 udp00371560 SIP UDP transport started, published address is 19 2.168.55.101:5060 13:00:23.000 pjsua_acc.c Account <sip:192.168.55.101:5060> added with id 0 13:00:23.000 tcplis:5060 SIP TCP listener ready for incoming connections at 192.168.55.101:5060 13:00:23.000 pjsua_acc.c Account <sip:192.168.55.101:5060;transport=TCP> ad ded with id 1 13:00:23.000 pjsua_media.c RTP socket reachable at 192.168.55.101:4000 13:00:23.000 pjsua_media.c RTCP socket reachable at 192.168.55.101:4001 13:00:23.000 pjsua_media.c RTP socket reachable at 192.168.55.101:4002 13:00:23.000 pjsua_media.c RTCP socket reachable at 192.168.55.101:4003 13:00:23.000 pjsua_media.c RTP socket reachable at 192.168.55.101:4004 13:00:23.000 pjsua_media.c RTCP socket reachable at 192.168.55.101:4005 13:00:23.000 pjsua_media.c RTP socket reachable at 192.168.55.101:4006 13:00:23.000 pjsua_media.c RTCP socket reachable at 192.168.55.101:4007 13:00:23.000 sip_endpoint.c Module "My-Module" registered 13:00:23.000 pjsipDll_mobil dll_registerAccount: reguri='sip: 122.60.196.253:5060' 13:00:23.000 pjsipDll_mobil dll_registerAccount: id=' sip:200@122.60.196.253 <sip%3A200@122.60.196.253>' 13:00:23.000 pjsua_acc.c Account sip:200@122.60.196.253<sip%3A200@122.60.196.253>added with id 2 +SL_TxIntrEx -SL_TxIntrEx 13:00:23.000 pjsua_acc.c Registration sent +SL_TxIntrEx -SL_TxIntrEx SL_RxIntr +SL_TxIntrEx -SL_TxIntrEx +SL_TxIntrEx -SL_TxIntrEx SL_RxIntr +SL_TxIntrEx -SL_TxIntrEx +SL_TxIntrEx -SL_TxIntrEx +SL_TxIntrEx -SL_TxIntrEx +SL_TxIntrEx -SL_TxIntrEx +SL_TxIntrEx -SL_TxIntrEx +SL_TxIntrEx -SL_TxIntrEx +SL_TxIntrEx -SL_TxIntrEx 13:00:55.000 pjsua_acc.c SIP registration failed, status=408 (Request Timeout) SL_RxIntr +SL_TxIntrEx -SL_TxIntrEx SL_RxIntr SL_RxIntr +SL_TxIntrEx -SL_TxIntrEx SL_RxIntr -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- I am confusing where is the ip and port 192.168.55.101:4000/192.168.55.101:4001 comes from. Any suggestion is appreciated. Thanks in advance, Elangbam Johnson