Added option in NVA agi script to search for a lead by phone number, log the

lead_id of the phone call and send a per-phone URL at the start of the
 phone call.

git-svn-id: svn://192.168.202.10@2427 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2015-12-11 14:56:18 +00:00
parent 2943008772
commit e021960a96
11 changed files with 201 additions and 8 deletions
@@ -21,6 +21,9 @@ exten => _X.,1,AGI(agi-DID_route.agi)
; If you have DIDs that arrive with a plus sign at the beginning then uncomment
;exten => _+X.,1,AGI(agi-DID_route.agi)
; If you have DIDs that arrive with a plus and 1 at the beginning that you want to filter out, then uncomment
;exten => _+1X.,1,Goto(trunkinbound,${EXTEN:2},1)
; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})