Page 1 of 1

agi-IVR_recording_verification as transfer option

PostPosted: Mon Feb 16, 2015 9:45 am
by khuff
I'm trying to setup the agi-IVR_recording_verification.agi script to use as transfer option for our agents. I've set it up according to the comments in the file for inbound IVR from vicidial transfer however I can't seem to figure out how to transfer a call to it with the transfer conference frame on the agent screen.

The extensions entry looks like like this:

Code: Select all
 
;inbound IVR call from a VICIDIAL transfer:
exten => _83002*.,1,Ringing               ; call ringing
exten => _83002*.,2,Wait(1)               ; Wait 1 second for CID delivery
exten => _83002*.,3,Answer                ; Answer the line
exten => _83002*.,4,AGI(agi-IVR_recording_verification.agi,2015555555---N---Y---N---N---N---N---85100005-15--85100006-15--85100007-15---85100004---BOTH)
exten => _83002*.,5,Hangup


Any help would be appreciated.

Re: agi-IVR_recording_verification as transfer option

PostPosted: Mon Feb 16, 2015 12:46 pm
by khuff
I have been able to get the agi to work if I switch the extension to something simple sans pattern.

Code: Select all
;inbound IVR call from a VICIDIAL transfer:
exten => 9202,1,Ringing               ; call ringing
exten => 9202,2,Wait(1)               ; Wait 1 second for CID delivery
exten => 9202,3,Answer                ; Answer the line
exten => 9202,4,AGI(agi-IVR_recording_verification.agi,2015555555---N---Y---N---N---N---N---85100005-15--85100006-15--85100007-15---85100004---BOTH)
exten => 9202,5,Hangup


However as I expected it won't properly record the phone number or lead_id of the prospect. I suspect I need to use the other option for a vicidial transfer to get this to work. I'm just not sure how to get the agent screen to dial the _83002*. pattern. Forgive me if I'm missing something I'm not too up-to-snuff on my dialplan patterns.

Re: agi-IVR_recording_verification as transfer option

PostPosted: Tue Feb 17, 2015 9:43 am
by khuff
Well looks like I may have sorted it out. Not 100% on why it works as I don't really understand the setting. But all I had to do was put into the number to dial was AXFER83002. Not sure what AXFER does, but it works so I'm a happy camper.

Re: agi-IVR_recording_verification as transfer option

PostPosted: Tue Feb 17, 2015 10:54 am
by khuff
So I'm still having some issues. It appears as though the actual phone number doesn't get recorded unless I do a consultative transfer while Dialing with Customer. However the button to leave 3-way doesn't work and I can only hangup both lines. Any advice?

Re: agi-IVR_recording_verification as transfer option

PostPosted: Tue Feb 17, 2015 12:22 pm
by mflorell
You might want to try passing the call through an IAX loopback trunk.

Re: agi-IVR_recording_verification as transfer option

PostPosted: Tue Feb 17, 2015 12:47 pm
by khuff
Could you give me a quick example of what such a setup would look like? I'm at a loss. I assume i'd add in a dial to the IAX trunk, but I'm just not real clear on how it'd work.

Re: agi-IVR_recording_verification as transfer option

PostPosted: Tue Feb 17, 2015 1:19 pm
by mflorell
You use the 3way dial prefix and set it to something like "89", then in your carrier entry you create a dialplan entry for whatever you have the call currently going to with an "89" in the front, but you send it to the TRUNKloop which will send it through an IAX loopback that will go right back to the default context:

exten => _871NXXNXXXXXX,1,Dial(${TRUNKloop}/86${EXTEN:2},,To)
exten => _871NXXNXXXXXX,n,Hangup

Re: agi-IVR_recording_verification as transfer option

PostPosted: Tue Feb 17, 2015 11:47 pm
by khuff
Makes sense. I tested using the 88 3-way dial prefix that we use for the agents to hear the ringing, seems like it works from my tests.