pjsua locks up after audio call

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

 



Hi

 

Platform Linux/64-bit

PJSIP 2.4.5

 

I've noticed the pjsua app locks up consistently after an audio call.
The last line in the log (see below) is~:

 

pjsua_aud.c  .Closing Ensoniq AudioPCI: .....

 

I've noticed as well that the TX is empty (no bytes).

 

The sound card is nothing special in the PC.

 

Can't even CTRL+C when it's in this state, I have to look up the process
ID and kill it that way.

 

You have 1 active call

Current call id=0 to "Bob" <sip:1001 at 192.168.42.50> [CONFIRMED]

>>> d

13:22:05.459   pjsua_core.c !Start dumping application states:

Dumping endpoint 0x1ab2d78:

Dumping caching pool:

   Capacity=0, max_capacity=0, used_cnt=55

Endpoint pool capacity=80096, used_size=77448

Outstanding transmit buffers: 0

Dumping listeners:

  tcptp:5060 TCP:192.168.42.150:5060

Dumping transports:

  udp0x1b149c0 udp 0.0.0.0:5060 [published as 192.168.42.150:5060]
(refcnt=3)

Timer heap has 3 entries

Dumping PJMEDIA capabilities:

  Total number of installed codecs: 14

   Audio codec # 0: pt=98 (speex @16KHz/1, 27.8Kbps, 20ms vad cng plc
penh)

   Audio codec # 1: pt=97 (speex @8KHz/1, 15.0Kbps, 20ms vad cng plc
penh)

   Audio codec # 2: pt=99 (speex @32KHz/1, 29.6Kbps, 20ms vad cng plc
penh)

   Audio codec # 3: pt=104 (iLBC @8KHz/1, 13.3Kbps, 30ms vad plc penh)

   Audio codec # 4: pt=3 (GSM @8KHz/1, 13.2Kbps, 20ms vad plc)

   Audio codec # 5: pt=0 (PCMU @8KHz/1, 64.0Kbps, 20ms vad plc)

   Audio codec # 6: pt=8 (PCMA @8KHz/1, 64.0Kbps, 20ms vad plc)

   Audio codec # 7: pt=9 (G722 @16KHz/1, 64.0Kbps, 20ms vad plc)

   Audio codec # 8: pt=11 (L16 @44KHz/1, 705.6Kbps, 10ms vad plc
disabled)

   Audio codec # 9: pt=10 (L16 @44KHz/2, 1.41Mbps, 10ms vad plc
disabled)

   Audio codec #10: pt=120 (L16 @8KHz/1, 128.0Kbps, 20ms vad plc
disabled)

   Audio codec #11: pt=121 (L16 @8KHz/2, 256.0Kbps, 20ms vad plc
disabled)

   Audio codec #12: pt=122 (L16 @16KHz/1, 256.0Kbps, 20ms vad plc
disabled)

   Audio codec #13: pt=123 (L16 @16KHz/2, 512.0Kbps, 20ms vad plc
disabled)

Dumping media transports:

UDP: 192.168.42.150:4000

Dumping transaction table:

Total 0 transactions

Number of dialog sets: 1

Number of server/UAS subscriptions: 0

Number of client/UAC subscriptions: 0

13:22:05.459   pjsua_core.c  Dump complete

>>> h 

13:22:18.163   pjsua_call.c !Call 0 hanging up: code=0..

13:22:18.163   pjsua_core.c  ....TX 436 bytes Request msg BYE/cseq=1326
(tdta0x1b26ea0) to UDP 192.168.42.50:5060:

BYE sip:1001 at 192.168.42.50:5060 SIP/2.0

Via: SIP/2.0/UDP
192.168.42.150:5060;rport;branch=z9hG4bKPjYjWAiUq48..y0ZGDhH9xqAGlwAEIr2
Xj

Max-Forwards: 70

From: <sip:1000@192.168.42.150;ob>;tag=fPSnZlAn5Fckt7Ca01hl.n1xRht1EDWM

To: "Bob" <sip:1001 at 192.168.42.50>;tag=as29111395

