Project

General

Profile

AMD.conf + voicemail drop??

Added by ras el over 2 years ago

Hello,

I am using goautodial 4 with asterisk 13.x

I have a regular outbound campaign with amd detection on yes + saved voicemail.wav

While on a campaign the agent hears the answermachine/voicemail, is there a way to auto drop the recording to the answermachine/voicemail??

Ive tried doing a hotkey for answermachine but that just disconnects the call,
I used the search function, and someone mentioned that i can press transfer and click on the VM button... however nothing happens.. how do i get this to work?

thank you.


Replies (19)

RE: AMD.conf + voicemail drop?? - Added by Wittie Manansala over 2 years ago

Hi,

You can use the following settings on your campaign:

Answer Machine Detection=ON
Answering Machine Message:
AMD send to Action:
WaitForSilence Options:

Audio Format should be (PCM) Attributes(8000hz, 16 Bits, Mono).

Thanks

RE: AMD.conf + voicemail drop?? - Added by ras el over 2 years ago

These settings will not make the VM button work on the call transfer.. am trying to drop a prerecorded message if the agent gets a voicemail or answer machine.

RE: AMD.conf + voicemail drop?? - Added by Wittie Manansala over 2 years ago

Hi,

Try to set the following:

Answer Machine Detection=OFF
Answering Machine Message = set you prerecorded message
AMD send to Action= set NO

When agent got a call or answering machine click Transfer Call Button> Choose Regular 3-way then click VM button.

Thanks

RE: AMD.conf + voicemail drop?? - Added by ras el over 2 years ago

Wittie Manansala wrote:

Hi,

Try to set the following:

Answer Machine Detection=OFF
Answering Machine Message = set you prerecorded message
AMD send to Action= set NO

When agent got a call or answering machine click Transfer Call Button> Choose Regular 3-way then click VM button.

Thanks

ve done multiple test, there seems to be some php/java errors.. i have proper wave format uploaded.. I have amd section to on, with waitforsilence 2000,2 ...

I notice that goautodial3.3 vicidial files had options for you to set VM extension for answermachine.. i dont see that option in goautodial4.

I turned on chrome inspect, and i notice these errors.. it seems the amd vm extension is empty..

GOagentJS.php:7640 Uncaught ReferenceError: campaign_am_message_exten is not defined
at mainxfer_send_redirect (GOagentJS.php:7640)
at HTMLButtonElement.onclick (agent.php:1)

line 7640 of GoagentJS.php is below..

if (taskvar == 'XfeRVMAIL') {
var blindxferdialstring = campaign_am_message_exten + '*' + campaign + '*' + $(".formMain input[name='phone_code']").val() + '*' + $(".formMain input[name='phone_number']").val() + '*' + $(".formMain input[name='lead_id']").val();
no_delete_VDAC = 1;
}

RE: AMD.conf + voicemail drop?? - Added by Wittie Manansala over 2 years ago

Hi,

Try to update your server and test it again. If you saw same error please provide the output of below query:

select campaign_name, campaign_am_message_exten from vicidial_campaigns;

Thanks

RE: AMD.conf + voicemail drop?? - Added by ras el over 2 years ago

Wittie Manansala wrote:

Hi,

Try to update your server and test it again. If you saw same error please provide the output of below query:

select campaign_name, campaign_am_message_exten from vicidial_campaigns;

Thanks

Hello,

I checked goautodial and asterisk dbase.. and i did a fresh install..

MariaDB [asterisk]> select campaign_name, campaign_am_message_exten from vicidial_campaigns;
ERROR 1054 (42S22): Unknown column 'campaign_am_message_exten' in 'field list'
MariaDB [asterisk]> use goautodial;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
MariaDB [goautodial]> select campaign_name, campaign_am_message_exten from vicidial_campaigns;
ERROR 1146 (42S02): Table 'goautodial.vicidial_campaigns' doesn't exist
MariaDB [goautodial]>

RE: AMD.conf + voicemail drop?? - Added by Wittie Manansala over 2 years ago

Hi,

It should be am_message_exten.

Run the following:

mysql -A

select campaign_name, am_message_exten from asterisk.vicidial_campaigns;

Thanks

RE: AMD.conf + voicemail drop?? - Added by ras el over 2 years ago

Wittie Manansala wrote:

Hi,

It should be am_message_exten.

Run the following:

mysql -A

select campaign_name, am_message_exten from asterisk.vicidial_campaigns;

Thanks

The current campaign am testing out is xxxout

MariaDB [(none)]> select campaign_name, am_message_exten from asterisk.vicidial_campaigns;
---------------------------------------------+ | campaign_name | am_message_exten |
---------------------------------------------+ | TESTCAMP | vm-goodbye | | xxxout | go_leovoicemail-1579048367real | | xxxman | vm-goodbye |
---------------------------------------------+
3 rows in set (0.00 sec)

MariaDB [(none)]>

however when i click the vm button on the 3way transfer, chrome inspect shows.

modules/GOagent/GOagentJS.php:7653 Uncaught ReferenceError: campaign_am_message_exten is not defined
at mainxfer_send_redirect (modules/GOagent/GOagentJS.php:7653)
at HTMLButtonElement.onclick (agent.php:1)

What can be the issue?

RE: AMD.conf + voicemail drop?? - Added by ras el over 2 years ago

Wittie Manansala wrote:

Hi,

Try to update your latest version:

https://goautodial.org/projects/goautodialce/wiki/HOWTO_Update_latest_version_via_Github

Thanks

Thank you for the response, however i reinstalled/updated multiple times.. and it still doesnt work, i even updated chrome.

[root@talk ~]# cd /var/www/html
[root@talk html]# git pull
Already up-to-date.
[root@talk html]# cd /var/www/html/goAPIv2/
[root@talk goAPIv2]# git pull
Already up-to-date.
[root@talk goAPIv2]#

When i install vicidial from scratch on centos7 .. The VM button works on vicidial vps but not goautodial...

RE: AMD.conf + voicemail drop?? - Added by Wittie Manansala over 2 years ago

Hi,

Please provide you asterisk CLI when clicking VM button, campaign settings and audio format you've uploaded.

Thanks

RE: AMD.conf + voicemail drop?? - Added by ras el over 2 years ago

Wittie Manansala wrote:

Hi,

Please provide you asterisk CLI when clicking VM button, campaign settings and audio format you've uploaded.

Thanks

/GOagentJS.php:7653 Uncaught ReferenceError: campaign_am_message_exten seems to be wrong..there is nothing in mysql showing "campaign_am_message_exten" .. i changed it to "amd_message_exten", the php errors went away but nothing is happening.. no action from cli

RE: AMD.conf + voicemail drop?? - Added by Kristian Antiligando over 2 years ago

Hello,

Kindly provide us with the ASTERISK CLI result when making calls and make sure to click the VM button.

Regards,

RE: AMD.conf + voicemail drop?? - Added by ras el 7 months ago

Hello,

After 2 years i thought id give this another try but am still getting same errors, using latest goautodial4 + github/database updates from the update link

Uncaught ReferenceError: campaign_am_message_exten is not defined
at mainxfer_send_redirect (GOagentJS.php:7892:47)
at HTMLButtonElement.onclick (agent.php:1:1)

Is still present when tryng press the VM button on the 3way transfer if a answer machine is received..

-- Executing [h@default:1] AGI("Local/58600051@default-00000011;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
-- <Local/58600051@default-00000011;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------) completed, returning 0
Manager 'sendcron' logged on from 127.0.0.1
-- Called 8600051@default
-- Executing [8600051@default:1] Konference("Local/8600051@default-00000012;2", "8600051,R") in new stack
-- Local/8600051@default-00000012;1 answered
-- Executing [14044XXXXXX@default:1] AGI("Local/8600051@default-00000012;1", "agi://127.0.0.1:4577/call_log") in new stack
Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=00891918))
-- <Local/8600051@default-00000012;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [14044XXXXXX@default:2] Dial("Local/8600051@default-00000012;1", "SIP/14044XXXXXX@cvdialer,,tTo") in new stack
Using SIP RTP CoS mark 5
-- Called SIP/14044XXXXXX@cvdialer
Manager 'sendcron' logged on from 127.0.0.1
-- Called 58600051@default
-- Executing [58600051@default:1] Konference("Local/58600051@default-00000013;2", "8600051,qLR") in new stack
-- Local/58600051@default-00000013;1 answered
-- Executing [8309@default:1] Answer("Local/58600051@default-00000013;1", "") in new stack
-- Executing [8309@default:2] Monitor("Local/58600051@default-00000013;1", "wav,20220111-015722_404XXXXXXX_00891918_agent001") in new stack
-- Executing [8309@default:3] Wait("Local/58600051@default-00000013;1", "3600") in new stack
Manager 'sendcron' logged off from 127.0.0.1
> 0x7f9b0000d740 -- Strict RTP learning after remote address set to: 147.182.170.138:33802
-- SIP/cvdialer-0000000a is making progress passing it to Local/8600051@default-00000012;1
> 0x7f9b0000d740 -- Strict RTP switching to RTP target address 147.182.170.138:33802 as source
> 0x7f9b0000d740 -- Strict RTP learning complete - Locking on source address 147.182.170.138:33802
-- SIP/cvdialer-0000000a requested media update control 26, passing it to Local/8600051@default-00000012;1
-- SIP/cvdialer-0000000a answered Local/8600051@default-00000012;1
-- Channel SIP/cvdialer-0000000a joined 'simple_bridge' basic-bridge <0004b6ee-536d-4c9f-b95c-70a2c1e667a3>
-- Channel Local/8600051@default-00000012;1 joined 'simple_bridge' basic-bridge <0004b6ee-536d-4c9f-b95c-70a2c1e667a3>
Manager 'sendcron' logged on from 127.0.0.1
-- Manager 'sendcron' from 127.0.0.1, hanging up channel: SIP/cvdialer-0000000a
-- Channel SIP/cvdialer-0000000a left 'simple_bridge' basic-bridge <0004b6ee-536d-4c9f-b95c-70a2c1e667a3>
-- Channel Local/8600051@default-00000012;1 left 'simple_bridge' basic-bridge <0004b6ee-536d-4c9f-b95c-70a2c1e667a3>
Spawn extension (default, 14044XXXXXX, 2) exited non-zero on 'Local/8600051@default-00000012;1'
-- Executing [h@default:1] AGI("Local/8600051@default-00000012;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----33-----33-----SIP 200 OK)") in new stack
Manager 'sendcron' logged off from 127.0.0.1
-- <Local/8600051@default-00000012;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----33-----33-----SIP 200 OK) completed, returning 0
[Jan 11 00:57:58] WARNING[5568][C-00000020]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
-- Executing [h@default:1] AGI("Local/8600051@default-00000012;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
Manager 'sendcron' logged on from 127.0.0.1
-- Manager 'sendcron' from 127.0.0.1, hanging up channel: Local/58600051@default-00000013;2
[Jan 11 00:57:58] WARNING[5572][C-00000022]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
-- Executing [h@default:1] AGI("Local/58600051@default-00000013;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
Manager 'sendcron' logged off from 127.0.0.1
-- <Local/58600051@default-00000013;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------) completed, returning 0
Spawn extension (default, 8309, 3) exited non-zero on 'Local/58600051@default-00000013;1'
-- <Local/8600051@default-00000012;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------) completed, returning 0
[Jan 11 00:57:58] WARNING[5571][C-00000023]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
-- Executing [h@default:1] AGI("Local/58600051@default-00000013;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
-- <Local/58600051@default-00000013;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------) completed, returning 0
Manager 'sendcron' logged on from 127.0.0.1
Manager 'sendcron' logged off from 127.0.0.1
Manager 'sendcron' logged on from 127.0.0.1

Please help? Everything else is working but this voicemail drop.

RE: AMD.conf + voicemail drop?? - Added by Wittie Manansala 7 months ago

Hi,

1. Did you update your server using below link?
https://goautodial.org/projects/goautodialce/wiki/HOWTO_Update_latest_version_via_Github

2.Please provide us the steps to replicate the issue in VM button.

3. Please also provide your campaign settings screenshots

Thanks

RE: AMD.conf + voicemail drop?? - Added by ras el 6 months ago

Wittie Manansala wrote in RE: AMD.conf + voicemail drop??:

Hi,

1. Did you update your server using below link?
https://goautodial.org/projects/goautodialce/wiki/HOWTO_Update_latest_version_via_Github

2.Please provide us the steps to replicate the issue in VM button.

3. Please also provide your campaign settings screenshots

Thanks

Hello,

1. yes i did a fresh a install multiple times following https://goautodial.org/projects/goautodialce/wiki/Version_4_How_To_Install_Goautodial_From_Scratch_using_CentOS_7X , then when i was done i followed the steps in https://goautodial.org/projects/goautodialce/wiki/HOWTO_Update_latest_version_via_Github

2. This is happening when doing a manual call, i would hear the voicemail and i would press the VM button but nothing would happen, cli would be empty and i would receive those error in google chrome inspect. modules/GOagent/GOagentJS.php:7653 Uncaught ReferenceError: campaign_am_message_exten is not defined
at mainxfer_send_redirect (modules/GOagent/GOagentJS.php:7653)
at HTMLButtonElement.onclick (agent.php:1) ........................................From previous post, we seen that goautodial4 is calling for "campaign_am_message_exten" and it doesnt exist in the sql schema... what exist in the sql schema is "am_message_exten" so the code has to be updated.

3. Sorry i cannot show campaign settings, without the voicemail feature working i was force to revert back to vicidial. Please look into this as everything else seems to work but the voicemail drop button on manual calls, there is a error in the sql field names campaign_am_message_exten vs am_message_exten"

RE: AMD.conf + voicemail drop?? - Added by Levy Ryan Nolasco 6 months ago

Hi,

We will look into this and update you soon.

RE: AMD.conf + voicemail drop?? - Added by ras el 6 months ago

Levy Ryan Nolasco wrote in RE: AMD.conf + voicemail drop??:

Hi,

We will look into this and update you soon.

Any updates?

Thanks

RE: AMD.conf + voicemail drop?? - Added by Wittie Manansala 6 months ago

Hi,

We have created issue tracker for this issue.

We will inform once bug is fix.

Thank you very much

    (1-19/19)
    Go to top