[pjsip] PJSIP & LAN

Ayman Farouk aymanfm at gmail.com
Fri May 9 06:48:52 EDT 2008


Hey Benny,

Thanks for the clarification here's the "pjsua.txt" - I really appreciate
your help.

 11:49:36.000 sip_endpoint.c Module "mod-pjsua-log" registered
 11:49:36.000 sip_endpoint.c Module "mod-tsx-layer" registered
 11:49:36.000 sip_endpoint.c Module "mod-stateful-util" registered
 11:49:36.000 sip_endpoint.c Module "mod-ua" registered
 11:49:36.000 sip_endpoint.c Module "mod-100rel" registered
 11:49:36.000 sip_endpoint.c Module "mod-pjsua" registered
 11:49:36.000 sip_endpoint.c Module "mod-invite" registered
 11:49:37.000      pasound.c PortAudio sound library initialized, status=0
 11:49:37.000      pasound.c PortAudio host api count=2
 11:49:37.000      pasound.c Sound device count=4
 11:49:37.000          pjlib select() I/O Queue created (0011B534)
 11:49:37.000  speex_codec.c Adjusting quality to 5 for uwb
 11:49:37.000   conference.c Creating conference bridge with 32 ports
 11:49:37.000   conference.c Sound device successfully created for port 0
 11:49:37.000 sip_endpoint.c Module "mod-evsub" registered
 11:49:37.000 sip_endpoint.c Module "mod-presence" registered
 11:49:37.000        evsub.c Event pkg "presence" registered by mod-presence
 11:49:37.000 sip_endpoint.c Module "mod-refer" registered
 11:49:37.000        evsub.c Event pkg "refer" registered by mod-refer
 11:49:37.000 sip_endpoint.c Module "mod-pjsua-pres" registered
 11:49:37.000 sip_endpoint.c Module "mod-pjsua-im" registered
 11:49:37.000 sip_endpoint.c Module "mod-pjsua-options" registered
 11:49:37.000   pjsua_core.c 1 SIP worker threads created
 11:49:37.000   pjsua_core.c pjsua version 0.8.0 for win32-wince initialized
 11:49:39.000   pjsua_core.c SIP UDP socket reachable at 169.254.2.1:5060
 11:49:39.000    udp001C7E94 SIP UDP transport started, published address is
169.254.2.1:5060
 11:49:39.000    pjsua_acc.c Account <sip:169.254.2.1:5060;transport=UDP>
added with id 0
 11:49:39.000    pjsua_acc.c Account sip:steve at this-pc added with id 1
 11:49:39.000       endpoint Request msg REGISTER/cseq=34893 (tdta001D6FF0)
created.
 11:49:39.000    tsx001D8064 Transaction created for Request msg
REGISTER/cseq=34894 (tdta001D6FF0)
 11:49:39.000    tsx001D8064 Sending Request msg REGISTER/cseq=34894
(tdta001D6FF0) in state Null
 11:49:39.000  sip_resolve.c Target '192.168.1.112:0' type=Unspecified
resolved to '192.168.1.112:5060' type=UDP
 11:49:39.000   pjsua_core.c TX 376 bytes Request msg REGISTER/cseq=34894
(tdta001D6FF0) to UDP 192.168.1.112:5060:
REGISTER sip:this-pc SIP/2.0
Via: SIP/2.0/UDP 169.254.2.1:5060;rport;branch=z9hG4bKPje6b40000000323482900
Route: <sip:192.168.1.112;lr>
Max-Forwards: 70
From: <sip:steve at this-pc>;tag=e6b40000000223482900
To: <sip:steve at this-pc>
Call-ID: e6b40000000123482900
CSeq: 34894 REGISTER
Contact: <sip:steve at 169.254.2.1:5060;transport=UDP>
Expires: 300
Content-Length:  0


--end msg--
 11:49:39.000    tsx001D8064 State changed from Null to Calling,
event=TX_MSG
 11:49:39.000    pjsua_acc.c Registration sent
 11:49:39.000  pjsua_media.c RTP socket reachable at 169.254.2.1:4000
 11:49:39.000  pjsua_media.c RTCP socket reachable at 169.254.2.1:4001
 11:49:39.000  pjsua_media.c RTP socket reachable at 169.254.2.1:4002
 11:49:39.000  pjsua_media.c RTCP socket reachable at 169.254.2.1:4003
 11:49:39.000  pjsua_media.c RTP socket reachable at 169.254.2.1:4004
 11:49:39.000  pjsua_media.c RTCP socket reachable at 169.254.2.1:4005
 11:49:40.000  pjsua_media.c RTP socket reachable at 169.254.2.1:4006
 11:49:40.000    tsx001D8064 Retransmit timer event
 11:49:40.000    tsx001D8064 Retransmiting Request msg REGISTER/cseq=34894
(tdta001D6FF0), count=0, restart?=1
 11:49:40.000   pjsua_core.c TX 376 bytes Request msg REGISTER/cseq=34894
