Page 1 of 1

survey not playing msg

PostPosted: Sun Jun 19, 2022 9:10 am
by Spyder13337
Good Morning i set up a campaign to play and audio then if the customer press 1 it will be xfer to the agent but it make the outbound call to me but when i pick up the call it does not play any msg it simply drops the call after 2 seconds i try a couple of different audio thinking the format might be wrong or something but i also never in the asterisk call logs that should msg that is being played i set the verbose level to 3

I set Routing Extension: 8366





stats for the server
vicibox server 10
it a vicidial box installation

Revision: 3559
VERSION: 2.14-842a

Re: survey not playing msg

PostPosted: Sun Jun 19, 2022 10:20 am
by contactcentre24x7
what audio format you have used for the survey?

Re: survey not playing msg

PostPosted: Sun Jun 19, 2022 10:48 am
by Spyder13337
i create the file in in mp3 then i converted the audio in g711.org

i choose standard definition "16-bit WAV (8Khz, Mono, 16-Bit PCM)"

it a wav format file

Re: survey not playing msg

PostPosted: Sun Jun 19, 2022 11:16 am
by contactcentre24x7
can you set the verbose to 21 and post the asterisk CLI?

Re: survey not playing msg

PostPosted: Sun Jun 19, 2022 8:37 pm
by Spyder13337
== Manager 'sendcron' logged on from 127.0.0.1
[Jun 19 21:33:42] -- Called 612532985627@default
[Jun 19 21:33:42] -- Executing [612532985627@default:1] AGI("Local/612532985627@default-000014f0;2", "agi://127.0.0.1:4577/call_log") in new stack
[Jun 19 21:33:42] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=TESTER1))
[Jun 19 21:33:42] -- <Local/612532985627@default-000014f0;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jun 19 21:33:42] -- Executing [612532985627@default:2] GotoIf("Local/612532985627@default-000014f0;2", "0?6") in new stack
[Jun 19 21:33:42] -- Executing [612532985627@default:3] Dial("Local/612532985627@default-000014f0;2", "SIP/C6/12532985627,,tToR") in new stack
[Jun 19 21:33:42] == Using SIP RTP CoS mark 5
[Jun 19 21:33:42] -- Called SIP/C6/12532985627
[Jun 19 21:33:42] -- Local/612532985627@default-000014f0;1 is ringing
[Jun 19 21:33:45] > 0x7fe8e000a5d0 -- Strict RTP learning after remote address set to: 206.146.99.5:33356
[Jun 19 21:33:45] -- SIP/C6-00000bad is making progress passing it to Local/612532985627@default-000014f0;2
[Jun 19 21:33:45] -- Local/612532985627@default-000014f0;1 is making progress
[Jun 19 21:33:45] > 0x7fe8e000a5d0 -- Strict RTP switching to RTP target address 206.146.99.5:33356 as source
[Jun 19 21:33:46] -- SIP/C6-00000bad requested media update control 26, passing it to Local/612532985627@default-000014f0;2
[Jun 19 21:33:46] -- SIP/C6-00000bad answered Local/612532985627@default-000014f0;2
[Jun 19 21:33:46] -- Local/612532985627@default-000014f0;1 answered
[Jun 19 21:33:46] -- Channel SIP/C6-00000bad joined 'simple_bridge' basic-bridge <99f0ea14-466d-42c3-abd8-1302f57bb87f>
[Jun 19 21:33:46] -- Executing [138366@default:1] AGI("Local/612532985627@default-000014f0;1", "agi-VDAD_local_optimize.agi,V6192133420000035432") in new stack
[Jun 19 21:33:46] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_local_optimize.agi
[Jun 19 21:33:46] -- Channel Local/612532985627@default-000014f0;2 joined 'simple_bridge' basic-bridge <99f0ea14-466d-42c3-abd8-1302f57bb87f>
[Jun 19 21:33:46] -- <Local/612532985627@default-000014f0;1>AGI Script agi-VDAD_local_optimize.agi completed, returning 0
[Jun 19 21:33:46] -- Executing [138366@default:2] Wait("Local/612532985627@default-000014f0;1", "2") in new stack
[Jun 19 21:33:47] == Manager 'sendcron' logged off from 127.0.0.1
[Jun 19 21:33:48] -- Executing [138366@default:3] Hangup("Local/612532985627@default-000014f0;1", "") in new stack
[Jun 19 21:33:48] == Spawn extension (default, 138366, 3) exited non-zero on 'Local/612532985627@default-000014f0;1'
[Jun 19 21:33:48] WARNING[24485][C-000028d8]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Jun 19 21:33:48] -- Executing [h@default:1] AGI("Local/612532985627@default-000014f0;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[Jun 19 21:33:48] -- <Local/612532985627@default-000014f0;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Jun 19 21:33:48] -- Channel Local/612532985627@default-000014f0;2 left 'simple_bridge' basic-bridge <99f0ea14-466d-42c3-abd8-1302f57bb87f>
[Jun 19 21:33:48] -- Channel SIP/C6-00000bad left 'simple_bridge' basic-bridge <99f0ea14-466d-42c3-abd8-1302f57bb87f>
[Jun 19 21:33:48] == Spawn extension (default, 612532985627, 3) exited non-zero on 'Local/612532985627@default-000014f0;2'
[Jun 19 21:33:48] -- Executing [h@default:1] AGI("Local/612532985627@default-000014f0;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----5-----2-----SIP 200 OK)") in new stack
[Jun 19 21:33:48] -- <Local/612532985627@default-000014f0;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... -2-----SIP 200 OK) completed, returning 0

Re: survey not playing msg

PostPosted: Sun Jun 19, 2022 8:56 pm
by Spyder13337
nowhere does it mention even playing a media of any kind I know I setup surveys before on vicibox 6 and 8 but for some reason I think I am missing something NEW to let it

is this something bad or is this normal
"bad joined 'simple_bridge' basic-bridge "

Re: survey not playing msg

PostPosted: Sun Jun 19, 2022 8:58 pm
by Spyder13337
also this is the current asterisk version I am using "13.38.2-vici"

Re: survey not playing msg

PostPosted: Tue Jun 21, 2022 3:31 pm
by williamconley
Haven't played this game in a little while.

Code: Select all
asterisk -rx "dialplan show 138366@default"

[ Context 'default' created by 'pbx_config' ]
  '_1383XX' =>      1. AGI(agi-VDAD_local_optimize.agi,${CONNECTEDLINE(name)}) [pbx_config]
                    2. Wait(2)                                    [pbx_config]
                    3. Hangup()                                   [pbx_config]


First priority runs the agi script. Second priority waits two seconds. Third hangs up. Third should never happen if the channel is valid. If the channel is in fact valid, it will switch from "local" to something else and the vicidial scripting will jump in and move the process along. Third priority never fires in that case.

Have you upgraded this server? Made any other adjustments that could have altered the way the core works?

Also if I recall some of the more recent asterisk versions require a second "silence" line in them to allow switching to occur for AMD and (perhaps) for Survey.