Hello.
I use PJSIP 2.8
When I run simpleua and receive incoming call from PhonerLite I get error
.
root@test-vm:~# /usr/src/pjproject-2.8/pjsip-apps/bin/samples/x86_64-unknown-linux-gnu/simpleua
06:54:36.117 os_core_unix.c !pjlib 2.8 for POSIX initialized
06:54:36.117 sip_endpoint.c Creating endpoint instance...
06:54:36.117 pjlib select() I/O Queue created (0x563cb99e4990)
06:54:36.118 sip_endpoint.c Module "mod-msg-print" registered
06:54:36.118 sip_transport.c Transport manager created.
06:54:36.119 udp0x563cb99ec530 SIP UDP transport started, published address is 10.129.30.123:5060
06:54:36.119 sip_endpoint.c Module "mod-tsx-layer" registered
06:54:36.119 sip_endpoint.c Module "mod-stateful-util" registered
06:54:36.119 sip_endpoint.c Module "mod-ua" registered
06:54:36.120 sip_endpoint.c Module "mod-invite" registered
06:54:36.120 sip_endpoint.c Module "mod-100rel" registered
06:54:36.120 sip_endpoint.c Module "mod-simpleua" registered
06:54:36.120 sip_endpoint.c Module "mod-msg-log" registered
06:54:36.121 pjlib select() I/O Queue created (0x563cb99f5938)
06:54:36.121 simpleua.c Ready to accept incoming calls...
06:54:39.009 sip_endpoint.c Processing incoming message: Request msg INVITE/cseq=102 (rdata0x563cb99edfb8)
...
06:54:39.015 tsx0x563cb9a071d8 ....State changed from Trying to Proceeding, event=TX_MSG
06:54:39.015 dlg0x563cb9a06188 .....Transaction tsx0x563cb9a071d8 state changed to Proceeding
06:54:39.015 simpleua.c ......Call state changed to INCOMING
06:54:39.015 simpleua.c ......Call state changed to EARLY
06:54:39.015 sip_transport.c ..Tx data Response msg 180/INVITE/cseq=102 (tdta0x563cb9a0f978) cloned
06:54:39.015 inv0x563cb9a06188 ..SDP negotiation done, status=0
06:54:39.015 strm0x563cb9a13138 ..VAD temporarily disabled
06:54:39.016 rtp.c ..pjmedia_rtp_session_init: ses=0x563cb9a14490, default_pt=8, ssrc=0x5bd062c2
06:54:39.016 rtp.c ..pjmedia_rtp_session_init: ses=0x563cb9a098f0, default_pt=8, ssrc=0x5bd062c2
simpleua: ../src/pjmedia/event.c:253: pjmedia_event_subscribe: Assertion `mgr' failed.
I found solution here: https://trac.pjsip.org/repos/changeset/5942
I downloaded simpleua.c from https://trac.pjsip.org/repos/export/HEAD/pjproject/trunk/pjsip-apps/src/samples/simpleua.c and re-build pjsip.
After my actions I get following error when I run simpleua:
root@test-vm:~# /usr/src/pjproject-2.8/pjsip-apps/bin/samples/x86_64-unknown-linux-gnu/simpleua
07:10:08.035 os_core_unix.c !pjlib 2.8 for POSIX initialized
07:10:08.036 sip_endpoint.c Creating endpoint instance...
07:10:08.036 pjlib select() I/O Queue created (0x564b41abe990)
07:10:08.036 sip_endpoint.c Module "mod-msg-print" registered
07:10:08.036 sip_transport.c Transport manager created.
07:10:08.037 udp0x564b41ac6530 SIP UDP transport started, published address is 10.129.30.123:5060
07:10:08.038 sip_endpoint.c Module "mod-tsx-layer" registered
07:10:08.038 sip_endpoint.c Module "mod-stateful-util" registered
07:10:08.038 sip_endpoint.c Module "mod-ua" registered
07:10:08.038 sip_endpoint.c Module "mod-invite" registered
07:10:08.038 sip_endpoint.c Module "mod-100rel" registered
07:10:08.039 sip_endpoint.c Module "mod-simpleua" registered
07:10:08.039 sip_endpoint.c Module "mod-msg-log" registered
07:10:08.039 pjlib select() I/O Queue created (0x564b41acf938)
Segmentation fault
How fix that?
I use PJSIP 2.8
When I run simpleua and receive incoming call from PhonerLite I get error
.
root@test-vm:~# /usr/src/pjproject-2.8/pjsip-apps/bin/samples/x86_64-unknown-linux-gnu/simpleua
06:54:36.117 os_core_unix.c !pjlib 2.8 for POSIX initialized
06:54:36.117 sip_endpoint.c Creating endpoint instance...
06:54:36.117 pjlib select() I/O Queue created (0x563cb99e4990)
06:54:36.118 sip_endpoint.c Module "mod-msg-print" registered
06:54:36.118 sip_transport.c Transport manager created.
06:54:36.119 udp0x563cb99ec530 SIP UDP transport started, published address is 10.129.30.123:5060
06:54:36.119 sip_endpoint.c Module "mod-tsx-layer" registered
06:54:36.119 sip_endpoint.c Module "mod-stateful-util" registered
06:54:36.119 sip_endpoint.c Module "mod-ua" registered
06:54:36.120 sip_endpoint.c Module "mod-invite" registered
06:54:36.120 sip_endpoint.c Module "mod-100rel" registered
06:54:36.120 sip_endpoint.c Module "mod-simpleua" registered
06:54:36.120 sip_endpoint.c Module "mod-msg-log" registered
06:54:36.121 pjlib select() I/O Queue created (0x563cb99f5938)
06:54:36.121 simpleua.c Ready to accept incoming calls...
06:54:39.009 sip_endpoint.c Processing incoming message: Request msg INVITE/cseq=102 (rdata0x563cb99edfb8)
...
06:54:39.015 tsx0x563cb9a071d8 ....State changed from Trying to Proceeding, event=TX_MSG
06:54:39.015 dlg0x563cb9a06188 .....Transaction tsx0x563cb9a071d8 state changed to Proceeding
06:54:39.015 simpleua.c ......Call state changed to INCOMING
06:54:39.015 simpleua.c ......Call state changed to EARLY
06:54:39.015 sip_transport.c ..Tx data Response msg 180/INVITE/cseq=102 (tdta0x563cb9a0f978) cloned
06:54:39.015 inv0x563cb9a06188 ..SDP negotiation done, status=0
06:54:39.015 strm0x563cb9a13138 ..VAD temporarily disabled
06:54:39.016 rtp.c ..pjmedia_rtp_session_init: ses=0x563cb9a14490, default_pt=8, ssrc=0x5bd062c2
06:54:39.016 rtp.c ..pjmedia_rtp_session_init: ses=0x563cb9a098f0, default_pt=8, ssrc=0x5bd062c2
simpleua: ../src/pjmedia/event.c:253: pjmedia_event_subscribe: Assertion `mgr' failed.
I found solution here: https://trac.pjsip.org/repos/changeset/5942
I downloaded simpleua.c from https://trac.pjsip.org/repos/export/HEAD/pjproject/trunk/pjsip-apps/src/samples/simpleua.c and re-build pjsip.
After my actions I get following error when I run simpleua:
root@test-vm:~# /usr/src/pjproject-2.8/pjsip-apps/bin/samples/x86_64-unknown-linux-gnu/simpleua
07:10:08.035 os_core_unix.c !pjlib 2.8 for POSIX initialized
07:10:08.036 sip_endpoint.c Creating endpoint instance...
07:10:08.036 pjlib select() I/O Queue created (0x564b41abe990)
07:10:08.036 sip_endpoint.c Module "mod-msg-print" registered
07:10:08.036 sip_transport.c Transport manager created.
07:10:08.037 udp0x564b41ac6530 SIP UDP transport started, published address is 10.129.30.123:5060
07:10:08.038 sip_endpoint.c Module "mod-tsx-layer" registered
07:10:08.038 sip_endpoint.c Module "mod-stateful-util" registered
07:10:08.038 sip_endpoint.c Module "mod-ua" registered
07:10:08.038 sip_endpoint.c Module "mod-invite" registered
07:10:08.038 sip_endpoint.c Module "mod-100rel" registered
07:10:08.039 sip_endpoint.c Module "mod-simpleua" registered
07:10:08.039 sip_endpoint.c Module "mod-msg-log" registered
07:10:08.039 pjlib select() I/O Queue created (0x564b41acf938)
Segmentation fault
How fix that?
BR
Ivan
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org