Call recording doesn't stop after ending call

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

 



Hi Arshan,

I recommend you create a log file and check the log to see if the call 
was really terminated (I suspect the BYE message may not have been 
received). The recording file should stop growing on call end.

The CTRL-C issue is simply that pjsip needs to properly close the WAV 
file and update header sizes, which it doesn't have a chance to do when 
terminated with a signal.

Regards,

Bill


On 5/23/2015 4:08 AM, Arshan Awais wrote:
> I am running pjsua in daemon mode to record incoming calls. I use the 
> following command to launch pjsua:
>
> ./pjsua-arm-linux --null audio --rec-file=call.wav --auto-rec
>
> At startup of pjsua, the size of the file call.wav is 0 bytes. After 
> starting the call, the size of call.wav starts to increase. But even 
> if the call has been terminated from the other end, the size of 
> call.wav continues to increase.
>
> If pjsua is terminated gracefully i.e by pressing 'q', I am able to 
> play the recorded file, but if i terminate it using Ctrl-C i cannot 
> play sound file.
>
> Can someone provide solution/patch to fix this issue?
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150523/ee427834/attachment.html>


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