PJSUA is not working with PSTN calling.

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

 



Hi,

I have developed a dialer using pjsua. I am using this dialer to call my Asterisk box and when I call to any SIP or FXO line that are connected to the box my dialer is working fine, but when I call to any PSTN line I do not able here any ringing bell sound from the other end. But if I use X-lite to call the PSTN line it is working fine. For last 15 days I am banging my head. Please help me to get out of this problem.

Thanks & Regards.

Narayan.

My observation
--------------------
When I call a PSTN line the asterisk box shows an INVITE message is posted by the dialer but any ACK message is not receving from the PJSUA. 

The log file of SIP to PSTN dialing
-------------------------------------------------------------------------
 16:38:41.734 sip_endpoint.c  Module "mod-pjsua-log" registered
 16:38:41.734 sip_endpoint.c  Module "mod-tsx-layer" registered
 16:38:41.734 sip_endpoint.c  Module "mod-stateful-util" registered
 16:38:41.734 sip_endpoint.c  Module "mod-ua" registered
 16:38:41.734 sip_endpoint.c  Module "mod-100rel" registered
 16:38:41.734 sip_endpoint.c  Module "mod-pjsua" registered
 16:38:41.734 sip_endpoint.c  Module "mod-invite" registered
 16:38:41.734       pa_dev.c  PA message: before paHostApiInitializers[0].

 16:38:41.734       pa_dev.c  PA message: Pa_GetDeviceInfo: Num input channels reported as 65535! Changed to 2.
 16:38:41.734       pa_dev.c  PA message: Pa_GetDeviceInfo: Num output channels reported as 65535! Changed to 2.
 16:38:41.734       pa_dev.c  PA message: after paHostApiInitializers[0].
 16:38:41.734       pa_dev.c  PA message: before paHostApiInitializers[1].
 16:38:41.781       pa_dev.c  PA message: after paHostApiInitializers[1].
 16:38:41.781       pa_dev.c  PA message: before paHostApiInitializers[2].
 16:38:41.781       pa_dev.c  PA message: after paHostApiInitializers[2].
 16:38:41.781       pa_dev.c  PortAudio sound library initialized, status=0
 16:38:41.781       pa_dev.c  PortAudio host api count=3
 16:38:41.781       pa_dev.c  Sound device count=8
 16:38:41.781     wmme_dev.c  WMME initialized, found 3 devices:
 16:38:41.781     wmme_dev.c   dev_id 0: Wave mapper  (in=2, out=2)
 16:38:41.781     wmme_dev.c   dev_id 1: Conexant HD Audio input  (in=2, out=0)
 16:38:41.781     wmme_dev.c   dev_id 2: Conexant HD Audio output  (in=0, out=2)
 16:38:41.781          pjlib  WinNT IOCP I/O Queue created (0092C88C)
 16:38:41.781   conference.c  Creating conference bridge with 254 ports
 16:38:41.781   conference.c  Sound device successfully created for port 0
 16:38:41.781 sip_endpoint.c  Module "mod-evsub" registered
 16:38:41.781 sip_endpoint.c  Module "mod-presence" registered
 16:38:41.781        evsub.c  Event pkg "presence" registered by mod-presence
 16:38:41.781 sip_endpoint.c  Module "mod-refer" registered
 16:38:41.781        evsub.c  Event pkg "refer" registered by mod-refer
 16:38:41.781 sip_endpoint.c  Module "mod-pjsua-pres" registered
 16:38:41.781 sip_endpoint.c  Module "mod-pjsua-im" registered
 16:38:41.781 sip_endpoint.c  Module "mod-pjsua-options" registered
 16:38:41.781   pjsua_core.c  1 SIP worker threads created
 16:38:41.781   pjsua_core.c  pjsua version 1.2 for win32 initialized
 16:38:41.796   pjsua_core.c  SIP UDP socket reachable at 172.32.1.39:5060
 16:38:41.796    udp04753D80  SIP UDP transport started, published address is 172.32.1.39:5060
 16:38:41.796    pjsua_acc.c  Account <sip:172.32.1.39:5060> added with id 0
 16:38:41.796    tcplis:5060  SIP TCP listener ready for incoming connections at 172.32.1.39:5060
 16:38:41.796    pjsua_acc.c  Account <sip:172.32.1.39:5060;transport=TCP> added with id 1
 16:38:41.796  pjsua_media.c  RTP socket reachable at 172.32.1.39:4000
 16:38:41.796  pjsua_media.c  RTCP socket reachable at 172.32.1.39:4001
 16:38:41.812  pjsua_media.c  RTP socket reachable at 172.32.1.39:4002
 16:38:41.812  pjsua_media.c  RTCP socket reachable at 172.32.1.39:4003
 16:38:41.812  pjsua_media.c  RTP socket reachable at 172.32.1.39:4004
 16:38:41.812  pjsua_media.c  RTCP socket reachable at 172.32.1.39:4005
 16:38:41.812  pjsua_media.c  RTP socket reachable at 172.32.1.39:4006
 16:38:41.812  pjsua_media.c  RTCP socket reachable at 172.32.1.39:4007
 16:38:41.812 sip_endpoint.c  Module "My-Module" registered
 16:38:41.828    pjsua_acc.c  Account id 0 deleted
 16:38:41.828    pjsua_acc.c  Account id 1 deleted
 16:38:41.828    pjsua_acc.c  Account sip:6001 at 172.32.1.23 added with id 0
 16:38:41.828       endpoint  Request msg REGISTER/cseq=53987 (tdta04760410) created.
 16:38:41.828    tsx0476147C  Transaction created for Request msg REGISTER/cseq=53988 (tdta04760410)
 16:38:41.828    tsx0476147C  Sending Request msg REGISTER/cseq=53988 (tdta04760410) in state Null
 16:38:41.828  sip_resolve.c  Target '172.32.1.23:0' type=Unspecified resolved to '172.32.1.23:5060' type=UDP (UDP transport)
 16:38:41.828   pjsua_core.c  TX 416 bytes Request msg REGISTER/cseq=53988 (tdta04760410) to UDP 172.32.1.23:5060:
REGISTER sip:172.32.1.23 SIP/2.0
Via: SIP/2.0/UDP 172.32.1.39:5060;rport;branch=z9hG4bKPjbe14ff5a649c4a71a3f11187e477f571
Max-Forwards: 70
From: <sip:6001@172.32.1.23>;tag=fd18e83232f54409bd114a5ee4160932
To: <sip:6001 at 172.32.1.23>
Call-ID: 7af589f4f8b54ca1813cb2d8f8529e2a
CSeq: 53988 REGISTER
User-Agent: Sipek on PJSUA v1.2/win32
Contact: <sip:6001 at 172.32.1.39:5060>
Expires: 3600
Content-Length:  0


--end msg--
 16:38:41.828    tsx0476147C  State changed from Null to Calling, event=TX_MSG
 16:38:41.828    pjsua_acc.c  Registration sent
 16:38:41.828 sip_endpoint.c  Processing incoming message: Response msg 401/REGISTER/cseq=53988 (rdata047541F4)
 16:38:41.828   pjsua_core.c  RX 547 bytes Response msg 401/REGISTER/cseq=53988 (rdata047541F4) from UDP 172.32.1.23:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.32.1.39:5060;branch=z9hG4bKPjbe14ff5a649c4a71a3f11187e477f571;received=172.32.1.39;rport=5060
From: <sip:6001@172.32.1.23>;tag=fd18e83232f54409bd114a5ee4160932
To: <sip:6001 at 172.32.1.23>;tag=as1c7bae96
Call-ID: 7af589f4f8b54ca1813cb2d8f8529e2a
CSeq: 53988 REGISTER
Server: Asterisk PBX 1.6.2.24
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="5bd701b5"
Content-Length: 0


--end msg--
 16:38:41.828    tsx0476147C  Incoming Response msg 401/REGISTER/cseq=53988 (rdata047541F4) in state Calling
 16:38:41.828    tsx0476147C  State changed from Calling to Completed, event=RX_MSG
 16:38:41.828    tsx04762C2C  Transaction created for Request msg REGISTER/cseq=53989 (tdta04760410)
 16:38:41.828    tsx04762C2C  Sending Request msg REGISTER/cseq=53989 (tdta04760410) in state Null
 16:38:41.828  sip_resolve.c  Target '172.32.1.23:0' type=Unspecified resolved to '172.32.1.23:5060' type=UDP (UDP transport)
 16:38:41.828   pjsua_core.c  TX 574 bytes Request msg REGISTER/cseq=53989 (tdta04760410) to UDP 172.32.1.23:5060:
REGISTER sip:172.32.1.23 SIP/2.0
Via: SIP/2.0/UDP 172.32.1.39:5060;rport;branch=z9hG4bKPj5e69003bdce2485198fcfb3f89e27214
Max-Forwards: 70
From: <sip:6001@172.32.1.23>;tag=fd18e83232f54409bd114a5ee4160932
To: <sip:6001 at 172.32.1.23>
Call-ID: 7af589f4f8b54ca1813cb2d8f8529e2a
CSeq: 53989 REGISTER
User-Agent: Sipek on PJSUA v1.2/win32
Contact: <sip:6001 at 172.32.1.39:5060>
Expires: 3600
Authorization: Digest username="6001", realm="asterisk", nonce="5bd701b5", uri="sip:172.32.1.23", response="de85418ff0865507c071d5224c0737cf", algorithm=MD5
Content-Length:  0


--end msg--
 16:38:41.828    tsx04762C2C  State changed from Null to Calling, event=TX_MSG
 16:38:41.828 sip_endpoint.c  Processing incoming message: Response msg 200/REGISTER/cseq=53989 (rdata047541F4)
 16:38:41.828   pjsua_core.c  RX 564 bytes Response msg 200/REGISTER/cseq=53989 (rdata047541F4) from UDP 172.32.1.23:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.32.1.39:5060;branch=z9hG4bKPj5e69003bdce2485198fcfb3f89e27214;received=172.32.1.39;rport=5060
From: <sip:6001@172.32.1.23>;tag=fd18e83232f54409bd114a5ee4160932
To: <sip:6001 at 172.32.1.23>;tag=as1c7bae96
Call-ID: 7af589f4f8b54ca1813cb2d8f8529e2a
CSeq: 53989 REGISTER
Server: Asterisk PBX 1.6.2.24
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Expires: 3600
Contact: <sip:6001 at 172.32.1.39:5060>;expires=3600
Date: Mon, 20 May 2013 11:04:53 GMT
Content-Length: 0


