Page 1 of 1

Survey Campaign Not Working Right

PostPosted: Wed Apr 29, 2009 9:41 pm
by wizzbangca
I bet it's something I am doing wrong, but here we go.

I have created a campaign to blast a message to customers about their current files with the company then asks if they want to transfer to their rep, press 1. And yup, this is completely legal. I test the campaign and no message blasting, no transfer to an agent, nothing. I have not changed the extension settings in the confs. The compaign VDAD extension being used is 8366. When I dial directly into 8366 from an extension, the logs show:

Apr 29 22:28:23 VERBOSE[11179] logger.c: -- Executing Playback("SIP/cc129-0a1ed430", "sip-silence") in new stack
Apr 29 22:28:23 VERBOSE[11179] logger.c: -- Playing 'sip-silence' (language 'en')
Apr 29 22:28:23 VERBOSE[11179] logger.c: -- Executing AGI("SIP/cc129-0a1ed430", "agi://127.0.0.1:4577/call_log") in new stack
Apr 29 22:28:23 VERBOSE[11179] logger.c: -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
Apr 29 22:28:23 VERBOSE[11179] logger.c: -- Executing AGI("SIP/cc129-0a1ed430", "agi-VDAD_ALL_outbound.agi|SURVEYCAMP-----LB") in new stack
Apr 29 22:28:23 VERBOSE[11179] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
Apr 29 22:28:23 VERBOSE[11179] logger.c: == Spawn extension (default, 8366, 3) exited non-zero on 'SIP/cc129-0a1ed430'
Apr 29 22:28:23 VERBOSE[11179] logger.c: -- Executing DeadAGI("SIP/cc129-0a1ed430", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
Apr 29 22:28:23 VERBOSE[11179] logger.c: -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0

Not sure what to do. The dial logs for the test run are pretty huge. I can post if needed.

Thanks for any ideas.

PostPosted: Wed Apr 29, 2009 11:16 pm
by mflorell
dialing 8366 from an extension shows you nothing useful. Need to see agiout.2009XXXX logs from actual dialing.

Does regular agent auto dialing work on this setup?

PostPosted: Thu Apr 30, 2009 4:03 pm
by wizzbangca
Got the campaign working. The logs show the call being transfered to 8366 then the message being played. However, the audio file being used for the message wasn't coded right. Following the scratch install as a basis for file conversation created gsm files that didn't work. I did find the correct commands to covnert waveto gsm, may also work for mp3 too.

sox foo.wav -r 8000 -c1 foo.gsm resample -ql

Now the campaign works just fine.