Send a prerecorded message on each call attempt using AMD

All installation and configuration problems and questions

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

Send a prerecorded message on each call attempt using AMD

Postby jessiekidfernando » Mon Apr 29, 2019 12:47 pm

Hello Everyone,

Anyone knows here how to automatically send/play a prerecorded message for each call attempt if the call was detected as AMD? For example:

1. If the lead was detected as AMD and the called_count=1, the dialer should send/play the prerecorded message 1 ("Thank you for calling...").
2. If the lead was detected as AMD and the called_count=3, the dialer should send/play the prerecorded message 3 ("Hi, you may call back to this number XXX").

We want the dialer to automatically send/play the prerecorded message.


Regards,

Jessie Kid Fernando
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm

Re: Send a prerecorded message on each call attempt using AM

Postby mflorell » Mon Apr 29, 2019 2:39 pm

You might be able to do this with the campaign feature "AM Message Wildcards" using the called_count field:

AM Message Wildcards -
This page allows you to define Am Message Wildcards that will check lead data from the defined lead fields for matches in the defined order specified on this page. For example, if you add a wildcard with the word -vacation- tied to the vendor_lead_code field, and the lead being played a message has -vacation- in that field, then it will hear the message defined in that AM Message Wildcard record. If you want to delete a wildcard, it must first be set to not active, then you can click on the DELETE link below the SUBMIT button for that wildcard entry
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Send a prerecorded message on each call attempt using AM

Postby jessiekidfernando » Mon Apr 29, 2019 3:30 pm

Hello Mflorrel,

Thanks for your quick prompt. Upon checking and activating the AM Message Wildcards form, the called_count field is not available. Any idea why? Is there any way to use it as field?
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm

Re: Send a prerecorded message on each call attempt using AM

Postby mflorell » Mon Apr 29, 2019 6:26 pm

The "called_count" field is in the code for that feature, can you explain how it is not working?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Send a prerecorded message on each call attempt using AM

Postby jessiekidfernando » Tue Apr 30, 2019 7:49 am

Hello Mflorrel,

When I clicked the dropped down for FIELD: I could only see the columns when loading a leads.

Here's the screenshot on this link.

https://snag.gy/6lsH8w.jpg

Thanks.
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm

Re: Send a prerecorded message on each call attempt using AM

Postby mflorell » Tue Apr 30, 2019 12:33 pm

You might need to upgrade, or scroll down on the menu, because I see it on mine, it's toward the bottom right below 'owner'.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Send a prerecorded message on each call attempt using AM

Postby jessiekidfernando » Tue Apr 30, 2019 1:40 pm

Hello Mflorrel,

I've scroll down and the last available field is 'owner'

https://snag.gy/6m2CVY.jpg

Any idea why it is not appearing on the field's scroll down?
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm

Re: Send a prerecorded message on each call attempt using AM

Postby mflorell » Tue Apr 30, 2019 6:14 pm

You probably need to upgrade to a more recent svn/trunk revision. The version you are using is 17 months old at this point.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Send a prerecorded message on each call attempt using AM

Postby jessiekidfernando » Thu May 02, 2019 7:36 am

Hello Mflorrel,

Is there any way that we can enable it without upgrading the version? Like editing the php script?

Regards,

Jessie
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm

Re: Send a prerecorded message on each call attempt using AM

Postby mflorell » Thu May 02, 2019 8:25 pm

Maybe, but you'll have to do a diff of the code against the more recent code and manually edit it.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Send a prerecorded message on each call attempt using AM

Postby jessiekidfernando » Mon May 06, 2019 5:45 am

Hello Mflorrel,

May I know where to get the recent code? May I know the URL of it so we could start looking into it?

Thanks.
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm

Re: Send a prerecorded message on each call attempt using AM

Postby mflorell » Mon May 06, 2019 8:17 am

mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Send a prerecorded message on each call attempt using AM

Postby jessiekidfernando » Mon May 06, 2019 8:35 am

Hello Mflorrel,

Are we talking about the admin_amm_multi.php file? that we need to compare using our existing and the latest from the source you have provided?

Thanks in advance.
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm

Re: Send a prerecorded message on each call attempt using AM

Postby mflorell » Mon May 06, 2019 10:26 am

Yep, that should be it.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Send a prerecorded message on each call attempt using AM

Postby jessiekidfernando » Mon May 06, 2019 11:44 am

Hello Mflorrel,

Thank you so much for providing this. I really appreciate your help on this one.

The called_count can now be selected. However seems like the Wildcard is not working. All of my leads' called_count is set to 2 but the chosen audio is not being played. Routing extension is set to 8369. Here's some of the screenshot for your reference. Any idea why? Did I miss something here? Thanks a lot again.

https://snag.gy/JFBQq5.jpg

https://snag.gy/UAW4h6.jpg

https://snag.gy/wxk0TV.jpg

https://snag.gy/JqIPRc.jpg
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm

Re: Send a prerecorded message on each call attempt using AM

Postby mflorell » Mon May 06, 2019 6:59 pm

You probably have to update the AGI script as well.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Send a prerecorded message on each call attempt using AM

Postby jessiekidfernando » Tue May 07, 2019 1:19 pm

Hello Mflorrel,

Thanks a lot for your help. It is now working. I have updated the VD_amd.agi using the file from you and also for me to select the called_count field using the updated admin_amm_multi.php file.

Again. Thanks a lot for your help.
OS: Linux version 4.4.155-68-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) )
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk: 13.21.1-vici
Dahdi: 2.11.1
jessiekidfernando
 
Posts: 152
Joined: Fri Feb 08, 2019 5:49 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 32 guests