Survey Feature

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

Survey Feature

Postby gmcust3 » Thu Nov 05, 2009 2:52 pm

I am trying to use the Survey Feature.

It works "perfectly" if I use the default survey settings.

But as soon I change few parameters , it doesn't. Means It DOESN'T play the voice file.

Survey First Audio File:US_debt_survey_hello
Survey DTMF Digits: 18
Survey Not Interested Digit:8
Survey Opt-in Audio File: US_pol_survey_transfer
Survey Not Interested Audio File: US_thanks_no_contact
Survey Method: AGENT_XFER
Survey No-Response Action: OPTIN
Survey Not Interested Status: NOTINTERESTED
Survey Response Digit Map:1-DEBT|8-OPTOUT|X-NO RESPONSE|
Survey Survey Xfer Extension:8300
Survey Campaign Recording Directory: /home/survey
Voicemail:


Uploaded US_debt_survey_hello.gsm file under sound folder. { /usr/src/astguiclient/sounds}

When calls are landing up , it DOESN'T play anything and Its Silent.

US_debt_survey_hello.gsm plays perfectly when I play the same in my system.

What mistake I made in config ?
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby mflorell » Fri Nov 06, 2009 5:17 am

admin.php version and build?

Asterisk CLI output?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gmcust3 » Fri Nov 06, 2009 11:01 am

VERSION: 2.0.5-173
BUILD: 90320-0424


CLI shows :
------------------------
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... --12-----1 completed, returning 0
-- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
-- Executing AGI("SIP/Fid74_7-098ecbc8", "agi-VDAD_ALL_outbound.agi|SURVEYCAMP-----LB") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
Nov 6 10:55:30 WARNING[4809]: file.c:517 ast_openstream_full: File US_pharma_survey_hello does not exist in any format


US_pharma_survey_hello does not exist in any format



[root@vici usr]# cd src
[root@vici src]# cd astguiclient
[root@vici astguiclient]# cd sounds
[root@vici sounds]# ls -la
total 1052
drwxr-xr-x 2 root root 4096 Nov 5 14:42 .
drwxr-xr-x 13 root root 4096 Oct 9 15:11 ..
-rw-r--r-- 1 root root 429 Jul 7 2006 0.gsm
-rw-r--r-- 1 root root 4100 Jul 7 2006 0.wav
-rw-r--r-- 1 root root 429 Jul 7 2006 1.gsm
-rw-r--r-- 1 root root 4100 Jul 7 2006 1.wav
-rw-r--r-- 1 root root 429 Jul 7 2006 2.gsm
-rw-r--r-- 1 root root 4018 Jul 7 2006 2.wav
-rw-r--r-- 1 root root 429 Jul 7 2006 3.gsm
-rw-r--r-- 1 root root 4046 Jul 7 2006 3.wav
-rw-r--r-- 1 root root 429 Jul 7 2006 4.gsm
-rw-r--r-- 1 root root 3990 Jul 7 2006 4.wav
-rw-r--r-- 1 root root 429 Jul 7 2006 5.gsm
-rw-r--r-- 1 root root 3990 Jul 7 2006 5.wav
-rw-r--r-- 1 root root 429 Jul 7 2006 6.gsm
-rw-r--r-- 1 root root 4046 Jul 7 2006 6.wav
-rw-r--r-- 1 root root 429 Jul 7 2006 7.gsm
-rw-r--r-- 1 root root 4072 Jul 7 2006 7.wav
-rw-r--r-- 1 root root 429 Jul 7 2006 8.gsm
-rw-r--r-- 1 root root 4018 Jul 7 2006 8.wav
-rw-r--r-- 1 root root 429 Jul 7 2006 9.gsm
-rw-r--r-- 1 root root 4018 Jul 7 2006 9.wav
-rw-r--r-- 1 root root 1947 Jul 7 2006 auth-thankyou.gsm
-rw-r--r-- 1 root root 363 Jul 7 2006 buzz.gsm
-rw-r--r-- 1 root root 363 Jul 7 2006 ding.gsm
-rw-r--r-- 1 root root 231 Jul 7 2006 enter.gsm
-rw-r--r-- 1 root root 4917 Oct 22 2008 enter-password.gsm
-rw-r--r-- 1 root root 2211 Jul 7 2006 four_digit_id.gsm
-rw-r--r-- 1 root root 8250 Jul 7 2006 generic_hold.gsm
-rw-r--r-- 1 root root 429 Jul 7 2006 hash.gsm
-rw-r--r-- 1 root root 3990 Jul 7 2006 hash.wav
-rw-r--r-- 1 root root 759 Jul 7 2006 hold_tone.gsm
-rw-r--r-- 1 root root 2772 Jul 7 2006 ld_invalid_pin_number.gsm
-rw-r--r-- 1 root root 4587 Jul 7 2006 ld_welcome_pin_number.gsm
-rw-r--r-- 1 root root 330 Jul 7 2006 leave.gsm
-rw-r--r-- 1 root root 2409 Oct 22 2008 login-fail.gsm
-rw-r--r-- 1 root root 4752 Oct 22 2008 pin-invalid.gsm
-rw-r--r-- 1 root root 2343 Oct 22 2008 pin-number-accepted.gsm
-rw-r--r-- 1 root root 160 Nov 24 2008 quicksilence.alaw
-rw-r--r-- 1 root root 20 Nov 24 2008 quicksilence.g729
-rw-r--r-- 1 root root 33 Nov 24 2008 quicksilence.gsm
-rw-r--r-- 1 root root 160 Nov 24 2008 quicksilence.ulaw
-rw-r--r-- 1 root root 364 Nov 24 2008 quicksilence.wav
-rw-r--r-- 1 root root 16533 May 28 2008 silence10.gsm
-rw-r--r-- 1 root root 8044 Jul 7 2006 silence.wav
-rw-r--r-- 1 root root 33 Oct 16 2006 sip-silence.gsm
-rw-r--r-- 1 root root 429 Jul 7 2006 star.gsm
-rw-r--r-- 1 root root 4124 Jul 7 2006 star.wav
-rw-r--r-- 1 root root 5874 Oct 10 2008 to-be-called-back.gsm
-rw-r--r-- 1 root root 26136 Nov 5 14:36 US_pharma_survey_hello.gsm
-rw-r--r-- 1 root root 55737 Jul 7 2006 US_pol_survey_hello.gsm
-rw-r--r-- 1 root root 10461 Jul 7 2006 US_pol_survey_transfer.gsm
-rw-r--r-- 1 root root 5610 Jul 7 2006 US_reminder_callback.gsm
-rw-r--r-- 1 root root 1980 Jul 7 2006 US_reminder_goodbye.gsm
-rw-r--r-- 1 root root 14058 Jul 7 2006 US_reminder_message.gsm
-rw-r--r-- 1 root root 11748 Jul 7 2006 US_reminder_options.gsm
-rw-r--r-- 1 root root 3894 Jul 7 2006 US_thanks_no_contact.gsm
-rw-r--r-- 1 root root 74868 Mar 27 2009 vicidial-welcome.wav
-rw-r--r-- 1 root root 1419 Jul 7 2006 vm-goodbye.gsm
-rw-r--r-- 1 root root 3168 Jul 7 2006 vm-msgsaved.gsm
-rw-r--r-- 1 root root 6534 Jul 7 2006 vm-rec-generic.gsm
-rw-r--r-- 1 root root 14487 Jul 7 2006 vm-review.gsm
-rw-r--r-- 1 root root 131216 Mar 27 2009 vtiger-email.wav
-rw-r--r-- 1 root root 127168 Mar 27 2009 vtiger-fax.wav
-rw-r--r-- 1 root root 8044 Apr 1 2007 ,.wav
-rw-r--r-- 1 root root 5643 Oct 22 2008 you-must-be-logged-in.gsm
[root@vici sounds]#

GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby mflorell » Fri Nov 06, 2009 12:06 pm

What is the audio format?
- bitrate
- frequency
- codec
- mono/stereo
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gmcust3 » Fri Nov 06, 2009 12:48 pm

I created the wav file.

Used Wavpad software to convert it to gsm.

No idea about figure or values you asked for.

Do I need to use SOX command to convert it to gsm from wav ?

sox: Usage: [ gopts ] [ fopts ] ifile [ fopts ] ofile [ effect [ effopts ] ]

Like

sox foo.wav -r 8000 -c1 foo.gsm resample -ql
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby mflorell » Fri Nov 06, 2009 3:11 pm

If you used wavepad it asked you to set the frequency and bitrate when you saved the audio file.

For gsm this should be 8bit, 8k
for wav this should be 16bit, 8k using the PCM codec
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gmcust3 » Fri Nov 06, 2009 4:36 pm

Sorry Matt, I didnt find any option in Wavepad.
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby gmcust3 » Sat Nov 07, 2009 5:51 pm

[root@vici ~]# sox -t wav recording.wav -r 8000 -c1 -t gsm rrcordings.gsm resamp le -ql
sox: Failed reading recording.wav: WAV file has unknown format type of 22
You have new mail in /var/spool/mail/root
[root@vici ~]# sox -t wav recording.wav -r 8000 -c1 -t gsm rrcordings.gsm resamp le -ql
sox: Failed reading recording.wav: WAV file has unknown format type of 22
[root@vici ~]# sox -t wav recording.wav -r 8000 -c1 -t gsm rrcordings.gsm resamp le -ql
sox: Input and Output rates must be different to use resample effect
[root@vici ~]# sox -t wav recording.wav -r 8000 -c1 -t gsm rrcordings.gsm resample -ql
sox: Failed reading recording.wav: WAV file has unknown format type of 22
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby gmcust3 » Wed Nov 11, 2009 2:43 pm

[root@vici ~]# file recording.wav
recording.wav: RIFF (little-endian) data, WAVE audio, mono 8000 Hz
[root@vici ~]#

I am STILL fighting to convert WAV to GSM.
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 73 guests