Failed to answer call

SN
Shankara Narayanan
Fri, May 15, 2020 10:32 AM

Hey ,

I'm trying to write a simple SIP client with PJSUA2. Account got registered
but couldn't make / answer call from it. please help.

msn@sipmodule:~/PJSIP$ python3 BaseClass.py
07:42:34.100        os_core_unix.c !pjlib 2.10 for POSIX initialized
07:42:34.100        sip_endpoint.c  .Creating endpoint instance...
07:42:34.100                  pjlib  .select() I/O Queue created (0x1f48930)
07:42:34.100        sip_endpoint.c  .Module "mod-msg-print" registered
07:42:34.100        sip_transport.c  .Transport manager created.
07:42:34.100          pjsua_core.c  .PJSUA state changed: NULL --> CREATED
07:42:34.100        sip_endpoint.c  .Module "mod-pjsua-log" registered
07:42:34.100        sip_endpoint.c  .Module "mod-tsx-layer" registered
07:42:34.100        sip_endpoint.c  .Module "mod-stateful-util" registered
07:42:34.100        sip_endpoint.c  .Module "mod-ua" registered
07:42:34.100        sip_endpoint.c  .Module "mod-100rel" registered
07:42:34.100        sip_endpoint.c  .Module "mod-pjsua" registered
07:42:34.100        sip_endpoint.c  .Module "mod-invite" registered
07:42:34.101                  pjlib  ..select() I/O Queue created
(0x1f51038)
07:42:34.103        sip_endpoint.c  .Module "mod-evsub" registered
07:42:34.103        sip_endpoint.c  .Module "mod-presence" registered
07:42:34.103        sip_endpoint.c  .Module "mod-mwi" registered
07:42:34.103        sip_endpoint.c  .Module "mod-refer" registered
07:42:34.103        sip_endpoint.c  .Module "mod-pjsua-pres" registered
07:42:34.103        sip_endpoint.c  .Module "mod-pjsua-im" registered
07:42:34.103        sip_endpoint.c  .Module "mod-pjsua-options" registered
07:42:34.103          pjsua_core.c  .1 SIP worker threads created
07:42:34.103          pjsua_core.c  .pjsua version 2.10 for
Linux-4.15.0.99/x86_64/glibc-2.27 initialized
07:42:34.103          pjsua_core.c  .PJSUA state changed: CREATED --> INIT
07:42:34.103          pjsua_core.c  SIP UDP socket reachable at
10.211.41.170:60960
07:42:34.103          udp0x1f67960  SIP UDP transport started, published
address is 10.211.41.170:60960
07:42:34.103          pjsua_core.c  PJSUA state changed: INIT --> STARTING
07:42:34.103        sip_endpoint.c  .Module "mod-unsolicited-mwi"
registered
07:42:34.103          pjsua_core.c  .PJSUA state changed: STARTING -->
RUNNING
07:42:34.103          pjsua_core.c  SIP UDP socket reachable at
10.211.41.170:57326
07:42:34.103          udp0x1f6b570  SIP UDP transport started, published
address is 10.211.41.170:57326
07:42:34.103            pjsua_acc.c  Adding account: id=
sip:70016@10.211.41.33
07:42:34.104            pjsua_acc.c  .Account sip:70016@10.211.41.33 added
with id 0
07:42:34.104            pjsua_acc.c  .Acc 0: setting registration..
07:42:34.104          pjsua_core.c  ...TX 487 bytes Request msg
REGISTER/cseq=469 (tdta0x1f713d8) to UDP 10.211.41.33:5060:
REGISTER sip:10.211.41.33 SIP/2.0
Via: SIP/2.0/UDP 10.211.41.170:60960
;rport;branch=z9hG4bKPjLIKwniJBlmGxul3M93epRgJz6fNe9rRT
Max-Forwards: 70
From: sip:70016@10.211.41.33;tag=NoApEwPXyrAAlmQI41hBaybBIZFBdwYV
To: sip:70016@10.211.41.33
Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6
CSeq: 469 REGISTER
Contact: sip:70016@10.211.41.170:60960;ob
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY,
REFER, MESSAGE, OPTIONS
Content-Length:  0

--end msg--
07:42:34.104            pjsua_acc.c  ..Acc 0: Registration sent
07:42:34.149          pjsua_core.c  .RX 770 bytes Response msg
200/REGISTER/cseq=469 (rdata0x1f694b8) from UDP 10.211.41.33:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.211.41.170:60960
;rport=60960;branch=z9hG4bKPjLIKwniJBlmGxul3M93epRgJz6fNe9rRT
Contact: "TestExtension16"<sip:70016@10.211.41.170:60960
;ob>;audio;expires=300
To: sip:70016@10.211.41.33;tag=f909a27b
From: sip:70016@10.211.41.33;tag=NoApEwPXyrAAlmQI41hBaybBIZFBdwYV
Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6
CSeq: 469 REGISTER
Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK,
SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH
Call-Info: sip:domain.invalid;first-registration="true"
Date: Fri, 15 May 2020 07:37:46 GMT
User-Agent: Aastra MX-ONE SN/17.2.1.1.12
Allow-Events: message-summary, reg, dialog, server-side-terminal-control,
call-info, line-seize, call-completion, presence
Content-Length: 0

--end msg--
07:42:34.150            pjsua_acc.c  ....SIP outbound status for acc 0 is
not active
07:42:34.150            pjsua_acc.c  ....sip:70016@10.211.41.33:
registration success, status=200 (OK), will re-register in 300 seconds
07:42:34.150            pjsua_acc.c  ....Keep-alive timer started for acc
0, destination:10.211.41.33:5060, interval:15s
***OnRegState: OK
07:42:40.587          pjsua_core.c  .RX 1069 bytes Request msg
INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
Contact: sip:70019@10.211.41.33:5060;transport=UDP
To: sip:70016@lim1.prathyush.com;user=phone
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 INVITE
Session-Expires: 1800
Min-SE: 90
Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK,
SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH
Content-Type: application/sdp
Supported: timer, replaces, 100rel
User-Agent: Aastra MX-ONE SN/17.2.1.1.12
Content-Length: 402

v=0
o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50
s=3cxVCE Audio Call
c=IN IP4 10.211.41.50
t=0 0
m=audio 40012 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
m=video 0 RTP/AVP 34
c=IN IP4 10.211.41.50
a=rtpmap:34 H263/90000
a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
a=sendrecv

--end msg--
07:42:40.589          pjsua_call.c  .Incoming Request msg INVITE/cseq=1
(rdata0x7f46f80012e8)
07:42:40.589          pjsua_media.c  ..Call 0: initializing media..
07:42:40.589          pjsua_media.c  ...RTP socket reachable at
10.211.41.170:4000
07:42:40.590          pjsua_media.c  ...RTCP socket reachable at
10.211.41.170:4001
07:42:40.590          pjsua_media.c  ...Media index 0 selected for audio
call 0
*** Call  ID0
07:42:40.590          pjsua_call.c  ...Answering call 0: code=180
07:42:40.590          pjsua_call.c  ....Pending answering call 0 upon
completion of media transport
***onIncomingCall: Incoming call for account <sip:70019@lim1.prathyush.com
;user=phone>
07:42:40.590          pjsua_call.c  ...Answering call 0: code=200
07:42:40.590          pjsua_call.c  ....Pending answering call 0 upon
completion of media transport
07:42:50.600          pjsua_call.c  ...Call 0 hanging up: code=0..
07:42:50.601          pjsua_call.c  ....Pending call 0 hangup upon
completion of media transport
07:42:50.601          pjsua_call.c  ...Call 0 hanging up: code=500..
07:42:50.601          pjsua_call.c  ....Pending call 0 hangup upon
completion of media transport
07:42:50.601          pjsua_core.c  .....TX 306 bytes Response msg
100/INVITE/cseq=1 (tdta0x7f46f801e988) to UDP 10.211.41.33:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.211.41.33:5060
;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
To: sip:70016@lim1.prathyush.com;user=phone
CSeq: 1 INVITE
Content-Length:  0

--end msg--
07:42:50.602          pjsua_call.c  ..Call 0 hanging up: code=500..
07:42:50.602          pjsua_core.c  ......TX 337 bytes Response msg
500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060:
SIP/2.0 500
Via: SIP/2.0/UDP 10.211.41.33:5060
;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
CSeq: 1 INVITE
Content-Length:  0

