cm.agi not working

Any and all non-support discussions

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

cm.agi not working

Postby richmac2018 » Thu Jan 18, 2018 6:17 am

Hi,

VERSION: 2.12-552a
BUILD: 160429-0835
Asterisk 1.8.32.3
Cluster server setup


I just want to ask help regarding on the cm.agi on how it works and why its not working on my end.

Here is my dialplan entry.

exten => 111333,1,Background(pressdigits)
exten => 111333,n,Read(digito,,10)
exten => 111333,n,SayDigits(${digito})
exten => 111333,n,AGI(cm.agi,INBOUND-----${digito}-----address2)
exten => 111333,n,Goto(testmenu,s,1)

The purpose on this is I want to update address2 with the press DTMF. And as per check on leads is not appended the address2 with pressed dtmf.

Please help.

Many thanks and more power,

Richie Macua
richmac2018
 
Posts: 36
Joined: Wed Jan 17, 2018 10:47 am

Re: cm.agi not working

Postby mflorell » Thu Jan 18, 2018 5:47 pm

How are calls being sent to the call menu?
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: cm.agi not working

Postby richmac2018 » Fri Jan 19, 2018 6:10 am

Hi Sir Matt,

This is the process.
DID -> Callmenu -> Press 1 -> EXTENTSION

Then in Press 1 -> EXTENSTION context: default -> 111333

Then this is the extension code:
exten => 111333,1,Background(pressdigits)
exten => 111333,n,Read(digito,,10)
exten => 111333,n,SayDigits(${digito})
exten => 111333,n,AGI(cm.agi,INBOUND-----${digito}-----address2)
exten => 111333,n,Goto(testmenu,s,1)

What is the meaning of the parameter 1? INBOUND? it says "the in-group to take settings from" is it the In-group name?

Also as per check in the export logs i cant see call logs it will not create lead id.

Now I test it in other way just to generate a lead id I set on this settings

DID -> Callmenu -> Press 1 -> INGROUP

In group Settings (No agents No Queue Action) -> EXTENSION -> 111333

exten => 111333,1,Background(pressdigits)
exten => 111333,n,Read(digito,,10)
exten => 111333,n,SayDigits(${digito})
exten => 111333,n,AGI(cm.agi,INBOUND-----${digito}-----address2)
exten => 111333,n,Goto(testmenu,s,1)

On the export calls it generate lead id but its still not appended in address2 the dtmf presss.

What should I do on this? Or Am I correct on the cm.agi settings?

Thanks for the help.

Richie
richmac2018
 
Posts: 36
Joined: Wed Jan 17, 2018 10:47 am

Re: cm.agi not working

Postby mflorell » Fri Jan 19, 2018 6:52 am

For inbound calls, you have to send the call through an in-group, then back to a Call Menu to be able to have it log information to a vicidial_list lead field.

Be sure that in your in-group, you set the "Action Transfer CID" to "CUSTOMERCLOSER", so that the lead information is set on the call as it goes to the call menu.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: cm.agi not working

Postby richmac2018 » Fri Jan 19, 2018 8:47 am

Sir Matt,

Its now working! It show up already the dtmf pressed in address2 field.

Thank you so much for everything and more power.

Richie
richmac2018
 
Posts: 36
Joined: Wed Jan 17, 2018 10:47 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 59 guests