Call-ID: 184d429a134858c86d7c64841a32ae3c at 192.168.42.50:5060

CSeq: 1326 BYE

User-Agent: PJSUA v2.4.5 Linux-3.13.0.62/x86_64/glibc-2.19

Content-Length:  0

 

 

--end msg--

>>> 13:22:18.166   pjsua_core.c  .RX 512 bytes Response msg
200/BYE/cseq=1326 (rdata0x7fd6b0001538) from UDP 192.168.42.50:5060:

SIP/2.0 200 OK

Via: SIP/2.0/UDP
192.168.42.150:5060;branch=z9hG4bKPjYjWAiUq48..y0ZGDhH9xqAGlwAEIr2Xj;rec
eived=192.168.42.150;rport=5060

From: <sip:1000@192.168.42.150;ob>;tag=fPSnZlAn5Fckt7Ca01hl.n1xRht1EDWM

To: "Bob" <sip:1001 at 192.168.42.50>;tag=as29111395

Call-ID: 184d429a134858c86d7c64841a32ae3c at 192.168.42.50:5060

CSeq: 1326 BYE

Server: FPBX-12.0.76(11.17.1)

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO, PUBLISH, MESSAGE

Supported: replaces, timer

Content-Length: 0

 

 

--end msg--

13:22:18.167    pjsua_app.c  .....Call 0 is DISCONNECTED [reason=200
(Normal call clearing)]

13:22:18.167 pjsua_app_comm  .....

  [DISCONNCTD] To: "Bob" <sip:1001 at 192.168.42.50>;tag=as29111395

    Call time: 00h:00m:26s, 1st res in 4037 ms, conn in 4047ms

    #0 audio PCMA @8kHz, sendrecv, peer=192.168.42.50:17424

       SRTP status: Not active Crypto-suite: 

       RX pt=8, last update:00h:00m:26.586s ago

          total 1.3Kpkt 214.2KB (267.8KB +IP hdr) @avg=63.9Kbps/79.9Kbps

          pkt loss=0 (0.0%), discrd=0 (0.0%), dup=0 (0.0%), reord=0
(0.0%)

                (msec)    min     avg     max     last    dev

          loss period:   0.000   0.000   0.000   0.000   0.000

          jitter     :   0.000   0.127   1.625   0.000   0.226

       TX pt=8, ptime=20, last update:00h:00m:01.765s ago

          total 0pkt 0B (0B +IP hdr) @avg=0bps/0bps

          pkt loss=1 (inf%), dup=0 (0.0%), reorder=0 (0.0%)

                (msec)    min     avg     max     last    dev 

          loss period:  20.000  20.000  20.000  20.000   0.000

          jitter     :   0.000   0.000   0.000   0.000   0.000

       RTT msec      :   0.000   0.000   0.000   0.000   0.000

    #1 video deactivated

13:22:18.167  pjsua_media.c  .....Call 0: deinitializing media..

13:22:18.167  pjsua_media.c  .......Media stream call00:0 is destroyed

13:22:18.167  pjsua_media.c  .......Media stream call00:1 is destroyed

13:22:19.167    pjsua_aud.c  Closing sound device after idle for 1
second(s)

13:22:19.167    pjsua_app.c  .Turning sound device OFF

13:22:19.167    pjsua_aud.c  .Closing Ensoniq AudioPCI: ES1371 DAC2/ADC
(hw:0,0) sound playback device and Ensoniq AudioPCI: ES1371 DAC2/ADC
(hw:0,0) sound capture device

 

Regards

 

Gary Metalle

Embedded Software Engineer

 

  

 

Raster Vision Ltd. Tel: 01892 722228 / +44 1892 722228. 
www.rastervision.co.uk <http://www.rastervision.co.uk/> 
Raster Vision Ltd is a company registered in England and Wales, number:
02753356. 
Registered office: Unit 1, Crundalls, Gedges Hill, Matfield, Kent, TN12
7EA, UK.

C2- Restricted

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150903/aaff5f48/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2357 bytes
Desc: image001.jpg
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150903/aaff5f48/attachment.jpg>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux