Page 1 of 1

Dropping calls when using park call

PostPosted: Sat Jul 24, 2010 1:54 pm
by lmora
Please for this issue consider that I have
ViciBox Server v.2.0
VERSION: 2.2.1-237
BUILD: 100510-2015

What happens is that when I park a call it gets always dropped.
This is the log generated:

[Jul 24 13:28:51] VERBOSE[20314] logger.c: [Jul 24 13:28:51] -- AGI Script park_CID.agi completed, returning 0
[Jul 24 13:28:51] VERBOSE[20314] logger.c: [Jul 24 13:28:51] -- Executing [8301@default:3] Playback("Local/8600061@default-2921,2", "park") in new stack
[Jul 24 13:28:51] WARNING[20314] format_wav.c: Not a wav file 49
[Jul 24 13:28:51] WARNING[20314] file.c: Unable to open format wav
[Jul 24 13:28:51] WARNING[20314] file.c: Unable to open park (format 0x40 (slin)): No such file or directory
[Jul 24 13:28:51] WARNING[20314] app_playback.c: ast_streamfile failed on Local/8600061@default-2921,2 for park
[Jul 24 13:28:51] VERBOSE[20314] logger.c: [Jul 24 13:28:51] -- Executing [8301@default:4] Hangup("Local/8600061@default-2921,2", "") in new stack


thanks

PostPosted: Sat Jul 24, 2010 6:52 pm
by mflorell
Your park.wav file is in the wrong format.

Make sure it is PCM, 16bit 8k wav

PostPosted: Sat Jul 24, 2010 7:04 pm
by lmora
I'm using the original file.

could you tell how to fix the format?

thanks

PostPosted: Sat Jul 24, 2010 7:23 pm
by mflorell
if there is a park.gsm file in there, just delete the park.wav file and it will default to use the GSM one.

rm -f /var/lib/asterisk/sounds/park.wav

PostPosted: Sat Jul 24, 2010 7:47 pm
by lmora
it worked!

Thanks