Page 1 of 1

Soundboard Error

PostPosted: Thu Jun 29, 2017 1:41 am
by zenithbsolutions
Hi,

I have installed Vicibox 5.0.3 preload x86 last night to test soundboard.

I got SVN
VERSION: 2.14-620a
BUILD: 170623-2142

Asterisk 1.8

Everything is fine. But while playing a file. I get the below errors.


[Jun 29 11:41:50] -- Executing [473782178600051@default:1] Answer("IAX2/ASTplay-1533", "") in new stack
[Jun 29 11:41:50] -- Call accepted by 127.0.0.1 (format ulaw)
[Jun 29 11:41:50] -- Format for call is ulaw
[Jun 29 11:41:50] -- IAX2/127.0.0.1:42569-5021 answered Local/473782168600051@default-00000009;2
[Jun 29 11:41:50] > Channel Local/473782168600051@default-00000009;1 was answered.
[Jun 29 11:41:50] -- Executing [473782158521111@default:1] Answer("Local/473782168600051@default-00000009;1", "") in new stack
[Jun 29 11:41:50] -- Executing [473782158521111@default:2] ControlPlayback("Local/473782168600051@default-00000009;1", "DNC|99999|0|1|2|3|4") in new stack
[Jun 29 11:41:50] WARNING[4817]: pbx.c:1442 pbx_exec: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (ControlPlayback(DNC199999|0|1|2|3|4))
[Jun 29 11:41:50] WARNING[4817]: file.c:666 ast_openstream_full: File DNC|99999|0|1|2|3|4 does not exist in any format
[Jun 29 11:41:50] WARNING[4817]: file.c:957 ast_streamfile: Unable to open DNC|99999|0|1|2|3|4 (format 0x40 (slin)): No such file or directory

[Jun 29 11:41:50] -- Executing [473782158521111@default:3] Hangup("Local/473782168600051@default-00000009;1", "") in new stack
[Jun 29 11:41:50] == Spawn extension (default, 473782158521111, 3) exited non-zero on 'Local/473782168600051@default-00000009;1'

I'm aware that this statement is wrong
Executing [473782158521111@default:2] ControlPlayback("Local/473782168600051@default-00000009;1", "DNC|99999|0|1|2|3|4") in new stack


And the correct one is
Executing [473782158521111@default:2] ControlPlayback("Local/473782168600051@default-00000009;1", "DNC,99999,0,1,2,3,4") in new stack


But I don't know how to achieve that. Can you help me on that?
Thank you.

Re: Soundboard Error

PostPosted: Thu Jun 29, 2017 2:47 am
by zenithbsolutions
Hi,

I have edited extensions-vicidial.conf
vi /etc/asterisk/extensions-vicidial.conf

replaced
exten => 473782158521111,n,ControlPlayback(${CALLERID(name)}|99999|0|1|2|3|4)
to
exten => 473782158521111,n,ControlPlayback(${CALLERID(name)},99999,0,1,2,3,4)

&

exten => _473782148521111.,n,SendDTMF(${CALLERID(num)}|250|250|IAX2/ASTplay-${EXTEN:15})
to
exten => _473782148521111.,n,SendDTMF(${CALLERID(num)},250,250,IAX2/ASTplay-${EXTEN:15})

But after saving the document and restarting the server it reverts to
exten => 473782158521111,n,ControlPlayback(${CALLERID(name)}|99999|0|1|2|3|4)
&
exten => _473782148521111.,n,SendDTMF(${CALLERID(num)}|250|250|IAX2/ASTplay-${EXTEN:15})

Can you help me how to make the values constant ?

Thank you

Re: Soundboard Error

PostPosted: Thu Jun 29, 2017 3:07 am
by zenithbsolutions
Hi,

Found the solution for updating the configs.

1 - Admin -> Servers
2 - Generate conf files: N
3 - Rebuild conf files: Y
4 - Rebuild Music On Hold: Y
5 - Sounds Update: Y

Hope it helps you. Thank you

Re: Soundboard Error

PostPosted: Thu Jun 29, 2017 6:30 am
by mflorell
Thanks for posting a followup!

Re: Soundboard Error

PostPosted: Thu Jun 29, 2017 1:37 pm
by zenithbsolutions
You're Welcome.

Re: Soundboard Error

PostPosted: Fri Jun 30, 2017 10:35 am
by ruben23
@zenithbsolutions

Sorry if i come in on you thread, but did you have a successful implementation for your soundboard the Audio plays perfectly somehow, My setup somehow seems not working, no sound generating from the audio or any log error during my testing, maybe have some inputs. Thanks a lot

Re: Soundboard Error

PostPosted: Sat Jul 01, 2017 8:06 am
by zenithbsolutions
Hi,

Yes, We have successfully deployed 50+ Soundboards on different VPS & Dedicated Servers. I will do my best to help you. But you need to share us more info on your sound board config and user account in sound board and its privileges along with asterisk CLI response.

Thank you