--end msg--
07:42:50.602          pjsua_media.c  .........Call 0: deinitializing media..
07:42:50.603          pjsua_media.c  ..........Call 0: cleaning up
provisional media, prov_med_cnt=2, med_cnt=0
07:42:50.603          pjsua_core.c  .RX 1069 bytes Request msg
INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
Contact: sip:70019@10.211.41.33:5060;transport=UDP
To: sip:70016@lim1.prathyush.com;user=phone
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 INVITE
Session-Expires: 1800
Min-SE: 90
Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK,
SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH
Content-Type: application/sdp
Supported: timer, replaces, 100rel
User-Agent: Aastra MX-ONE SN/17.2.1.1.12
Content-Length: 402

v=0
o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50
s=3cxVCE Audio Call
c=IN IP4 10.211.41.50
t=0 0
m=audio 40012 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
m=video 0 RTP/AVP 34
c=IN IP4 10.211.41.50
a=rtpmap:34 H263/90000
a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
a=sendrecv

--end msg--
07:42:50.604          pjsua_core.c  ..TX 337 bytes Response msg
500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060:
SIP/2.0 500
Via: SIP/2.0/UDP 10.211.41.33:5060
;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
CSeq: 1 INVITE
Content-Length:  0

--end msg--
07:42:50.605          pjsua_core.c  .RX 1069 bytes Request msg
INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
Contact: sip:70019@10.211.41.33:5060;transport=UDP
To: sip:70016@lim1.prathyush.com;user=phone
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 INVITE
Session-Expires: 1800
Min-SE: 90
Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK,
SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH
Content-Type: application/sdp
Supported: timer, replaces, 100rel
User-Agent: Aastra MX-ONE SN/17.2.1.1.12
Content-Length: 402

v=0
o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50
s=3cxVCE Audio Call
c=IN IP4 10.211.41.50
t=0 0
m=audio 40012 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
m=video 0 RTP/AVP 34
c=IN IP4 10.211.41.50
a=rtpmap:34 H263/90000
a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
a=sendrecv

--end msg--
07:42:50.606          pjsua_core.c  ..TX 337 bytes Response msg
500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060:
SIP/2.0 500
Via: SIP/2.0/UDP 10.211.41.33:5060
;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
CSeq: 1 INVITE
Content-Length:  0

--end msg--
07:42:50.607          pjsua_core.c  .RX 1069 bytes Request msg
INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
Contact: sip:70019@10.211.41.33:5060;transport=UDP
To: sip:70016@lim1.prathyush.com;user=phone
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 INVITE
Session-Expires: 1800
Min-SE: 90
Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK,
SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH
Content-Type: application/sdp
Supported: timer, replaces, 100rel
User-Agent: Aastra MX-ONE SN/17.2.1.1.12
Content-Length: 402

v=0
o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50
s=3cxVCE Audio Call
c=IN IP4 10.211.41.50
t=0 0
m=audio 40012 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
m=video 0 RTP/AVP 34
c=IN IP4 10.211.41.50
a=rtpmap:34 H263/90000
a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
a=sendrecv

--end msg--
07:42:50.609          pjsua_core.c  ..TX 337 bytes Response msg
500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060:
SIP/2.0 500
Via: SIP/2.0/UDP 10.211.41.33:5060
;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
CSeq: 1 INVITE
Content-Length:  0

--end msg--
07:42:50.609          pjsua_core.c  .RX 350 bytes Request msg
CANCEL/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
CANCEL sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
To: sip:70016@lim1.prathyush.com;user=phone
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 CANCEL
Content-Length: 0

--end msg--
07:42:50.610          pjsua_core.c  .......TX 339 bytes Response msg
200/CANCEL/cseq=1 (tdta0x7f46f80208d8) to UDP 10.211.41.33:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.211.41.33:5060
;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
CSeq: 1 CANCEL
Content-Length:  0

--end msg--
07:42:50.610          pjsua_core.c  .RX 381 bytes Request msg ACK/cseq=1
(rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 ACK
Content-Length: 0

--end msg--
07:42:50.611          pjsua_core.c  .RX 381 bytes Request msg ACK/cseq=1
(rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 ACK
Content-Length: 0

--end msg--
07:42:50.612          pjsua_core.c  .RX 381 bytes Request msg ACK/cseq=1
(rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 ACK
Content-Length: 0

--end msg--
07:42:50.612          pjsua_core.c  .RX 381 bytes Request msg ACK/cseq=1
(rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 ACK
Content-Length: 0

--end msg--
07:42:50.613          pjsua_core.c  .RX 392 bytes Request msg
CANCEL/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
CANCEL sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
To: sip:70016@lim1.prathyush.com;user=phone
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 CANCEL
User-Agent: Aastra MX-ONE SN/17.2.1.1.12
Content-Length: 0

--end msg--
07:42:50.613          pjsua_core.c  ..TX 339 bytes Response msg
200/CANCEL/cseq=1 (tdta0x7f46f80208d8) to UDP 10.211.41.33:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.211.41.33:5060
;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
CSeq: 1 CANCEL
Content-Length:  0

--end msg--
*** Quit
07:43:04.134          pjsua_core.c !Shutting down, flags=0...
07:43:04.134          pjsua_core.c  PJSUA state changed: RUNNING -->
CLOSING
07:43:04.137          pjsua_call.c  .Hangup all calls..
07:43:04.137          pjsua_media.c  .Call 0: deinitializing media..
07:43:04.137          pjsua_media.c  .Call 1: deinitializing media..
07:43:04.137          pjsua_media.c  .Call 2: deinitializing media..
07:43:04.137          pjsua_media.c  .Call 3: deinitializing media..
07:43:04.137          pjsua_pres.c  .Shutting down presence..
07:43:04.137            pjsua_acc.c  .Acc 0: setting unregistration..
07:43:04.137          pjsua_core.c  ...TX 387 bytes Request msg
REGISTER/cseq=470 (tdta0x1f69538) to UDP 10.211.41.33:5060:
REGISTER sip:10.211.41.33 SIP/2.0
Via: SIP/2.0/UDP 10.211.41.170:60960
;rport;branch=z9hG4bKPj5sWoGqwd3FrYVfEnxmIpETqwGIU6MJep
Max-Forwards: 70
From: sip:70016@10.211.41.33;tag=xtXpHI8QUEanXR-9vIiQWMykIBt6fJ5x
To: sip:70016@10.211.41.33
Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6
CSeq: 470 REGISTER
Contact: sip:70016@10.211.41.170:60960;ob
Expires: 0
Content-Length:  0

--end msg--
07:43:04.138            pjsua_acc.c  ..Acc 0: Unregistration sent
07:43:04.145          pjsua_core.c  ..RX 353 bytes Response msg
200/REGISTER/cseq=470 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.211.41.170:60960
;rport=60960;branch=z9hG4bKPj5sWoGqwd3FrYVfEnxmIpETqwGIU6MJep
To: sip:70016@10.211.41.33;tag=5a618b0d
From: sip:70016@10.211.41.33;tag=xtXpHI8QUEanXR-9vIiQWMykIBt6fJ5x
Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6
CSeq: 470 REGISTER
User-Agent: Aastra MX-ONE SN/17.2.1.1.12
Content-Length: 0

--end msg--
07:43:04.145            pjsua_acc.c  .....sip:70016@10.211.41.33:
unregistration success
***OnRegState: OK
07:43:05.149          pjsua_core.c  .Destroying...
07:43:05.149          pjsua_media.c  .Shutting down media..
07:43:05.608      sip_transaction.c  .Stopping transaction layer module
07:43:05.608      sip_transaction.c  .Stopped transaction layer module
07:43:05.608        sip_endpoint.c  .Module "mod-unsolicited-mwi"
unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-pjsua-options"
unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-pjsua-im" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-pjsua-pres" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-pjsua" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-stateful-util"
unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-refer" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-mwi" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-presence" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-evsub" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-invite" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-100rel" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-ua" unregistered
07:43:05.608      sip_transaction.c  .Transaction layer module destroyed
07:43:05.608        sip_endpoint.c  .Module "mod-tsx-layer" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-msg-print" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-pjsua-log" unregistered
07:43:05.609          udp0x1f67960  .SIP UDP transport destroyed
07:43:05.611          udp0x1f6b570  .SIP UDP transport destroyed
07:43:05.611                timer.c  .Dumping timer heap:
07:43:05.611                timer.c  .  Cur size: 0 entries, max: 3070
07:43:05.611        sip_endpoint.c  .Endpoint 0x1e41288 destroyed
07:43:05.611          pjsua_core.c  .PJSUA state changed: CLOSING --> NULL
07:43:05.611          pjsua_core.c  .PJSUA destroyed...msn@sipmodule:~/PJSIP$
python3 BaseClass.py
07:42:34.100        os_core_unix.c !pjlib 2.10 for POSIX initialized
07:42:34.100        sip_endpoint.c  .Creating endpoint instance...
07:42:34.100                  pjlib  .select() I/O Queue created (0x1f48930)
07:42:34.100        sip_endpoint.c  .Module "mod-msg-print" registered
07:42:34.100        sip_transport.c  .Transport manager created.
07:42:34.100          pjsua_core.c  .PJSUA state changed: NULL --> CREATED
07:42:34.100        sip_endpoint.c  .Module "mod-pjsua-log" registered
07:42:34.100        sip_endpoint.c  .Module "mod-tsx-layer" registered
07:42:34.100        sip_endpoint.c  .Module "mod-stateful-util" registered
07:42:34.100        sip_endpoint.c  .Module "mod-ua" registered
07:42:34.100        sip_endpoint.c  .Module "mod-100rel" registered
07:42:34.100        sip_endpoint.c  .Module "mod-pjsua" registered
07:42:34.100        sip_endpoint.c  .Module "mod-invite" registered
07:42:34.101                  pjlib  ..select() I/O Queue created
(0x1f51038)
07:42:34.103        sip_endpoint.c  .Module "mod-evsub" registered
07:42:34.103        sip_endpoint.c  .Module "mod-presence" registered
07:42:34.103        sip_endpoint.c  .Module "mod-mwi" registered
07:42:34.103        sip_endpoint.c  .Module "mod-refer" registered
07:42:34.103        sip_endpoint.c  .Module "mod-pjsua-pres" registered
07:42:34.103        sip_endpoint.c  .Module "mod-pjsua-im" registered
07:42:34.103        sip_endpoint.c  .Module "mod-pjsua-options" registered
07:42:34.103          pjsua_core.c  .1 SIP worker threads created
07:42:34.103          pjsua_core.c  .pjsua version 2.10 for
Linux-4.15.0.99/x86_64/glibc-2.27 initialized
07:42:34.103          pjsua_core.c  .PJSUA state changed: CREATED --> INIT
07:42:34.103          pjsua_core.c  SIP UDP socket reachable at
10.211.41.170:60960
07:42:34.103          udp0x1f67960  SIP UDP transport started, published
address is 10.211.41.170:60960
07:42:34.103          pjsua_core.c  PJSUA state changed: INIT --> STARTING
07:42:34.103        sip_endpoint.c  .Module "mod-unsolicited-mwi"
registered
07:42:34.103          pjsua_core.c  .PJSUA state changed: STARTING -->
RUNNING
07:42:34.103          pjsua_core.c  SIP UDP socket reachable at
10.211.41.170:57326
07:42:34.103          udp0x1f6b570  SIP UDP transport started, published
address is 10.211.41.170:57326
07:42:34.103            pjsua_acc.c  Adding account: id=
sip:70016@10.211.41.33
07:42:34.104            pjsua_acc.c  .Account sip:70016@10.211.41.33 added
with id 0
07:42:34.104            pjsua_acc.c  .Acc 0: setting registration..
07:42:34.104          pjsua_core.c  ...TX 487 bytes Request msg
REGISTER/cseq=469 (tdta0x1f713d8) to UDP 10.211.41.33:5060:
REGISTER sip:10.211.41.33 SIP/2.0
Via: SIP/2.0/UDP 10.211.41.170:60960
;rport;branch=z9hG4bKPjLIKwniJBlmGxul3M93epRgJz6fNe9rRT
Max-Forwards: 70
From: sip:70016@10.211.41.33;tag=NoApEwPXyrAAlmQI41hBaybBIZFBdwYV
To: sip:70016@10.211.41.33
Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6
CSeq: 469 REGISTER
Contact: sip:70016@10.211.41.170:60960;ob
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY,
REFER, MESSAGE, OPTIONS
Content-Length:  0

--end msg--
07:42:34.104            pjsua_acc.c  ..Acc 0: Registration sent
07:42:34.149          pjsua_core.c  .RX 770 bytes Response msg
200/REGISTER/cseq=469 (rdata0x1f694b8) from UDP 10.211.41.33:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.211.41.170:60960
;rport=60960;branch=z9hG4bKPjLIKwniJBlmGxul3M93epRgJz6fNe9rRT
Contact: "TestExtension16"<sip:70016@10.211.41.170:60960
;ob>;audio;expires=300
To: sip:70016@10.211.41.33;tag=f909a27b
From: sip:70016@10.211.41.33;tag=NoApEwPXyrAAlmQI41hBaybBIZFBdwYV
Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6
CSeq: 469 REGISTER
Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK,
SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH
Call-Info: sip:domain.invalid;first-registration="true"
Date: Fri, 15 May 2020 07:37:46 GMT
User-Agent: Aastra MX-ONE SN/17.2.1.1.12
Allow-Events: message-summary, reg, dialog, server-side-terminal-control,
call-info, line-seize, call-completion, presence
Content-Length: 0

--end msg--
07:42:34.150            pjsua_acc.c  ....SIP outbound status for acc 0 is
not active
07:42:34.150            pjsua_acc.c  ....sip:70016@10.211.41.33:
registration success, status=200 (OK), will re-register in 300 seconds
07:42:34.150            pjsua_acc.c  ....Keep-alive timer started for acc
0, destination:10.211.41.33:5060, interval:15s
***OnRegState: OK
07:42:40.587          pjsua_core.c  .RX 1069 bytes Request msg
INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
Contact: sip:70019@10.211.41.33:5060;transport=UDP
To: sip:70016@lim1.prathyush.com;user=phone
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 INVITE
Session-Expires: 1800
Min-SE: 90
Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK,
SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH
Content-Type: application/sdp
Supported: timer, replaces, 100rel
User-Agent: Aastra MX-ONE SN/17.2.1.1.12
Content-Length: 402

v=0
o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50
s=3cxVCE Audio Call
c=IN IP4 10.211.41.50
t=0 0
m=audio 40012 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
m=video 0 RTP/AVP 34
c=IN IP4 10.211.41.50
a=rtpmap:34 H263/90000
a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
a=sendrecv

--end msg--
07:42:40.589          pjsua_call.c  .Incoming Request msg INVITE/cseq=1
(rdata0x7f46f80012e8)
07:42:40.589          pjsua_media.c  ..Call 0: initializing media..
07:42:40.589          pjsua_media.c  ...RTP socket reachable at
10.211.41.170:4000
07:42:40.590          pjsua_media.c  ...RTCP socket reachable at
10.211.41.170:4001
07:42:40.590          pjsua_media.c  ...Media index 0 selected for audio
call 0
*** Call  ID0
07:42:40.590          pjsua_call.c  ...Answering call 0: code=180
07:42:40.590          pjsua_call.c  ....Pending answering call 0 upon
completion of media transport
***onIncomingCall: Incoming call for account <sip:70019@lim1.prathyush.com
;user=phone>
07:42:40.590          pjsua_call.c  ...Answering call 0: code=200
07:42:40.590          pjsua_call.c  ....Pending answering call 0 upon
completion of media transport
07:42:50.600          pjsua_call.c  ...Call 0 hanging up: code=0..
07:42:50.601          pjsua_call.c  ....Pending call 0 hangup upon
completion of media transport
07:42:50.601          pjsua_call.c  ...Call 0 hanging up: code=500..
07:42:50.601          pjsua_call.c  ....Pending call 0 hangup upon
completion of media transport
07:42:50.601          pjsua_core.c  .....TX 306 bytes Response msg
100/INVITE/cseq=1 (tdta0x7f46f801e988) to UDP 10.211.41.33:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.211.41.33:5060
;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
To: sip:70016@lim1.prathyush.com;user=phone
CSeq: 1 INVITE
Content-Length:  0

--end msg--
07:42:50.602          pjsua_call.c  ..Call 0 hanging up: code=500..
07:42:50.602          pjsua_core.c  ......TX 337 bytes Response msg
500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060:
SIP/2.0 500
Via: SIP/2.0/UDP 10.211.41.33:5060
;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
CSeq: 1 INVITE
Content-Length:  0

--end msg--
07:42:50.602          pjsua_media.c  .........Call 0: deinitializing media..
07:42:50.603          pjsua_media.c  ..........Call 0: cleaning up
provisional media, prov_med_cnt=2, med_cnt=0
07:42:50.603          pjsua_core.c  .RX 1069 bytes Request msg
INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
Contact: sip:70019@10.211.41.33:5060;transport=UDP
To: sip:70016@lim1.prathyush.com;user=phone
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 INVITE
Session-Expires: 1800
Min-SE: 90
Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK,
SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH
Content-Type: application/sdp
Supported: timer, replaces, 100rel
User-Agent: Aastra MX-ONE SN/17.2.1.1.12
Content-Length: 402

v=0
o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50
s=3cxVCE Audio Call
c=IN IP4 10.211.41.50
t=0 0
m=audio 40012 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
m=video 0 RTP/AVP 34
c=IN IP4 10.211.41.50
a=rtpmap:34 H263/90000
a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
a=sendrecv

--end msg--
07:42:50.604          pjsua_core.c  ..TX 337 bytes Response msg
500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060:
SIP/2.0 500
Via: SIP/2.0/UDP 10.211.41.33:5060
;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
CSeq: 1 INVITE
Content-Length:  0

--end msg--
07:42:50.605          pjsua_core.c  .RX 1069 bytes Request msg
INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
Contact: sip:70019@10.211.41.33:5060;transport=UDP
To: sip:70016@lim1.prathyush.com;user=phone
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 INVITE
Session-Expires: 1800
Min-SE: 90
Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK,
SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH
Content-Type: application/sdp
Supported: timer, replaces, 100rel
User-Agent: Aastra MX-ONE SN/17.2.1.1.12
Content-Length: 402

v=0
o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50
s=3cxVCE Audio Call
c=IN IP4 10.211.41.50
t=0 0
m=audio 40012 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
m=video 0 RTP/AVP 34
c=IN IP4 10.211.41.50
a=rtpmap:34 H263/90000
a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
a=sendrecv

--end msg--
07:42:50.606          pjsua_core.c  ..TX 337 bytes Response msg
500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060:
SIP/2.0 500
Via: SIP/2.0/UDP 10.211.41.33:5060
;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
CSeq: 1 INVITE
Content-Length:  0

--end msg--
07:42:50.607          pjsua_core.c  .RX 1069 bytes Request msg
INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
Contact: sip:70019@10.211.41.33:5060;transport=UDP
To: sip:70016@lim1.prathyush.com;user=phone
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 INVITE
Session-Expires: 1800
Min-SE: 90
Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK,
SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH
Content-Type: application/sdp
Supported: timer, replaces, 100rel
User-Agent: Aastra MX-ONE SN/17.2.1.1.12
Content-Length: 402

v=0
o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50
s=3cxVCE Audio Call
c=IN IP4 10.211.41.50
t=0 0
m=audio 40012 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
m=video 0 RTP/AVP 34
c=IN IP4 10.211.41.50
a=rtpmap:34 H263/90000
a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
a=sendrecv

--end msg--
07:42:50.609          pjsua_core.c  ..TX 337 bytes Response msg
500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060:
SIP/2.0 500
Via: SIP/2.0/UDP 10.211.41.33:5060
;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
CSeq: 1 INVITE
Content-Length:  0

--end msg--
07:42:50.609          pjsua_core.c  .RX 350 bytes Request msg
CANCEL/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
CANCEL sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
To: sip:70016@lim1.prathyush.com;user=phone
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 CANCEL
Content-Length: 0

--end msg--
07:42:50.610          pjsua_core.c  .......TX 339 bytes Response msg
200/CANCEL/cseq=1 (tdta0x7f46f80208d8) to UDP 10.211.41.33:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.211.41.33:5060
;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
CSeq: 1 CANCEL
Content-Length:  0

--end msg--
07:42:50.610          pjsua_core.c  .RX 381 bytes Request msg ACK/cseq=1
(rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 ACK
Content-Length: 0

--end msg--
07:42:50.611          pjsua_core.c  .RX 381 bytes Request msg ACK/cseq=1
(rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 ACK
Content-Length: 0

--end msg--
07:42:50.612          pjsua_core.c  .RX 381 bytes Request msg ACK/cseq=1
(rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 ACK
Content-Length: 0

--end msg--
07:42:50.612          pjsua_core.c  .RX 381 bytes Request msg ACK/cseq=1
(rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 ACK
Content-Length: 0

--end msg--
07:42:50.613          pjsua_core.c  .RX 392 bytes Request msg
CANCEL/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
CANCEL sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.211.41.33:5060
;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport
Max-Forwards: 70
To: sip:70016@lim1.prathyush.com;user=phone
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
CSeq: 1 CANCEL
User-Agent: Aastra MX-ONE SN/17.2.1.1.12
Content-Length: 0

--end msg--
07:42:50.613          pjsua_core.c  ..TX 339 bytes Response msg
200/CANCEL/cseq=1 (tdta0x7f46f80208d8) to UDP 10.211.41.33:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.211.41.33:5060
;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26
Call-ID: ZYJHhXdPc3dMWEEolfZE8w..
From: sip:70019@lim1.prathyush.com;user=phone;tag=d6442970
To: <sip:70016@lim1.prathyush.com
;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y
CSeq: 1 CANCEL
Content-Length:  0

--end msg--
*** Quit
07:43:04.134          pjsua_core.c !Shutting down, flags=0...
07:43:04.134          pjsua_core.c  PJSUA state changed: RUNNING -->
CLOSING
07:43:04.137          pjsua_call.c  .Hangup all calls..
07:43:04.137          pjsua_media.c  .Call 0: deinitializing media..
07:43:04.137          pjsua_media.c  .Call 1: deinitializing media..
07:43:04.137          pjsua_media.c  .Call 2: deinitializing media..
07:43:04.137          pjsua_media.c  .Call 3: deinitializing media..
07:43:04.137          pjsua_pres.c  .Shutting down presence..
07:43:04.137            pjsua_acc.c  .Acc 0: setting unregistration..
07:43:04.137          pjsua_core.c  ...TX 387 bytes Request msg
REGISTER/cseq=470 (tdta0x1f69538) to UDP 10.211.41.33:5060:
REGISTER sip:10.211.41.33 SIP/2.0
Via: SIP/2.0/UDP 10.211.41.170:60960
;rport;branch=z9hG4bKPj5sWoGqwd3FrYVfEnxmIpETqwGIU6MJep
Max-Forwards: 70
From: sip:70016@10.211.41.33;tag=xtXpHI8QUEanXR-9vIiQWMykIBt6fJ5x
To: sip:70016@10.211.41.33
Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6
CSeq: 470 REGISTER
Contact: sip:70016@10.211.41.170:60960;ob
Expires: 0
Content-Length:  0

--end msg--
07:43:04.138            pjsua_acc.c  ..Acc 0: Unregistration sent
07:43:04.145          pjsua_core.c  ..RX 353 bytes Response msg
200/REGISTER/cseq=470 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.211.41.170:60960
;rport=60960;branch=z9hG4bKPj5sWoGqwd3FrYVfEnxmIpETqwGIU6MJep
To: sip:70016@10.211.41.33;tag=5a618b0d
From: sip:70016@10.211.41.33;tag=xtXpHI8QUEanXR-9vIiQWMykIBt6fJ5x
Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6
CSeq: 470 REGISTER
User-Agent: Aastra MX-ONE SN/17.2.1.1.12
Content-Length: 0

--end msg--
07:43:04.145            pjsua_acc.c  .....sip:70016@10.211.41.33:
unregistration success
***OnRegState: OK
07:43:05.149          pjsua_core.c  .Destroying...
07:43:05.149          pjsua_media.c  .Shutting down media..
07:43:05.608      sip_transaction.c  .Stopping transaction layer module
07:43:05.608      sip_transaction.c  .Stopped transaction layer module
07:43:05.608        sip_endpoint.c  .Module "mod-unsolicited-mwi"
unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-pjsua-options"
unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-pjsua-im" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-pjsua-pres" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-pjsua" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-stateful-util"
unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-refer" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-mwi" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-presence" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-evsub" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-invite" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-100rel" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-ua" unregistered
07:43:05.608      sip_transaction.c  .Transaction layer module destroyed
07:43:05.608        sip_endpoint.c  .Module "mod-tsx-layer" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-msg-print" unregistered
07:43:05.608        sip_endpoint.c  .Module "mod-pjsua-log" unregistered
07:43:05.609          udp0x1f67960  .SIP UDP transport destroyed
07:43:05.611          udp0x1f6b570  .SIP UDP transport destroyed
07:43:05.611                timer.c  .Dumping timer heap:
07:43:05.611                timer.c  .  Cur size: 0 entries, max: 3070
07:43:05.611        sip_endpoint.c  .Endpoint 0x1e41288 destroyed
07:43:05.611          pjsua_core.c  .PJSUA state changed: CLOSING --> NULL
07:43:05.611          pjsua_core.c  .PJSUA destroyed...

Hey , I'm trying to write a simple SIP client with PJSUA2. Account got registered but couldn't make / answer call from it. please help. msn@sipmodule:~/PJSIP$ python3 BaseClass.py 07:42:34.100 os_core_unix.c !pjlib 2.10 for POSIX initialized 07:42:34.100 sip_endpoint.c .Creating endpoint instance... 07:42:34.100 pjlib .select() I/O Queue created (0x1f48930) 07:42:34.100 sip_endpoint.c .Module "mod-msg-print" registered 07:42:34.100 sip_transport.c .Transport manager created. 07:42:34.100 pjsua_core.c .PJSUA state changed: NULL --> CREATED 07:42:34.100 sip_endpoint.c .Module "mod-pjsua-log" registered 07:42:34.100 sip_endpoint.c .Module "mod-tsx-layer" registered 07:42:34.100 sip_endpoint.c .Module "mod-stateful-util" registered 07:42:34.100 sip_endpoint.c .Module "mod-ua" registered 07:42:34.100 sip_endpoint.c .Module "mod-100rel" registered 07:42:34.100 sip_endpoint.c .Module "mod-pjsua" registered 07:42:34.100 sip_endpoint.c .Module "mod-invite" registered 07:42:34.101 pjlib ..select() I/O Queue created (0x1f51038) 07:42:34.103 sip_endpoint.c .Module "mod-evsub" registered 07:42:34.103 sip_endpoint.c .Module "mod-presence" registered 07:42:34.103 sip_endpoint.c .Module "mod-mwi" registered 07:42:34.103 sip_endpoint.c .Module "mod-refer" registered 07:42:34.103 sip_endpoint.c .Module "mod-pjsua-pres" registered 07:42:34.103 sip_endpoint.c .Module "mod-pjsua-im" registered 07:42:34.103 sip_endpoint.c .Module "mod-pjsua-options" registered 07:42:34.103 pjsua_core.c .1 SIP worker threads created 07:42:34.103 pjsua_core.c .pjsua version 2.10 for Linux-4.15.0.99/x86_64/glibc-2.27 initialized 07:42:34.103 pjsua_core.c .PJSUA state changed: CREATED --> INIT 07:42:34.103 pjsua_core.c SIP UDP socket reachable at 10.211.41.170:60960 07:42:34.103 udp0x1f67960 SIP UDP transport started, published address is 10.211.41.170:60960 07:42:34.103 pjsua_core.c PJSUA state changed: INIT --> STARTING 07:42:34.103 sip_endpoint.c .Module "mod-unsolicited-mwi" registered 07:42:34.103 pjsua_core.c .PJSUA state changed: STARTING --> RUNNING 07:42:34.103 pjsua_core.c SIP UDP socket reachable at 10.211.41.170:57326 07:42:34.103 udp0x1f6b570 SIP UDP transport started, published address is 10.211.41.170:57326 07:42:34.103 pjsua_acc.c Adding account: id= sip:70016@10.211.41.33 07:42:34.104 pjsua_acc.c .Account sip:70016@10.211.41.33 added with id 0 07:42:34.104 pjsua_acc.c .Acc 0: setting registration.. 07:42:34.104 pjsua_core.c ...TX 487 bytes Request msg REGISTER/cseq=469 (tdta0x1f713d8) to UDP 10.211.41.33:5060: REGISTER sip:10.211.41.33 SIP/2.0 Via: SIP/2.0/UDP 10.211.41.170:60960 ;rport;branch=z9hG4bKPjLIKwniJBlmGxul3M93epRgJz6fNe9rRT Max-Forwards: 70 From: <sip:70016@10.211.41.33>;tag=NoApEwPXyrAAlmQI41hBaybBIZFBdwYV To: <sip:70016@10.211.41.33> Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6 CSeq: 469 REGISTER Contact: <sip:70016@10.211.41.170:60960;ob> Expires: 300 Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Content-Length: 0 --end msg-- 07:42:34.104 pjsua_acc.c ..Acc 0: Registration sent 07:42:34.149 pjsua_core.c .RX 770 bytes Response msg 200/REGISTER/cseq=469 (rdata0x1f694b8) from UDP 10.211.41.33:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 10.211.41.170:60960 ;rport=60960;branch=z9hG4bKPjLIKwniJBlmGxul3M93epRgJz6fNe9rRT Contact: "TestExtension16"<sip:70016@10.211.41.170:60960 ;ob>;audio;expires=300 To: <sip:70016@10.211.41.33>;tag=f909a27b From: <sip:70016@10.211.41.33>;tag=NoApEwPXyrAAlmQI41hBaybBIZFBdwYV Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6 CSeq: 469 REGISTER Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK, SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH Call-Info: <sip:domain.invalid>;first-registration="true" Date: Fri, 15 May 2020 07:37:46 GMT User-Agent: Aastra MX-ONE SN/17.2.1.1.12 Allow-Events: message-summary, reg, dialog, server-side-terminal-control, call-info, line-seize, call-completion, presence Content-Length: 0 --end msg-- 07:42:34.150 pjsua_acc.c ....SIP outbound status for acc 0 is not active 07:42:34.150 pjsua_acc.c ....sip:70016@10.211.41.33: registration success, status=200 (OK), will re-register in 300 seconds 07:42:34.150 pjsua_acc.c ....Keep-alive timer started for acc 0, destination:10.211.41.33:5060, interval:15s ***OnRegState: OK 07:42:40.587 pjsua_core.c .RX 1069 bytes Request msg INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 Contact: <sip:70019@10.211.41.33:5060;transport=UDP> To: <sip:70016@lim1.prathyush.com;user=phone> From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 INVITE Session-Expires: 1800 Min-SE: 90 Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK, SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH Content-Type: application/sdp Supported: timer, replaces, 100rel User-Agent: Aastra MX-ONE SN/17.2.1.1.12 Content-Length: 402 v=0 o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50 s=3cxVCE Audio Call c=IN IP4 10.211.41.50 t=0 0 m=audio 40012 RTP/AVP 0 8 3 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv m=video 0 RTP/AVP 34 c=IN IP4 10.211.41.50 a=rtpmap:34 H263/90000 a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1 a=sendrecv --end msg-- 07:42:40.589 pjsua_call.c .Incoming Request msg INVITE/cseq=1 (rdata0x7f46f80012e8) 07:42:40.589 pjsua_media.c ..Call 0: initializing media.. 07:42:40.589 pjsua_media.c ...RTP socket reachable at 10.211.41.170:4000 07:42:40.590 pjsua_media.c ...RTCP socket reachable at 10.211.41.170:4001 07:42:40.590 pjsua_media.c ...Media index 0 selected for audio call 0 *** Call ID0 07:42:40.590 pjsua_call.c ...Answering call 0: code=180 07:42:40.590 pjsua_call.c ....Pending answering call 0 upon completion of media transport ***onIncomingCall: Incoming call for account <sip:70019@lim1.prathyush.com ;user=phone> 07:42:40.590 pjsua_call.c ...Answering call 0: code=200 07:42:40.590 pjsua_call.c ....Pending answering call 0 upon completion of media transport 07:42:50.600 pjsua_call.c ...Call 0 hanging up: code=0.. 07:42:50.601 pjsua_call.c ....Pending call 0 hangup upon completion of media transport 07:42:50.601 pjsua_call.c ...Call 0 hanging up: code=500.. 07:42:50.601 pjsua_call.c ....Pending call 0 hangup upon completion of media transport 07:42:50.601 pjsua_core.c .....TX 306 bytes Response msg 100/INVITE/cseq=1 (tdta0x7f46f801e988) to UDP 10.211.41.33:5060: SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.211.41.33:5060 ;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 To: <sip:70016@lim1.prathyush.com;user=phone> CSeq: 1 INVITE Content-Length: 0 --end msg-- 07:42:50.602 pjsua_call.c ..Call 0 hanging up: code=500.. 07:42:50.602 pjsua_core.c ......TX 337 bytes Response msg 500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060: SIP/2.0 500 Via: SIP/2.0/UDP 10.211.41.33:5060 ;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y CSeq: 1 INVITE Content-Length: 0 --end msg-- 07:42:50.602 pjsua_media.c .........Call 0: deinitializing media.. 07:42:50.603 pjsua_media.c ..........Call 0: cleaning up provisional media, prov_med_cnt=2, med_cnt=0 07:42:50.603 pjsua_core.c .RX 1069 bytes Request msg INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 Contact: <sip:70019@10.211.41.33:5060;transport=UDP> To: <sip:70016@lim1.prathyush.com;user=phone> From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 INVITE Session-Expires: 1800 Min-SE: 90 Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK, SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH Content-Type: application/sdp Supported: timer, replaces, 100rel User-Agent: Aastra MX-ONE SN/17.2.1.1.12 Content-Length: 402 v=0 o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50 s=3cxVCE Audio Call c=IN IP4 10.211.41.50 t=0 0 m=audio 40012 RTP/AVP 0 8 3 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv m=video 0 RTP/AVP 34 c=IN IP4 10.211.41.50 a=rtpmap:34 H263/90000 a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1 a=sendrecv --end msg-- 07:42:50.604 pjsua_core.c ..TX 337 bytes Response msg 500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060: SIP/2.0 500 Via: SIP/2.0/UDP 10.211.41.33:5060 ;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y CSeq: 1 INVITE Content-Length: 0 --end msg-- 07:42:50.605 pjsua_core.c .RX 1069 bytes Request msg INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 Contact: <sip:70019@10.211.41.33:5060;transport=UDP> To: <sip:70016@lim1.prathyush.com;user=phone> From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 INVITE Session-Expires: 1800 Min-SE: 90 Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK, SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH Content-Type: application/sdp Supported: timer, replaces, 100rel User-Agent: Aastra MX-ONE SN/17.2.1.1.12 Content-Length: 402 v=0 o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50 s=3cxVCE Audio Call c=IN IP4 10.211.41.50 t=0 0 m=audio 40012 RTP/AVP 0 8 3 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv m=video 0 RTP/AVP 34 c=IN IP4 10.211.41.50 a=rtpmap:34 H263/90000 a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1 a=sendrecv --end msg-- 07:42:50.606 pjsua_core.c ..TX 337 bytes Response msg 500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060: SIP/2.0 500 Via: SIP/2.0/UDP 10.211.41.33:5060 ;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y CSeq: 1 INVITE Content-Length: 0 --end msg-- 07:42:50.607 pjsua_core.c .RX 1069 bytes Request msg INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 Contact: <sip:70019@10.211.41.33:5060;transport=UDP> To: <sip:70016@lim1.prathyush.com;user=phone> From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 INVITE Session-Expires: 1800 Min-SE: 90 Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK, SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH Content-Type: application/sdp Supported: timer, replaces, 100rel User-Agent: Aastra MX-ONE SN/17.2.1.1.12 Content-Length: 402 v=0 o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50 s=3cxVCE Audio Call c=IN IP4 10.211.41.50 t=0 0 m=audio 40012 RTP/AVP 0 8 3 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv m=video 0 RTP/AVP 34 c=IN IP4 10.211.41.50 a=rtpmap:34 H263/90000 a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1 a=sendrecv --end msg-- 07:42:50.609 pjsua_core.c ..TX 337 bytes Response msg 500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060: SIP/2.0 500 Via: SIP/2.0/UDP 10.211.41.33:5060 ;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y CSeq: 1 INVITE Content-Length: 0 --end msg-- 07:42:50.609 pjsua_core.c .RX 350 bytes Request msg CANCEL/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: CANCEL sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 To: <sip:70016@lim1.prathyush.com;user=phone> From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 CANCEL Content-Length: 0 --end msg-- 07:42:50.610 pjsua_core.c .......TX 339 bytes Response msg 200/CANCEL/cseq=1 (tdta0x7f46f80208d8) to UDP 10.211.41.33:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 10.211.41.33:5060 ;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y CSeq: 1 CANCEL Content-Length: 0 --end msg-- 07:42:50.610 pjsua_core.c .RX 381 bytes Request msg ACK/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 ACK Content-Length: 0 --end msg-- 07:42:50.611 pjsua_core.c .RX 381 bytes Request msg ACK/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 ACK Content-Length: 0 --end msg-- 07:42:50.612 pjsua_core.c .RX 381 bytes Request msg ACK/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 ACK Content-Length: 0 --end msg-- 07:42:50.612 pjsua_core.c .RX 381 bytes Request msg ACK/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 ACK Content-Length: 0 --end msg-- 07:42:50.613 pjsua_core.c .RX 392 bytes Request msg CANCEL/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: CANCEL sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 To: <sip:70016@lim1.prathyush.com;user=phone> From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 CANCEL User-Agent: Aastra MX-ONE SN/17.2.1.1.12 Content-Length: 0 --end msg-- 07:42:50.613 pjsua_core.c ..TX 339 bytes Response msg 200/CANCEL/cseq=1 (tdta0x7f46f80208d8) to UDP 10.211.41.33:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 10.211.41.33:5060 ;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y CSeq: 1 CANCEL Content-Length: 0 --end msg-- *** Quit 07:43:04.134 pjsua_core.c !Shutting down, flags=0... 07:43:04.134 pjsua_core.c PJSUA state changed: RUNNING --> CLOSING 07:43:04.137 pjsua_call.c .Hangup all calls.. 07:43:04.137 pjsua_media.c .Call 0: deinitializing media.. 07:43:04.137 pjsua_media.c .Call 1: deinitializing media.. 07:43:04.137 pjsua_media.c .Call 2: deinitializing media.. 07:43:04.137 pjsua_media.c .Call 3: deinitializing media.. 07:43:04.137 pjsua_pres.c .Shutting down presence.. 07:43:04.137 pjsua_acc.c .Acc 0: setting unregistration.. 07:43:04.137 pjsua_core.c ...TX 387 bytes Request msg REGISTER/cseq=470 (tdta0x1f69538) to UDP 10.211.41.33:5060: REGISTER sip:10.211.41.33 SIP/2.0 Via: SIP/2.0/UDP 10.211.41.170:60960 ;rport;branch=z9hG4bKPj5sWoGqwd3FrYVfEnxmIpETqwGIU6MJep Max-Forwards: 70 From: <sip:70016@10.211.41.33>;tag=xtXpHI8QUEanXR-9vIiQWMykIBt6fJ5x To: <sip:70016@10.211.41.33> Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6 CSeq: 470 REGISTER Contact: <sip:70016@10.211.41.170:60960;ob> Expires: 0 Content-Length: 0 --end msg-- 07:43:04.138 pjsua_acc.c ..Acc 0: Unregistration sent 07:43:04.145 pjsua_core.c ..RX 353 bytes Response msg 200/REGISTER/cseq=470 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 10.211.41.170:60960 ;rport=60960;branch=z9hG4bKPj5sWoGqwd3FrYVfEnxmIpETqwGIU6MJep To: <sip:70016@10.211.41.33>;tag=5a618b0d From: <sip:70016@10.211.41.33>;tag=xtXpHI8QUEanXR-9vIiQWMykIBt6fJ5x Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6 CSeq: 470 REGISTER User-Agent: Aastra MX-ONE SN/17.2.1.1.12 Content-Length: 0 --end msg-- 07:43:04.145 pjsua_acc.c .....sip:70016@10.211.41.33: unregistration success ***OnRegState: OK 07:43:05.149 pjsua_core.c .Destroying... 07:43:05.149 pjsua_media.c .Shutting down media.. 07:43:05.608 sip_transaction.c .Stopping transaction layer module 07:43:05.608 sip_transaction.c .Stopped transaction layer module 07:43:05.608 sip_endpoint.c .Module "mod-unsolicited-mwi" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-pjsua-options" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-pjsua-im" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-pjsua-pres" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-pjsua" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-stateful-util" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-refer" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-mwi" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-presence" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-evsub" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-invite" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-100rel" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-ua" unregistered 07:43:05.608 sip_transaction.c .Transaction layer module destroyed 07:43:05.608 sip_endpoint.c .Module "mod-tsx-layer" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-msg-print" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-pjsua-log" unregistered 07:43:05.609 udp0x1f67960 .SIP UDP transport destroyed 07:43:05.611 udp0x1f6b570 .SIP UDP transport destroyed 07:43:05.611 timer.c .Dumping timer heap: 07:43:05.611 timer.c . Cur size: 0 entries, max: 3070 07:43:05.611 sip_endpoint.c .Endpoint 0x1e41288 destroyed 07:43:05.611 pjsua_core.c .PJSUA state changed: CLOSING --> NULL 07:43:05.611 pjsua_core.c .PJSUA destroyed...msn@sipmodule:~/PJSIP$ python3 BaseClass.py 07:42:34.100 os_core_unix.c !pjlib 2.10 for POSIX initialized 07:42:34.100 sip_endpoint.c .Creating endpoint instance... 07:42:34.100 pjlib .select() I/O Queue created (0x1f48930) 07:42:34.100 sip_endpoint.c .Module "mod-msg-print" registered 07:42:34.100 sip_transport.c .Transport manager created. 07:42:34.100 pjsua_core.c .PJSUA state changed: NULL --> CREATED 07:42:34.100 sip_endpoint.c .Module "mod-pjsua-log" registered 07:42:34.100 sip_endpoint.c .Module "mod-tsx-layer" registered 07:42:34.100 sip_endpoint.c .Module "mod-stateful-util" registered 07:42:34.100 sip_endpoint.c .Module "mod-ua" registered 07:42:34.100 sip_endpoint.c .Module "mod-100rel" registered 07:42:34.100 sip_endpoint.c .Module "mod-pjsua" registered 07:42:34.100 sip_endpoint.c .Module "mod-invite" registered 07:42:34.101 pjlib ..select() I/O Queue created (0x1f51038) 07:42:34.103 sip_endpoint.c .Module "mod-evsub" registered 07:42:34.103 sip_endpoint.c .Module "mod-presence" registered 07:42:34.103 sip_endpoint.c .Module "mod-mwi" registered 07:42:34.103 sip_endpoint.c .Module "mod-refer" registered 07:42:34.103 sip_endpoint.c .Module "mod-pjsua-pres" registered 07:42:34.103 sip_endpoint.c .Module "mod-pjsua-im" registered 07:42:34.103 sip_endpoint.c .Module "mod-pjsua-options" registered 07:42:34.103 pjsua_core.c .1 SIP worker threads created 07:42:34.103 pjsua_core.c .pjsua version 2.10 for Linux-4.15.0.99/x86_64/glibc-2.27 initialized 07:42:34.103 pjsua_core.c .PJSUA state changed: CREATED --> INIT 07:42:34.103 pjsua_core.c SIP UDP socket reachable at 10.211.41.170:60960 07:42:34.103 udp0x1f67960 SIP UDP transport started, published address is 10.211.41.170:60960 07:42:34.103 pjsua_core.c PJSUA state changed: INIT --> STARTING 07:42:34.103 sip_endpoint.c .Module "mod-unsolicited-mwi" registered 07:42:34.103 pjsua_core.c .PJSUA state changed: STARTING --> RUNNING 07:42:34.103 pjsua_core.c SIP UDP socket reachable at 10.211.41.170:57326 07:42:34.103 udp0x1f6b570 SIP UDP transport started, published address is 10.211.41.170:57326 07:42:34.103 pjsua_acc.c Adding account: id= sip:70016@10.211.41.33 07:42:34.104 pjsua_acc.c .Account sip:70016@10.211.41.33 added with id 0 07:42:34.104 pjsua_acc.c .Acc 0: setting registration.. 07:42:34.104 pjsua_core.c ...TX 487 bytes Request msg REGISTER/cseq=469 (tdta0x1f713d8) to UDP 10.211.41.33:5060: REGISTER sip:10.211.41.33 SIP/2.0 Via: SIP/2.0/UDP 10.211.41.170:60960 ;rport;branch=z9hG4bKPjLIKwniJBlmGxul3M93epRgJz6fNe9rRT Max-Forwards: 70 From: <sip:70016@10.211.41.33>;tag=NoApEwPXyrAAlmQI41hBaybBIZFBdwYV To: <sip:70016@10.211.41.33> Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6 CSeq: 469 REGISTER Contact: <sip:70016@10.211.41.170:60960;ob> Expires: 300 Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Content-Length: 0 --end msg-- 07:42:34.104 pjsua_acc.c ..Acc 0: Registration sent 07:42:34.149 pjsua_core.c .RX 770 bytes Response msg 200/REGISTER/cseq=469 (rdata0x1f694b8) from UDP 10.211.41.33:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 10.211.41.170:60960 ;rport=60960;branch=z9hG4bKPjLIKwniJBlmGxul3M93epRgJz6fNe9rRT Contact: "TestExtension16"<sip:70016@10.211.41.170:60960 ;ob>;audio;expires=300 To: <sip:70016@10.211.41.33>;tag=f909a27b From: <sip:70016@10.211.41.33>;tag=NoApEwPXyrAAlmQI41hBaybBIZFBdwYV Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6 CSeq: 469 REGISTER Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK, SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH Call-Info: <sip:domain.invalid>;first-registration="true" Date: Fri, 15 May 2020 07:37:46 GMT User-Agent: Aastra MX-ONE SN/17.2.1.1.12 Allow-Events: message-summary, reg, dialog, server-side-terminal-control, call-info, line-seize, call-completion, presence Content-Length: 0 --end msg-- 07:42:34.150 pjsua_acc.c ....SIP outbound status for acc 0 is not active 07:42:34.150 pjsua_acc.c ....sip:70016@10.211.41.33: registration success, status=200 (OK), will re-register in 300 seconds 07:42:34.150 pjsua_acc.c ....Keep-alive timer started for acc 0, destination:10.211.41.33:5060, interval:15s ***OnRegState: OK 07:42:40.587 pjsua_core.c .RX 1069 bytes Request msg INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 Contact: <sip:70019@10.211.41.33:5060;transport=UDP> To: <sip:70016@lim1.prathyush.com;user=phone> From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 INVITE Session-Expires: 1800 Min-SE: 90 Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK, SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH Content-Type: application/sdp Supported: timer, replaces, 100rel User-Agent: Aastra MX-ONE SN/17.2.1.1.12 Content-Length: 402 v=0 o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50 s=3cxVCE Audio Call c=IN IP4 10.211.41.50 t=0 0 m=audio 40012 RTP/AVP 0 8 3 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv m=video 0 RTP/AVP 34 c=IN IP4 10.211.41.50 a=rtpmap:34 H263/90000 a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1 a=sendrecv --end msg-- 07:42:40.589 pjsua_call.c .Incoming Request msg INVITE/cseq=1 (rdata0x7f46f80012e8) 07:42:40.589 pjsua_media.c ..Call 0: initializing media.. 07:42:40.589 pjsua_media.c ...RTP socket reachable at 10.211.41.170:4000 07:42:40.590 pjsua_media.c ...RTCP socket reachable at 10.211.41.170:4001 07:42:40.590 pjsua_media.c ...Media index 0 selected for audio call 0 *** Call ID0 07:42:40.590 pjsua_call.c ...Answering call 0: code=180 07:42:40.590 pjsua_call.c ....Pending answering call 0 upon completion of media transport ***onIncomingCall: Incoming call for account <sip:70019@lim1.prathyush.com ;user=phone> 07:42:40.590 pjsua_call.c ...Answering call 0: code=200 07:42:40.590 pjsua_call.c ....Pending answering call 0 upon completion of media transport 07:42:50.600 pjsua_call.c ...Call 0 hanging up: code=0.. 07:42:50.601 pjsua_call.c ....Pending call 0 hangup upon completion of media transport 07:42:50.601 pjsua_call.c ...Call 0 hanging up: code=500.. 07:42:50.601 pjsua_call.c ....Pending call 0 hangup upon completion of media transport 07:42:50.601 pjsua_core.c .....TX 306 bytes Response msg 100/INVITE/cseq=1 (tdta0x7f46f801e988) to UDP 10.211.41.33:5060: SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.211.41.33:5060 ;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 To: <sip:70016@lim1.prathyush.com;user=phone> CSeq: 1 INVITE Content-Length: 0 --end msg-- 07:42:50.602 pjsua_call.c ..Call 0 hanging up: code=500.. 07:42:50.602 pjsua_core.c ......TX 337 bytes Response msg 500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060: SIP/2.0 500 Via: SIP/2.0/UDP 10.211.41.33:5060 ;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y CSeq: 1 INVITE Content-Length: 0 --end msg-- 07:42:50.602 pjsua_media.c .........Call 0: deinitializing media.. 07:42:50.603 pjsua_media.c ..........Call 0: cleaning up provisional media, prov_med_cnt=2, med_cnt=0 07:42:50.603 pjsua_core.c .RX 1069 bytes Request msg INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 Contact: <sip:70019@10.211.41.33:5060;transport=UDP> To: <sip:70016@lim1.prathyush.com;user=phone> From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 INVITE Session-Expires: 1800 Min-SE: 90 Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK, SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH Content-Type: application/sdp Supported: timer, replaces, 100rel User-Agent: Aastra MX-ONE SN/17.2.1.1.12 Content-Length: 402 v=0 o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50 s=3cxVCE Audio Call c=IN IP4 10.211.41.50 t=0 0 m=audio 40012 RTP/AVP 0 8 3 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv m=video 0 RTP/AVP 34 c=IN IP4 10.211.41.50 a=rtpmap:34 H263/90000 a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1 a=sendrecv --end msg-- 07:42:50.604 pjsua_core.c ..TX 337 bytes Response msg 500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060: SIP/2.0 500 Via: SIP/2.0/UDP 10.211.41.33:5060 ;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y CSeq: 1 INVITE Content-Length: 0 --end msg-- 07:42:50.605 pjsua_core.c .RX 1069 bytes Request msg INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 Contact: <sip:70019@10.211.41.33:5060;transport=UDP> To: <sip:70016@lim1.prathyush.com;user=phone> From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 INVITE Session-Expires: 1800 Min-SE: 90 Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK, SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH Content-Type: application/sdp Supported: timer, replaces, 100rel User-Agent: Aastra MX-ONE SN/17.2.1.1.12 Content-Length: 402 v=0 o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50 s=3cxVCE Audio Call c=IN IP4 10.211.41.50 t=0 0 m=audio 40012 RTP/AVP 0 8 3 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv m=video 0 RTP/AVP 34 c=IN IP4 10.211.41.50 a=rtpmap:34 H263/90000 a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1 a=sendrecv --end msg-- 07:42:50.606 pjsua_core.c ..TX 337 bytes Response msg 500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060: SIP/2.0 500 Via: SIP/2.0/UDP 10.211.41.33:5060 ;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y CSeq: 1 INVITE Content-Length: 0 --end msg-- 07:42:50.607 pjsua_core.c .RX 1069 bytes Request msg INVITE/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: INVITE sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 Contact: <sip:70019@10.211.41.33:5060;transport=UDP> To: <sip:70016@lim1.prathyush.com;user=phone> From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 INVITE Session-Expires: 1800 Min-SE: 90 Allow: INVITE, OPTIONS, BYE, ACK, CANCEL, INFO, REGISTER, REFER, PRACK, SUBSCRIBE, NOTIFY, MESSAGE, UPDATE, PUBLISH Content-Type: application/sdp Supported: timer, replaces, 100rel User-Agent: Aastra MX-ONE SN/17.2.1.1.12 Content-Length: 402 v=0 o=3cxVCE 6826971944307903201 1 IN IP4 10.211.41.50 s=3cxVCE Audio Call c=IN IP4 10.211.41.50 t=0 0 m=audio 40012 RTP/AVP 0 8 3 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv m=video 0 RTP/AVP 34 c=IN IP4 10.211.41.50 a=rtpmap:34 H263/90000 a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1 a=sendrecv --end msg-- 07:42:50.609 pjsua_core.c ..TX 337 bytes Response msg 500/INVITE/cseq=1 (tdta0x7f46f80218e8) to UDP 10.211.41.33:5060: SIP/2.0 500 Via: SIP/2.0/UDP 10.211.41.33:5060 ;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y CSeq: 1 INVITE Content-Length: 0 --end msg-- 07:42:50.609 pjsua_core.c .RX 350 bytes Request msg CANCEL/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: CANCEL sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 To: <sip:70016@lim1.prathyush.com;user=phone> From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 CANCEL Content-Length: 0 --end msg-- 07:42:50.610 pjsua_core.c .......TX 339 bytes Response msg 200/CANCEL/cseq=1 (tdta0x7f46f80208d8) to UDP 10.211.41.33:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 10.211.41.33:5060 ;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y CSeq: 1 CANCEL Content-Length: 0 --end msg-- 07:42:50.610 pjsua_core.c .RX 381 bytes Request msg ACK/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 ACK Content-Length: 0 --end msg-- 07:42:50.611 pjsua_core.c .RX 381 bytes Request msg ACK/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 ACK Content-Length: 0 --end msg-- 07:42:50.612 pjsua_core.c .RX 381 bytes Request msg ACK/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 ACK Content-Length: 0 --end msg-- 07:42:50.612 pjsua_core.c .RX 381 bytes Request msg ACK/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: ACK sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 ACK Content-Length: 0 --end msg-- 07:42:50.613 pjsua_core.c .RX 392 bytes Request msg CANCEL/cseq=1 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: CANCEL sip:70016@10.211.41.170:60960;ob;user=phone;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.211.41.33:5060 ;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26;rport Max-Forwards: 70 To: <sip:70016@lim1.prathyush.com;user=phone> From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. CSeq: 1 CANCEL User-Agent: Aastra MX-ONE SN/17.2.1.1.12 Content-Length: 0 --end msg-- 07:42:50.613 pjsua_core.c ..TX 339 bytes Response msg 200/CANCEL/cseq=1 (tdta0x7f46f80208d8) to UDP 10.211.41.33:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 10.211.41.33:5060 ;rport=5060;received=10.211.41.33;branch=z9hG4bK-524287-1---f1c6fb61c26c6d26 Call-ID: ZYJHhXdPc3dMWEEolfZE8w.. From: <sip:70019@lim1.prathyush.com;user=phone>;tag=d6442970 To: <sip:70016@lim1.prathyush.com ;user=phone>;tag=LKTzK1qBcaz7zJ6aSxo3Soj-LWnGdI-Y CSeq: 1 CANCEL Content-Length: 0 --end msg-- *** Quit 07:43:04.134 pjsua_core.c !Shutting down, flags=0... 07:43:04.134 pjsua_core.c PJSUA state changed: RUNNING --> CLOSING 07:43:04.137 pjsua_call.c .Hangup all calls.. 07:43:04.137 pjsua_media.c .Call 0: deinitializing media.. 07:43:04.137 pjsua_media.c .Call 1: deinitializing media.. 07:43:04.137 pjsua_media.c .Call 2: deinitializing media.. 07:43:04.137 pjsua_media.c .Call 3: deinitializing media.. 07:43:04.137 pjsua_pres.c .Shutting down presence.. 07:43:04.137 pjsua_acc.c .Acc 0: setting unregistration.. 07:43:04.137 pjsua_core.c ...TX 387 bytes Request msg REGISTER/cseq=470 (tdta0x1f69538) to UDP 10.211.41.33:5060: REGISTER sip:10.211.41.33 SIP/2.0 Via: SIP/2.0/UDP 10.211.41.170:60960 ;rport;branch=z9hG4bKPj5sWoGqwd3FrYVfEnxmIpETqwGIU6MJep Max-Forwards: 70 From: <sip:70016@10.211.41.33>;tag=xtXpHI8QUEanXR-9vIiQWMykIBt6fJ5x To: <sip:70016@10.211.41.33> Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6 CSeq: 470 REGISTER Contact: <sip:70016@10.211.41.170:60960;ob> Expires: 0 Content-Length: 0 --end msg-- 07:43:04.138 pjsua_acc.c ..Acc 0: Unregistration sent 07:43:04.145 pjsua_core.c ..RX 353 bytes Response msg 200/REGISTER/cseq=470 (rdata0x7f46f80012e8) from UDP 10.211.41.33:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 10.211.41.170:60960 ;rport=60960;branch=z9hG4bKPj5sWoGqwd3FrYVfEnxmIpETqwGIU6MJep To: <sip:70016@10.211.41.33>;tag=5a618b0d From: <sip:70016@10.211.41.33>;tag=xtXpHI8QUEanXR-9vIiQWMykIBt6fJ5x Call-ID: uJY2JojwUYp0YoI5FX8zisFRRko8O8p6 CSeq: 470 REGISTER User-Agent: Aastra MX-ONE SN/17.2.1.1.12 Content-Length: 0 --end msg-- 07:43:04.145 pjsua_acc.c .....sip:70016@10.211.41.33: unregistration success ***OnRegState: OK 07:43:05.149 pjsua_core.c .Destroying... 07:43:05.149 pjsua_media.c .Shutting down media.. 07:43:05.608 sip_transaction.c .Stopping transaction layer module 07:43:05.608 sip_transaction.c .Stopped transaction layer module 07:43:05.608 sip_endpoint.c .Module "mod-unsolicited-mwi" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-pjsua-options" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-pjsua-im" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-pjsua-pres" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-pjsua" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-stateful-util" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-refer" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-mwi" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-presence" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-evsub" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-invite" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-100rel" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-ua" unregistered 07:43:05.608 sip_transaction.c .Transaction layer module destroyed 07:43:05.608 sip_endpoint.c .Module "mod-tsx-layer" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-msg-print" unregistered 07:43:05.608 sip_endpoint.c .Module "mod-pjsua-log" unregistered 07:43:05.609 udp0x1f67960 .SIP UDP transport destroyed 07:43:05.611 udp0x1f6b570 .SIP UDP transport destroyed 07:43:05.611 timer.c .Dumping timer heap: 07:43:05.611 timer.c . Cur size: 0 entries, max: 3070 07:43:05.611 sip_endpoint.c .Endpoint 0x1e41288 destroyed 07:43:05.611 pjsua_core.c .PJSUA state changed: CLOSING --> NULL 07:43:05.611 pjsua_core.c .PJSUA destroyed...