(tdta001D6FF0) to UDP 192.168.1.112:5060:
REGISTER sip:this-pc SIP/2.0
Via: SIP/2.0/UDP 169.254.2.1:5060;rport;branch=z9hG4bKPje6b40000000323482900
Route: <sip:192.168.1.112;lr>
Max-Forwards: 70
From: <sip:steve at this-pc>;tag=e6b40000000223482900
To: <sip:steve at this-pc>
Call-ID: e6b40000000123482900
CSeq: 34894 REGISTER
Contact: <sip:steve at 169.254.2.1:5060;transport=UDP>
Expires: 300
Content-Length:  0


--end msg--
 11:49:40.000  pjsua_media.c RTCP socket reachable at 169.254.2.1:4007
 11:49:40.000  pjsua_media.c pjsua_set_snd_dev(): attempting to open devices
@8000 Hz
 11:49:40.000      pasound.c Opened device M - Input(MME)/M - Output(MME)
for recording and playback, sample rate=8000, ch=1, bits=16, 80 samples per
frame, input latency=120 ms, output latency=120 ms
 11:49:40.000      pasound.c Starting M - Input stream..
 11:49:40.000      pasound.c Done, status=0
 11:49:40.000      pasound.c Recorder thread started
 11:49:40.000      pasound.c Player thread started
 11:49:41.000    tsx001D8064 Retransmit timer event
 11:49:41.000    tsx001D8064 Retransmiting Request msg REGISTER/cseq=34894
(tdta001D6FF0), count=1, restart?=1
 11:49:41.000   pjsua_core.c TX 376 bytes Request msg REGISTER/cseq=34894
(tdta001D6FF0) to UDP 192.168.1.112:5060:
REGISTER sip:this-pc SIP/2.0
Via: SIP/2.0/UDP 169.254.2.1:5060;rport;branch=z9hG4bKPje6b40000000323482900
Route: <sip:192.168.1.112;lr>
Max-Forwards: 70
From: <sip:steve at this-pc>;tag=e6b40000000223482900
To: <sip:steve at this-pc>
Call-ID: e6b40000000123482900
CSeq: 34894 REGISTER
Contact: <sip:steve at 169.254.2.1:5060;transport=UDP>
Expires: 300
Content-Length:  0


--end msg--
 11:49:43.000    tsx001D8064 Retransmit timer event
 11:49:43.000    tsx001D8064 Retransmiting Request msg REGISTER/cseq=34894
(tdta001D6FF0), count=2, restart?=1
 11:49:43.000   pjsua_core.c TX 376 bytes Request msg REGISTER/cseq=34894
(tdta001D6FF0) to UDP 192.168.1.112:5060:
REGISTER sip:this-pc SIP/2.0
Via: SIP/2.0/UDP 169.254.2.1:5060;rport;branch=z9hG4bKPje6b40000000323482900
Route: <sip:192.168.1.112;lr>
Max-Forwards: 70
From: <sip:steve at this-pc>;tag=e6b40000000223482900
To: <sip:steve at this-pc>
Call-ID: e6b40000000123482900
CSeq: 34894 REGISTER
Contact: <sip:steve at 169.254.2.1:5060;transport=UDP>
Expires: 300
Content-Length:  0


--end msg--
 11:49:43.000   ecsu000F2054 Vad cur_threshold updated 4-->3. Signal lo=-1
 11:49:45.000   sound_port.c EC suspended because of inactivity
 11:49:47.000    tsx001D8064 Retransmit timer event
 11:49:47.000    tsx001D8064 Retransmiting Request msg REGISTER/cseq=34894
(tdta001D6FF0), count=3, restart?=1
 11:49:47.000   pjsua_core.c TX 376 bytes Request msg REGISTER/cseq=34894
(tdta001D6FF0) to UDP 192.168.1.112:5060:
REGISTER sip:this-pc SIP/2.0
Via: SIP/2.0/UDP 169.254.2.1:5060;rport;branch=z9hG4bKPje6b40000000323482900
Route: <sip:192.168.1.112;lr>
Max-Forwards: 70
From: <sip:steve at this-pc>;tag=e6b40000000223482900
To: <sip:steve at this-pc>
Call-ID: e6b40000000123482900
CSeq: 34894 REGISTER
Contact: <sip:steve at 169.254.2.1:5060;transport=UDP>
Expires: 300
Content-Length:  0


--end msg--
 11:49:51.000    tsx001D8064 Retransmit timer event
 11:49:51.000    tsx001D8064 Retransmiting Request msg REGISTER/cseq=34894
(tdta001D6FF0), count=4, restart?=1
 11:49:51.000   pjsua_core.c TX 376 bytes Request msg REGISTER/cseq=34894
(tdta001D6FF0) to UDP 192.168.1.112:5060:
REGISTER sip:this-pc SIP/2.0
Via: SIP/2.0/UDP 169.254.2.1:5060;rport;branch=z9hG4bKPje6b40000000323482900
Route: <sip:192.168.1.112;lr>
Max-Forwards: 70
From: <sip:steve at this-pc>;tag=e6b40000000223482900
To: <sip:steve at this-pc>
Call-ID: e6b40000000123482900
CSeq: 34894 REGISTER
Contact: <sip:steve at 169.254.2.1:5060;transport=UDP>
Expires: 300
Content-Length:  0


