root@omapl138-lcdk:~# ./pjsua-arm-unknown-linux-gnueabi
07:33:11.209 os_core_unix.c !pjlib 2.7.1 for POSIX initialized
07:33:11.234 sip_endpoint.c .Creating endpoint instance...
07:33:11.241 pjlib .select() I/O Queue created (0x1c1528)
07:33:11.242 sip_endpoint.c .Module "mod-msg-print" registered
07:33:11.242 sip_transport. .Transport manager created.
07:33:11.242 pjsua_core.c .PJSUA state changed: NULL --> CREATED
07:33:11.244 sip_endpoint.c .Module "mod-pjsua-log" registered
07:33:11.245 sip_endpoint.c .Module "mod-tsx-layer" registered
07:33:11.245 sip_endpoint.c .Module "mod-stateful-util" registered
07:33:11.246 sip_endpoint.c .Module "mod-ua" registered
07:33:11.246 sip_endpoint.c .Module "mod-100rel" registered
07:33:11.247 sip_endpoint.c .Module "mod-pjsua" registered
07:33:11.249 sip_endpoint.c .Module "mod-invite" registered
07:33:11.667 alsa_dev.c ..ALSA driver found 2 devices
07:33:11.667 alsa_dev.c ..ALSA initialized
07:33:11.669 pjlib ..select() I/O Queue created (0x1f1724)
07:33:11.707 sip_endpoint.c .Module "mod-evsub" registered
07:33:11.707 sip_endpoint.c .Module "mod-presence" registered
07:33:11.708 sip_endpoint.c .Module "mod-mwi" registered
07:33:11.708 sip_endpoint.c .Module "mod-refer" registered
07:33:11.709 sip_endpoint.c .Module "mod-pjsua-pres" registered
07:33:11.710 sip_endpoint.c .Module "mod-pjsua-im" registered
07:33:11.710 sip_endpoint.c .Module "mod-pjsua-options" registered
07:33:11.712 pjsua_core.c .1 SIP worker threads created
07:33:11.712 pjsua_core.c .pjsua version 2.7.1 for Linux-4.9.59/armv5tejl/glibc-2.23 initialized
07:33:11.712 pjsua_core.c .PJSUA state changed: CREATED --> INIT
07:33:11.712 sip_endpoint.c Module "mod-default-handler" registered
07:33:11.717 pjsua_core.c SIP UDP socket reachable at 192.168.2.46:5060
07:33:11.718 udp0x1da878 SIP UDP transport started, published address is 192.168.2.46:5060
07:33:11.718 pjsua_acc.c Adding account: id=<sip:192.168.2.46:5060>
07:33:11.719 pjsua_acc.c .Account <sip:192.168.2.46:5060> added with id 0
07:33:11.719 pjsua_acc.c Modifying account 0
07:33:11.719 pjsua_acc.c Acc 0: setting online status to 1..
07:33:11.726 tcptp:5060 SIP TCP listener ready for incoming connections at 192.168.2.46:5060
07:33:11.726 pjsua_acc.c Adding account: id=<sip:192.168.2.46:5060;transport=TCP>
07:33:11.727 pjsua_acc.c .Account <sip:192.168.2.46:5060;transport=TCP> added with id 1
07:33:11.727 pjsua_acc.c Modifying account 1
07:33:11.727 pjsua_acc.c Acc 1: setting online status to 1..
07:33:11.728 pjsua_core.c PJSUA state changed: INIT --> STARTING
07:33:11.728 sip_endpoint.c .Module "mod-unsolicited-mwi" registered
07:33:11.728 pjsua_core.c .PJSUA state changed: STARTING --> RUNNING
07:33:11.728 main.c Ready: Success
>>>>
Account list:
[ 0] <sip:192.168.2.46:5060>: does not register
Online status: Online
*[ 1] <sip:192.168.2.46:5060;transport=TCP>: does not register
Online status: Online
Buddy list:
-none-
+=============================================================================+
| Call Commands: | Buddy, IM & Presence: | Account: |
| | | |
| m Make new call | +b Add new buddy .| +a Add new accnt |
| M Make multiple calls | -b Delete buddy | -a Delete accnt. |
| a Answer call | i Send IM | !a Modify accnt. |
| h Hangup call (ha=all) | s Subscribe presence | rr (Re-)register |
| H Hold call | u Unsubscribe presence | ru Unregister |
| v re-inVite (release hold) | t ToGgle Online status | > Cycle next ac.|
| U send UPDATE | T Set online status | < Cycle prev ac.|
| ],[ Select next/prev call +--------------------------+-------------------+
| x Xfer call | Media Commands: | Status & Config: |
| X Xfer with Replaces | | |
| # Send RFC 2833 DTMF | cl List ports | d Dump status |
| * Send DTMF with INFO | cc Connect port | dd Dump detailed |
| dq Dump curr. call quality | cd Disconnect port | dc Dump config |
| | V Adjust audio Volume | f Save config |
| S Send arbitrary REQUEST | Cp Codec priorities | |
+-----------------------------------------------------------------------------+
| q QUIT L ReLoad sleep MS echo [0|1|txt] n: detect NAT type |
+=============================================================================+
You have 0 active call
>>> m
(You currently have 0 calls)
Buddy list:
-none-
Choices:
0 For current dialog.
-1 All 0 buddies in buddy list
[1 - 0] Select from buddy list
URL An URL
<Enter> Empty input (or 'q') to cancel
Make call: sip:192.168.2.14
07:33:21.271 pjsua_call.c Making call with acc #1 to sip:192.168.2.14
07:33:21.271 pjsua_aud.c .Set sound device: capture=-1, playback=-2
07:33:21.272 pjsua_app.c ..Turning sound device -1 -2 ON
07:33:21.272 pjsua_aud.c ..Opening sound device (speaker + mic) PCM@16000/1/20ms
07:33:21.385 ec0x1d4968 ...AEC created, clock_rate=16000, channel=1, samples per frame=320, tail length=200 ms, latency=0 ms
07:33:21.397 tcpc0x21f3a4 !.TCP client transport created
07:33:21.400 tcptp:5060 !TCP listener 192.168.2.46:5060: got incoming TCP connection from 192.168.2.46:37327, sock=8
07:33:21.407 tcpc0x21f3a4 !.TCP transport 192.168.2.46:37327 is connecting to 192.168.2.46:5060...
07:33:21.407 tcps0xb4d0068c !TCP server transport created
07:33:21.408 pjsua_app.c SIP TCP transport is connected to [192.168.2.46:37327]
07:33:21.409 tcpc0x21f3a4 TCP transport 192.168.2.46:37327 is connected to 192.168.2.46:5060
07:33:21.410 pjsua_app.c SIP TCP transport is connected to [192.168.2.46:5060]
07:33:21.411 pjsua_media.c .Call 0: initializing media..
07:33:21.674 alsa_dev.c !pb_thread_func: underrun!
07:33:21.682 pjsua_media.c !..RTP socket reachable at 192.168.2.46:4000
07:33:21.682 pjsua_media.c ..RTCP socket reachable at 192.168.2.46:4001
07:33:21.683 pjsua_media.c ..Media index 0 selected for audio call 0
07:33:21.691 pjsua_core.c ....TX 1110 bytes Request msg INVITE/cseq=25775 (tdta0x226014) to UDP 192.168.2.14:5060:
INVITE sip:192.168.2.14 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.46:37327;rport;branch=z9hG4bKPjf2d0999d-f933-4595-84c8-d81f76ed4bb4
Max-Forwards: 70
From: <sip:192.168.2.46>;tag=e5ef5cb6-6c8b-4508-b157-30cd1e63ee56
To: sip:192.168.2.14
Contact: <sip:192.168.2.46:5060;ob>
Call-ID: 66eebabc-eada-4e03-9e4c-d8bfc83e08a8
CSeq: 25775 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: PJSUA v2.7.1 Linux-4.9.59/armv5tejl/glibc-2.23
Content-Type: application/sdp
Content-Length: 473
v=0
o=- 3744430401 3744430401 IN IP4 192.168.2.46
s=pjmedia
b=AS:84
t=0 0
a=X-nat:0
m=audio 4000 RTP/AVP 98 97 99 104 3 0 8 9 96
c=IN IP4 192.168.2.46
b=TIAS:64000
a=rtcp:4001 IN IP4 192.168.2.46
a=sendrecv
a=rtpmap:98 speex/16000
a=rtpmap:97 speex/8000
a=rtpmap:99 speex/32000
a=rtpmap:104 iLBC/8000
a=fmtp:104 mode=30
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-16
--end msg--
07:33:21.693 pjsua_app.c .......Call 0 state changed to CALLING
>>> 07:33:22.095 pjsua_core.c .RX 323 bytes Response msg 100/INVITE/cseq=25775 (rdata0x1dbeac) from UDP 192.168.2.14:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.2.46:37327;rport=5060;received=192.168.2.46;branch=z9hG4bKPjf2d0999d-f933-4595-84c8-d81f76ed4bb4
Call-ID: 66eebabc-eada-4e03-9e4c-d8bfc83e08a8
From: <sip:192.168.2.46>;tag=e5ef5cb6-6c8b-4508-b157-30cd1e63ee56
To: <sip:192.168.2.14>
CSeq: 25775 INVITE
Content-Length: 0
--end msg--
07:33:22.097 alsa_dev.c !pb_thread_func: underrun!
07:33:22.235 alsa_dev.c !ca_thread_func: overrun!
07:33:22.838 alsa_dev.c ca_thread_func: overrun!
07:33:22.842 alsa_dev.c !pb_thread_func: underrun!
07:33:23.103 alsa_dev.c ca_thread_func: overrun!
07:33:23.106 alsa_dev.c !pb_thread_func: underrun!
07:33:23.346 alsa_dev.c ca_thread_func: overrun!
07:33:23.352 alsa_dev.c !pb_thread_func: underrun!
07:33:23.592 alsa_dev.c ca_thread_func: overrun!
07:33:23.601 alsa_dev.c !pb_thread_func: underrun!
07:33:23.861 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:23.861 alsa_dev.c ca_thread_func: overrun!
07:33:24.104 alsa_dev.c ca_thread_func: overrun!
07:33:24.108 alsa_dev.c !pb_thread_func: underrun!
07:33:24.348 alsa_dev.c ca_thread_func: overrun!
07:33:24.351 alsa_dev.c !pb_thread_func: underrun!
07:33:24.591 alsa_dev.c ca_thread_func: overrun!
07:33:24.595 alsa_dev.c !pb_thread_func: underrun!
07:33:24.835 alsa_dev.c ca_thread_func: overrun!
07:33:24.838 alsa_dev.c !pb_thread_func: underrun!
07:33:25.079 alsa_dev.c ca_thread_func: overrun!
07:33:25.093 alsa_dev.c !pb_thread_func: underrun!
07:33:25.333 alsa_dev.c ca_thread_func: overrun!
07:33:25.340 alsa_dev.c !pb_thread_func: underrun!
07:33:25.576 alsa_dev.c ca_thread_func: overrun!
07:33:25.579 alsa_dev.c !pb_thread_func: underrun!
07:33:25.819 alsa_dev.c ca_thread_func: overrun!
07:33:25.825 alsa_dev.c !pb_thread_func: underrun!
07:33:26.062 alsa_dev.c ca_thread_func: overrun!
07:33:26.067 alsa_dev.c pb_thread_func: underrun!
07:33:26.306 alsa_dev.c ca_thread_func: overrun!
07:33:26.310 alsa_dev.c !pb_thread_func: underrun!
07:33:26.550 alsa_dev.c ca_thread_func: overrun!
07:33:26.554 alsa_dev.c !pb_thread_func: underrun!
07:33:26.814 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:26.814 alsa_dev.c ca_thread_func: overrun!
07:33:27.083 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:27.083 alsa_dev.c ca_thread_func: overrun!
07:33:27.346 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:27.347 alsa_dev.c ca_thread_func: overrun!
07:33:27.610 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:27.611 alsa_dev.c ca_thread_func: overrun!
07:33:27.874 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:27.875 alsa_dev.c ca_thread_func: overrun!
07:33:28.138 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:28.138 alsa_dev.c ca_thread_func: overrun!
07:33:28.402 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:28.403 alsa_dev.c ca_thread_func: overrun!
07:33:28.670 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:28.671 alsa_dev.c ca_thread_func: overrun!
07:33:28.934 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:28.934 alsa_dev.c ca_thread_func: overrun!
07:33:29.198 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:29.198 alsa_dev.c ca_thread_func: overrun!
07:33:29.461 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:29.462 alsa_dev.c ca_thread_func: overrun!
07:33:29.727 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:29.727 alsa_dev.c ca_thread_func: overrun!
07:33:29.990 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:29.991 alsa_dev.c ca_thread_func: overrun!
07:33:30.260 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:30.261 alsa_dev.c ca_thread_func: overrun!
07:33:30.525 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:30.525 alsa_dev.c ca_thread_func: overrun!
07:33:30.531 udp0x2209a0 !Remote RTP address switched to 192.168.2.14:4002
07:33:30.531 udp0x2209a0 Remote RTCP address switched to predicted address 192.168.2.14:4003
07:33:30.533 pjsua_core.c .RX 898 bytes Response msg 200/INVITE/cseq=25775 (rdata0xb4d040bc) from UDP 192.168.2.14:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.46:37327;rport=5060;received=192.168.2.46;branch=z9hG4bKPjf2d0999d-f933-4595-84c8-d81f76ed4bb4
Call-ID: 66eebabc-eada-4e03-9e4c-d8bfc83e08a8
From: <sip:192.168.2.46>;tag=e5ef5cb6-6c8b-4508-b157-30cd1e63ee56
To: <sip:192.168.2.14>;tag=34mxPwZtKMPR26AqGzw8Wt-jfieeuXdK
CSeq: 25775 INVITE
Contact: <sip:192.168.2.14:5060>
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length: 275
v=0
o=- 3744437023 3744437024 IN IP4 192.168.2.14
s=pjmedia
b=AS:84
t=0 0
a=X-nat:0
m=audio 4002 RTP/AVP 98 96
c=IN IP4 192.168.2.14
b=TIAS:64000
a=rtcp:4003 IN IP4 192.168.2.14
a=sendrecv
a=rtpmap:98 speex/16000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-16
--end msg--
07:33:30.534 pjsua_app.c .....Call 0 state changed to CONNECTING
07:33:30.536 pjsua_media.c .....Call 0: updating media..
07:33:30.536 pjsua_media.c .......Media stream call00:0 is destroyed
07:33:30.537 pjsua_aud.c ......Audio channel update..
07:33:30.543 strm0xb4d0723c !.......VAD temporarily disabled
07:33:30.545 strm0xb4d0723c .......Encoder stream started
07:33:30.545 strm0xb4d0723c .......Decoder stream started
07:33:30.546 pjsua_media.c ......Audio updated, stream #0: speex (sendrecv)
07:33:30.547 pjsua_app.c .....Call 0 media 0 [type=audio], status is Active
07:33:30.547 pjsua_aud.c .....Conf connect: 3 --> 0
07:33:30.547 conference.c ......Port 3 (sip:192.168.2.14) transmitting to port 0 (default:CARD=LCDK)
07:33:30.548 pjsua_aud.c .....Conf connect: 0 --> 3
07:33:30.548 conference.c ......Port 0 (default:CARD=LCDK) transmitting to port 3 (sip:192.168.2.14)
07:33:30.730 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:30.730 alsa_dev.c ca_thread_func: overrun!
07:33:30.742 pjsua_core.c !.....TX 361 bytes Request msg ACK/cseq=25775 (tdta0xb4d190f4) to UDP 192.168.2.14:5060:
ACK sip:192.168.2.14:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.46:37327;rport;branch=z9hG4bKPj17937c92-4e45-4cc1-b0a1-124a05353d3f
Max-Forwards: 70
From: <sip:192.168.2.46>;tag=e5ef5cb6-6c8b-4508-b157-30cd1e63ee56
To: sip:192.168.2.14;tag=34mxPwZtKMPR26AqGzw8Wt-jfieeuXdK
Call-ID: 66eebabc-eada-4e03-9e4c-d8bfc83e08a8
CSeq: 25775 ACK
Content-Length: 0
--end msg--
07:33:30.743 pjsua_app.c .....Call 0 state changed to CONFIRMED
07:33:31.039 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_hw.c:138:(sync_ptr1) SNDRV_PCM_IOCTL_SYNC_PTR failed (-32): Broken pipe
07:33:31.039 alsa_dev.c ca_thread_func: overrun!
07:33:31.293 alsa_dev.c ca_thread_func: overrun!
07:33:31.548 alsa_dev.c ca_thread_func: overrun!
07:33:31.567 alsa_dev.c pb_thread_func: underrun!
07:33:31.626 Master/sound Buffer size adjusted from 2127 to 1810 (eff_cnt=1280)
07:33:31.736 alsa_dev.c ca_thread_func: overrun!
07:33:31.989 alsa_dev.c ca_thread_func: overrun!
07:33:32.242 alsa_dev.c ca_thread_func: overrun!
07:33:32.495 alsa_dev.c ca_thread_func: overrun!
07:33:32.748 alsa_dev.c ca_thread_func: overrun!
07:33:32.827 Master/sound Buffer size adjusted from 2063 to 1819 (eff_cnt=1280)
07:33:32.938 alsa_dev.c ca_thread_func: overrun!
07:33:33.192 alsa_dev.c ca_thread_func: overrun!
07:33:33.452 alsa_dev.c ALSA lib ../../../alsa-lib-1.1.2/srUnable to handle kernel NULL pointer dereference at virtual address 00000184
How can I solve this issue,?
Regards,
Allwyn
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org