--end msg--
 16:38:41.828    tsx04762C2C  Incoming Response msg 200/REGISTER/cseq=53989 (rdata047541F4) in state Calling
 16:38:41.828    tsx04762C2C  State changed from Calling to Completed, event=RX_MSG
 16:38:41.828    pjsua_acc.c  sip:6001 at 172.32.1.23: registration success, status=200 (OK), will re-register in 3600 seconds
 16:38:41.828    pjsua_acc.c  Keep-alive timer started for acc 0, destination:172.32.1.23:5060, interval:15s
 16:38:41.984    udp047581C8  Remote RTP address switched to 172.32.1.23:15530
 16:38:41.984    udp047581C8  Remote RTCP address switched to 172.32.1.23:15531
 16:38:42.015   pjsipDll.cpp  Setting codec (speex/16000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (speex/32000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (GSM/8000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (PCMA/8000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (PCMA/8000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (GSM/8000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (speex/32000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (speex/16000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/44100/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/44100/2) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/8000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/8000/2) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/16000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/16000/2) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/32000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/32000/2) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/48000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/48000/2) prio: 0
 16:38:46.828    tsx0476147C  Timeout timer event
 16:38:46.828    tsx0476147C  State changed from Completed to Terminated, event=TIMER
 16:38:46.828    tsx04762C2C  Timeout timer event
 16:38:46.828    tsx04762C2C  State changed from Completed to Terminated, event=TIMER
 16:38:46.828    tsx0476147C  Timeout timer event
 16:38:46.828    tsx0476147C  State changed from Terminated to Destroyed, event=TIMER
 16:38:46.828    tsx0476147C  Transaction destroyed!
 16:38:46.828    tsx04762C2C  Timeout timer event
 16:38:46.828    tsx04762C2C  State changed from Terminated to Destroyed, event=TIMER
 16:38:46.828   tdta04760410  Destroying txdata Request msg REGISTER/cseq=53989 (tdta04760410)
 16:38:46.828    tsx04762C2C  Transaction destroyed!
 16:38:47.375  pjsua_media.c  Opening sound device PCM at 16000/1/20ms
 16:38:47.390       pa_dev.c  Opened device Microsoft Sound Mapper - Input(MME)/Microsoft Sound Mapper - Output(MME) for recording and playback, sample rate=16000, ch=1, bits=16, 320 samples per frame, input latency=100 ms, output latency=100 ms
 16:38:47.390     ec0474C780  Creating AEC
 16:38:47.390     ec0474C780  AEC created, clock_rate=16000, channel=1, samples per frame=320, tail length=200 ms, latency=100 ms
 16:38:47.390       pa_dev.c  Starting Microsoft Sound Mapper - Input stream..
 16:38:47.390       pa_dev.c  PA message: Pa_StartStream: waveInStart returned = 0x0.

 16:38:47.390       pa_dev.c  Done, status=0
 16:38:47.390   pjsua_call.c  Making call with acc #0 to sip:99910534683 at 172.32.1.23
 16:38:47.390    dlg04790034  UAC dialog created
 16:38:47.390  pjsua_media.c  Media index 0 selected for call 0
 16:38:47.390    dlg04790034  Module mod-invite added as dialog usage, data=047906A4
 16:38:47.390    dlg04790034  Session count inc to 3 by mod-invite
 16:38:47.390    dlg04790034  Module mod-100rel added as dialog usage, data=04792D70
 16:38:47.390    dlg04790034  100rel module attached
 16:38:47.390    inv04790034  UAC invite session created for dialog dlg04790034
 16:38:47.390       endpoint  Request msg INVITE/cseq=19715 (tdta04792DB8) created.
 16:38:47.390    inv04790034  Sending Request msg INVITE/cseq=19715 (tdta04792DB8)
 16:38:47.390    dlg04790034  Sending Request msg INVITE/cseq=19715 (tdta04792DB8)
 16:38:47.390    tsx04793E24  Transaction created for Request msg INVITE/cseq=19714 (tdta04792DB8)
 16:38:47.390    tsx04793E24  Sending Request msg INVITE/cseq=19714 (tdta04792DB8) in state Null
 16:38:47.390  sip_resolve.c  Target '172.32.1.23:0' type=Unspecified resolved to '172.32.1.23:5060' type=UDP (UDP transport)
 16:38:47.390   pjsua_core.c  TX 928 bytes Request msg INVITE/cseq=19714 (tdta04792DB8) to UDP 172.32.1.23:5060:
INVITE sip:99910534683 at 172.32.1.23 SIP/2.0
Via: SIP/2.0/UDP 172.32.1.39:5060;rport;branch=z9hG4bKPjf0c6bebaa5464bf896fefe6905552406
Max-Forwards: 70
From: sip:6001@172.32.1.23;tag=aa21480c94124caf82c18ab2254ff7ca
To: sip:99910534683 at 172.32.1.23
Contact: <sip:6001 at 172.32.1.39:5060>
Call-ID: 1cfb52947acc44dc80d551618c6d2d98
CSeq: 19714 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, norefersub
User-Agent: Sipek on PJSUA v1.2/win32
Content-Type: application/sdp
Content-Length:   349

v=0
o=- 3578056727 3578056727 IN IP4 172.32.1.39
s=pjmedia
c=IN IP4 172.32.1.39
t=0 0
a=X-nat:0
m=audio 4000 RTP/AVP 102 113 0 9 101
a=rtcp:4001 IN IP4 172.32.1.39
a=rtpmap:102 speex/8000
a=rtpmap:113 iLBC/8000
a=fmtp:113 mode=30
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/8000
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

--end msg--
 16:38:47.390    tsx04793E24  State changed from Null to Calling, event=TX_MSG
 16:38:47.390    dlg04790034  Transaction tsx04793E24 state changed to Calling
 16:38:47.390 sip_endpoint.c  Processing incoming message: Response msg 401/INVITE/cseq=19714 (rdata047541F4)
 16:38:47.390   pjsua_core.c  RX 548 bytes Response msg 401/INVITE/cseq=19714 (rdata047541F4) from UDP 172.32.1.23:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.32.1.39:5060;branch=z9hG4bKPjf0c6bebaa5464bf896fefe6905552406;received=172.32.1.39;rport=5060
From: sip:6001@172.32.1.23;tag=aa21480c94124caf82c18ab2254ff7ca
To: sip:99910534683 at 172.32.1.23;tag=as220a61dc
Call-ID: 1cfb52947acc44dc80d551618c6d2d98
CSeq: 19714 INVITE
Server: Asterisk PBX 1.6.2.24
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="5c8e5f9a"
Content-Length: 0


--end msg--
 16:38:47.390    tsx04793E24  Incoming Response msg 401/INVITE/cseq=19714 (rdata047541F4) in state Calling
 16:38:47.390   pjsipDll.cpp  Call 0 state changed to CALLING
 16:38:47.406       endpoint  Request msg ACK/cseq=19714 (tdta04795570) created.
 16:38:47.406   pjsua_core.c  TX 344 bytes Request msg ACK/cseq=19714 (tdta04795570) to UDP 172.32.1.23:5060:
ACK sip:99910534683 at 172.32.1.23 SIP/2.0
Via: SIP/2.0/UDP 172.32.1.39:5060;rport;branch=z9hG4bKPjf0c6bebaa5464bf896fefe6905552406
Max-Forwards: 70
From: sip:6001@172.32.1.23;tag=aa21480c94124caf82c18ab2254ff7ca
To: sip:99910534683 at 172.32.1.23;tag=as220a61dc
Call-ID: 1cfb52947acc44dc80d551618c6d2d98
CSeq: 19714 ACK
Content-Length:  0


--end msg--
 16:38:47.406    tsx04793E24  State changed from Calling to Completed, event=RX_MSG
 16:38:47.406    dlg04790034  Received Response msg 401/INVITE/cseq=19714 (rdata047541F4)
 16:38:47.406    dlg04790034  Transaction tsx04793E24 state changed to Completed
 16:38:47.406    inv04790034  Sending Request msg INVITE/cseq=19714 (tdta04792DB8)
 16:38:47.406    dlg04790034  Sending Request msg INVITE/cseq=19714 (tdta04792DB8)
 16:38:47.406    tsx047965DC  Transaction created for Request msg INVITE/cseq=19715 (tdta04792DB8)
 16:38:47.406    tsx047965DC  Sending Request msg INVITE/cseq=19715 (tdta04792DB8) in state Null
 16:38:47.406  sip_resolve.c  Target '172.32.1.23:0' type=Unspecified resolved to '172.32.1.23:5060' type=UDP (UDP transport)
 16:38:47.406   pjsua_core.c  TX 1098 bytes Request msg INVITE/cseq=19715 (tdta04792DB8) to UDP 172.32.1.23:5060:
INVITE sip:99910534683 at 172.32.1.23 SIP/2.0
Via: SIP/2.0/UDP 172.32.1.39:5060;rport;branch=z9hG4bKPjd35953e3bd124dd1a7030daaebc59b43
Max-Forwards: 70
From: sip:6001@172.32.1.23;tag=aa21480c94124caf82c18ab2254ff7ca
To: sip:99910534683 at 172.32.1.23
Contact: <sip:6001 at 172.32.1.39:5060>
Call-ID: 1cfb52947acc44dc80d551618c6d2d98
CSeq: 19715 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, norefersub
User-Agent: Sipek on PJSUA v1.2/win32
Authorization: Digest username="6001", realm="asterisk", nonce="5c8e5f9a", uri="sip:99910534683 at 172.32.1.23", response="b6de7be878cc968ef546ccb1ba54adf3", algorithm=MD5
Content-Type: application/sdp
Content-Length:   349

v=0
o=- 3578056727 3578056727 IN IP4 172.32.1.39
s=pjmedia
c=IN IP4 172.32.1.39
t=0 0
a=X-nat:0
m=audio 4000 RTP/AVP 102 113 0 9 101
a=rtcp:4001 IN IP4 172.32.1.39
a=rtpmap:102 speex/8000
a=rtpmap:113 iLBC/8000
a=fmtp:113 mode=30
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/8000
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

--end msg--
 16:38:47.406    tsx047965DC  State changed from Null to Calling, event=TX_MSG
 16:38:47.406    dlg04790034  Transaction tsx047965DC state changed to Calling
 16:38:47.406   pjsipDll.cpp  Call 0 state changed to CALLING
 16:38:47.406 sip_endpoint.c  Processing incoming message: Response msg 100/INVITE/cseq=19715 (rdata047541F4)
 16:38:47.406   pjsua_core.c  RX 491 bytes Response msg 100/INVITE/cseq=19715 (rdata047541F4) from UDP 172.32.1.23:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.32.1.39:5060;branch=z9hG4bKPjd35953e3bd124dd1a7030daaebc59b43;received=172.32.1.39;rport=5060
From: sip:6001@172.32.1.23;tag=aa21480c94124caf82c18ab2254ff7ca
To: sip:99910534683 at 172.32.1.23
Call-ID: 1cfb52947acc44dc80d551618c6d2d98
CSeq: 19715 INVITE
Server: Asterisk PBX 1.6.2.24
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: <sip:99910534683 at 172.32.1.23>
Content-Length: 0


--end msg--
 16:38:47.406    tsx047965DC  Incoming Response msg 100/INVITE/cseq=19715 (rdata047541F4) in state Calling
 16:38:47.406    tsx047965DC  State changed from Calling to Proceeding, event=RX_MSG
 16:38:47.406    dlg04790034  Received Response msg 100/INVITE/cseq=19715 (rdata047541F4)
 16:38:47.406    dlg04790034  Transaction tsx047965DC state changed to Proceeding
 16:38:47.406 sip_endpoint.c  Processing incoming message: Response msg 503/INVITE/cseq=19715 (rdata047541F4)
 16:38:47.406   pjsua_core.c  RX 479 bytes Response msg 503/INVITE/cseq=19715 (rdata047541F4) from UDP 172.32.1.23:5060:
SIP/2.0 503 Service Unavailable
Via: SIP/2.0/UDP 172.32.1.39:5060;branch=z9hG4bKPjd35953e3bd124dd1a7030daaebc59b43;received=172.32.1.39;rport=5060
From: sip:6001@172.32.1.23;tag=aa21480c94124caf82c18ab2254ff7ca
To: sip:99910534683 at 172.32.1.23;tag=as6c07011b
Call-ID: 1cfb52947acc44dc80d551618c6d2d98
CSeq: 19715 INVITE
Server: Asterisk PBX 1.6.2.24
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0


--end msg--
 16:38:47.406    tsx047965DC  Incoming Response msg 503/INVITE/cseq=19715 (rdata047541F4) in state Proceeding
 16:38:47.406       endpoint  Request msg ACK/cseq=19715 (tdta04796D80) created.
 16:38:47.406   pjsua_core.c  TX 344 bytes Request msg ACK/cseq=19715 (tdta04796D80) to UDP 172.32.1.23:5060:
ACK sip:99910534683 at 172.32.1.23 SIP/2.0
Via: SIP/2.0/UDP 172.32.1.39:5060;rport;branch=z9hG4bKPjd35953e3bd124dd1a7030daaebc59b43
Max-Forwards: 70
From: sip:6001@172.32.1.23;tag=aa21480c94124caf82c18ab2254ff7ca
To: sip:99910534683 at 172.32.1.23;tag=as6c07011b
Call-ID: 1cfb52947acc44dc80d551618c6d2d98
CSeq: 19715 ACK
Content-Length:  0


--end msg--
 16:38:47.406    tsx047965DC  State changed from Proceeding to Completed, event=RX_MSG
 16:38:47.406    dlg04790034  Received Response msg 503/INVITE/cseq=19715 (rdata047541F4)
 16:38:47.406    dlg04790034  Transaction tsx047965DC state changed to Completed
 16:38:47.406   pjsipDll.cpp  Call 0 is DISCONNECTED [reason=503 (Service Unavailable)]
 16:38:47.406   pjsipDll.cpp  Call 0 disconnected, dumping media stats..
 16:38:47.406   pjsipDll.cpp  
  [DISCONNCTD] To: sip:99910534683 at 172.32.1.23
    Call time: 00h:00m:00s, 1st res in 16 ms, conn in 0ms
    SRTP status: Not active Crypto-suite: (null)
 16:38:47.406       pa_dev.c  Player thread started
 16:38:47.421       pa_dev.c  Recorder thread started
 16:38:47.421     ec0474C780  Prefetching..
 16:38:47.421    dlg04790034  Session count dec to 1 by mod-invite
 16:38:47.421   tdta04792DB8  Destroying txdata Request msg INVITE/cseq=19715 (tdta04792DB8)
 16:38:47.437     ec0474C780  Prefetching..
 16:38:47.453     ec0474C780  Prefetching..
 16:38:47.468     ec0474C780  Prefetching..
 16:38:47.500     ec0474C780  Prefetching..
 16:38:47.515     ec0474C780  Latency bufferring complete
 16:38:48.234     ec0474C780  Underflow, buf_cnt=0, will generate 1 frame
 16:38:48.421  pjsua_media.c  Closing sound device after idle for 1 seconds
 16:38:48.421  pjsua_media.c  Closing Microsoft Sound Mapper - Output sound playback device and Microsoft Sound Mapper - Input sound capture device
 16:38:48.437       pa_dev.c  Stopping stream..
 16:38:48.437       pa_dev.c  PA message: WinMME StopStream: waiting for background thread.

 16:38:48.531       pa_dev.c  PA message: WinMME StopStream: waiting for background thread.

 16:38:48.531       pa_dev.c  Done, status=0
 16:38:48.531       pa_dev.c  Closing Microsoft Sound Mapper - Input: 0 underflow, 0 overflow
 16:38:56.828    pjsua_acc.c  Sending 2 bytes keep-alive packet for acc 0 to 172.32.1.23:5060
 16:38:56.828   tdta04792DB8  Destroying txdata raw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130523/d8b39592/attachment-0001.html>


[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