--end msg--
 11:49:55.000    tsx001D8064 Retransmit timer event
 11:49:55.000    tsx001D8064 Retransmiting Request msg REGISTER/cseq=34894
(tdta001D6FF0), count=5, restart?=1
 11:49:55.000   pjsua_core.c TX 376 bytes Request msg REGISTER/cseq=34894
(tdta001D6FF0) to UDP 192.168.1.112:5060:
REGISTER sip:this-pc SIP/2.0
Via: SIP/2.0/UDP 169.254.2.1:5060;rport;branch=z9hG4bKPje6b40000000323482900
Route: <sip:192.168.1.112;lr>
Max-Forwards: 70
From: <sip:steve at this-pc>;tag=e6b40000000223482900
To: <sip:steve at this-pc>
Call-ID: e6b40000000123482900
CSeq: 34894 REGISTER
Contact: <sip:steve at 169.254.2.1:5060;transport=UDP>
Expires: 300
Content-Length:  0


--end msg--
 11:49:59.000    tsx001D8064 Retransmit timer event
 11:49:59.000    tsx001D8064 Retransmiting Request msg REGISTER/cseq=34894
(tdta001D6FF0), count=6, restart?=1
 11:49:59.000   pjsua_core.c TX 376 bytes Request msg REGISTER/cseq=34894
(tdta001D6FF0) to UDP 192.168.1.112:5060:
REGISTER sip:this-pc SIP/2.0
Via: SIP/2.0/UDP 169.254.2.1:5060;rport;branch=z9hG4bKPje6b40000000323482900
Route: <sip:192.168.1.112;lr>
Max-Forwards: 70
From: <sip:steve at this-pc>;tag=e6b40000000223482900
To: <sip:steve at this-pc>
Call-ID: e6b40000000123482900
CSeq: 34894 REGISTER
Contact: <sip:steve at 169.254.2.1:5060;transport=UDP>
Expires: 300
Content-Length:  0


--end msg--
 11:50:03.000    tsx001D8064 Retransmit timer event
 11:50:03.000    tsx001D8064 Retransmiting Request msg REGISTER/cseq=34894
(tdta001D6FF0), count=7, restart?=1
 11:50:03.000   pjsua_core.c TX 376 bytes Request msg REGISTER/cseq=34894
(tdta001D6FF0) to UDP 192.168.1.112:5060:
REGISTER sip:this-pc SIP/2.0
Via: SIP/2.0/UDP 169.254.2.1:5060;rport;branch=z9hG4bKPje6b40000000323482900
Route: <sip:192.168.1.112;lr>
Max-Forwards: 70
From: <sip:steve at this-pc>;tag=e6b40000000223482900
To: <sip:steve at this-pc>
Call-ID: e6b40000000123482900
CSeq: 34894 REGISTER
Contact: <sip:steve at 169.254.2.1:5060;transport=UDP>
Expires: 300
Content-Length:  0


--end msg--
 11:50:07.000    tsx001D8064 Retransmit timer event
 11:50:07.000    tsx001D8064 Retransmiting Request msg REGISTER/cseq=34894
(tdta001D6FF0), count=8, restart?=1
 11:50:07.000   pjsua_core.c TX 376 bytes Request msg REGISTER/cseq=34894
(tdta001D6FF0) to UDP 192.168.1.112:5060:
REGISTER sip:this-pc SIP/2.0
Via: SIP/2.0/UDP 169.254.2.1:5060;rport;branch=z9hG4bKPje6b40000000323482900
Route: <sip:192.168.1.112;lr>
Max-Forwards: 70
From: <sip:steve at this-pc>;tag=e6b40000000223482900
To: <sip:steve at this-pc>
Call-ID: e6b40000000123482900
CSeq: 34894 REGISTER
Contact: <sip:steve at 169.254.2.1:5060;transport=UDP>
Expires: 300
Content-Length:  0


--end msg--
 11:50:11.000    tsx001D8064 Timeout timer event
 11:50:11.000    tsx001D8064 State changed from Calling to Terminated,
event=TIMER
 11:50:11.000    pjsua_acc.c SIP registration failed, status=408 (Request
Timeout)
 11:50:11.000    tsx001D8064 Timeout timer event
 11:50:11.000    tsx001D8064 State changed from Terminated to Destroyed,
event=TIMER
 11:50:11.000   tdta001D6FF0 Destroying txdata Request msg
REGISTER/cseq=34894 (tdta001D6FF0)
 11:50:11.000    tsx001D8064 Transaction destroyed!



On Thu, May 8, 2008 at 5:41 PM, Ayman Farouk <aymanfm at gmail.com> wrote:
> Hey Alan,
>
> Thanks for your reply.  I cannot find the log file that Benny's talked
> about!

Like I said, the log file is stored as \pjsua.txt, that means the root
directory of your device (I'm not sure what is called now in WM5, I
only have an old PocketPC 2003 PDA). You can of course change the file
name to other location that's easier to find, just change the code.

Please get the log file first as it shows what's happening in the program.

Cheers
 Benny
-- 
a.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080509/ec626ed9/attachment.html>


More information about the pjsip mailing list