by perlmutr » Sat Jan 14, 2017 11:40 am
thank you for the response but i'm a little confused.
when i look at the agi I see
# ; 1. logging output (NONE|STDERR|FILE|BOTH)
# ; 2. the ViciDial user ID, if empty it defaults to accountcode(usually phone extension) or vicidial_live_agents user who launched the call
# ; 3. log this call in user_call_log (Y|N) default N
# ; 4. log this call in call_log (Y|N) default N, ONLY NEEDED FOR INBOUND AND INTERSYSTEM CALLS!!!
# ; 5. audio record this call (Y|N) default N
# ; 6. double-log this call in call_log (Y|N) default N, ONLY NEEDED FOR INBOUND CALLMENU FORWARDED CALLS!!!
# ; 7. play the recording ID of this call before recording starts
# ; 8. include the recording ID in the filename
# ; 9. search vicidial_list for phone number dialed (Y|N) default N, assumes 10 digit phone numbers
# ; 10. if 9 is Y, this is search method (ALLLISTS|PHONE) default ALLLISTS, search all lists, use phone setting, CURRENTLY DOES NOTHING
# ; 11. error out and end call if phone number is not found (Y|N) default N
# ; 12. run the phone entry's NVA Call URL (Y|N) default N
# ; 13. if 9 is Y, and phone number is not found, insert into phone's NVA List ID (Y|N) default N
# ; 14. if 13 is Y, override phone's NVA List ID with this list ID when lead is inserted
# ; 15. if 13 is Y, override phone's NVA Phone Code with this phone code when lead is inserted
# ; 16. if 13 is Y, override phone's NVA Status with this status when lead is inserted
#
#
# ;custom dialplan entry example: (similar to the defaultlog Call Menu)
#exten => _X.,1,AGI(agi-NVA_recording.agi,BOTH------Y---N---Y---N---N---N)
when i look at the call menu it looks like:
AGI(agi-NVA_recording.agi,BOTH------Y---Y---Y)
and i ass-u-me the parameters are as follows:
1 BOTH, 2 -, 3 -,4 -,5 -,6 -,7 -,8 Y,9-,10 -,11 -,12 Y,13 -,14 -,15 -,16 Y
but when I look at other examples
# ; example of using as Call Menu prompt to record, search for phone number, run NVA call URL and error if not found
#agi-NVA_recording.agi,BOTH------Y---N---Y---N---N---N---Y---ALLLISTS---Y---Y
it looks like more than 16 parameters, how do i code the parameters. it looks like i am getting log records showing the orig phone number and not the number i am transferring to.
call_date phone_number_dialed status user campaign_id vendor_lead_code source_id list_id gmt_offset_now phone_code phone_number title first_name middle_initial last_name address1 address2 address3 city state province postal_code country_code gender date_of_birth alt_phone email security_phrase comments length_in_sec user_group alt_dial rank owner lead_id list_name list_description status_name carrier log uniqueid carrier log call_date carrier log server_ip carrier log lead_id carrier log hangup_cause carrier log dialstatus carrier log channel carrier log dial_time carrier log answered_time carrier log sip_hangup_cause carrier log sip_hangup_reason carrier log caller_code dial log caller_code dial log lead_id dial log server_ip dial log call_date dial log extension dial log channel dial log context dial log timeout dial log outbound_cid dial log sip_hangup_cause dial log sip_hangup_reason
2017-01-13 09:56:29 8137892016 SVYCLM VDAD Press1c 999999 998 -5.00 1 8137892016 Test Call Test Call 2 3 Springfield IL U 0-agent Press1c test call placed 2017-01-13 09:56:12 106 MAIN 99 Test Outbound Call 2203209 Default Manual list 1484319373.1 2017-01-13 09:56:29 192.168.10.22 2203209 16 ANSWER Local/18137892016@default-00000000;2 16 0 0 V1130956120002203209 V1130956120002203209 2203209 192.168.10.22 2017-01-13 09:56:12 8366 Local/18137892016@default default 25000 \"V1130956120002203209\" <8138897000> 0
2017-01-13 09:56:29 8137892016 SVYCLM VDAD Press1c 999999 998 -5.00 1 8137892016 Test Call Test Call 2 3 Springfield IL U 0-agent Press1c test call placed 2017-01-13 09:56:12 106 MAIN 99 Test Outbound Call 2203209 Default Manual list 1484319373.0 2017-01-13 09:58:15 192.168.10.22 2203209 16 ANSWER SIP/stratics-00000000 105 87 0 V1130956120002203209 V1130956120002203209 2203209 192.168.10.22 2017-01-13 09:56:12 8366 Local/18137892016@default default 25000 \"V1130956120002203209\" <8138897000> 0