Page 1 of 1

cm.agi not working

PostPosted: Thu Jan 18, 2018 6:17 am
by richmac2018
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

Re: cm.agi not working

PostPosted: Thu Jan 18, 2018 5:47 pm
by mflorell
How are calls being sent to the call menu?

Re: cm.agi not working

PostPosted: Fri Jan 19, 2018 6:10 am
by richmac2018
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

Re: cm.agi not working

PostPosted: Fri Jan 19, 2018 6:52 am
by mflorell
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.

Re: cm.agi not working

PostPosted: Fri Jan 19, 2018 8:47 am
by richmac2018
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