Page 1 of 1

Vicidial generating same lead IDs

PostPosted: Tue Mar 13, 2018 3:24 am
by shan
I have a case in which two calls are having same lead IDS. Surprisingly, one lead is for an outbound call and other for inbound call. However, customer is the same. Agents are different in both calls. Also, for outbound call, recording is too missing. My main questions are as following:

-Why is vicidial generating same lead IDs?
-Why is the recording missing for the outbound call?

Both calls are disposed by agents as "Calling for information only".

Re: Vicidial generating same lead IDs

PostPosted: Tue Mar 13, 2018 5:12 am
by mflorell
For inbound, if you use any of the CIDLOOKUP handle methods, it will use the caller ID number to find a lead_id to match the call to. That is often the cause of what you describe. To fix that you sometimes have to change the Handle Method to "CID".

Re: Vicidial generating same lead IDs

PostPosted: Tue Mar 13, 2018 5:40 am
by shan
Can you share where is this option exactly?

Re: Vicidial generating same lead IDs

PostPosted: Tue Mar 13, 2018 6:00 am
by mflorell
Either at the DID screen or the Call Menu screen.

Re: Vicidial generating same lead IDs

PostPosted: Tue Mar 13, 2018 6:30 am
by shan
Yes, I found this option on the DID screen, but it is already set to CID.

Re: Vicidial generating same lead IDs

PostPosted: Tue Mar 13, 2018 6:57 am
by mflorell
Then you're going to have to provide Asterisk CLI output and agiout logfile output of these happening if you want further help in identifying the issue.

Re: Vicidial generating same lead IDs

PostPosted: Tue Mar 13, 2018 7:39 am
by shan
Here are the logs which I have:

viciast01:/var/log/asterisk # tail -n 1000000 messages | grep -i 9035742930
[Mar 12 08:36:26] VERBOSE[26438][C-000452e1] res_agi.c: [Mar 12 08:36:26] -- AGI Script Executing Application: (Monitor) Options: (wav,/var/spool/asterisk/monitor/MIX/20180312083626_18665108735_19035742930)
[Mar 12 08:36:35] VERBOSE[26438][C-000452e1] res_agi.c: [Mar 12 08:36:35] -- AGI Script Executing Application: (StopMonitor) Options: (wav,/var/spool/asterisk/monitor/MIX/20180312083626_18665108735_19035742930)
[Mar 12 08:36:35] VERBOSE[26510][C-000452e6] pbx.c: [Mar 12 08:36:35] -- Executing [8309@default:2] Monitor("Local/58600076@default-0002e83b;1", "wav,20180312-083635_9035742930") in new stack
[Mar 12 08:42:36] VERBOSE[28504][C-00045340] pbx.c: [Mar 12 08:42:36] -- Executing [19035742930@default:1] AGI("Local/8600076@default-0002e87a;1", "agi://127.0.0.1:4577/call_log") in new stack
[Mar 12 08:42:36] VERBOSE[28504][C-00045340] pbx.c: [Mar 12 08:42:36] -- Executing [19035742930@default:2] Set("Local/8600076@default-0002e87a;1", "CALLERID(num)=18556022299") in new stack
[Mar 12 08:42:36] VERBOSE[28504][C-00045340] pbx.c: [Mar 12 08:42:36] -- Executing [19035742930@default:3] Dial("Local/8600076@default-0002e87a;1", "SIP/001110119035742930@sbc.voxbeam.com,,tTo") in new stack
[Mar 12 08:42:36] VERBOSE[28504][C-00045340] app_dial.c: [Mar 12 08:42:36] -- Called SIP/19035742930@carrier.com
[Mar 12 08:42:37] VERBOSE[28510][C-00045341] pbx.c: [Mar 12 08:42:37] -- Executing [8309@default:2] Monitor("Local/58600076@default-0002e87b;1", "wav,20180312-184236_9035742930") in new stack
[Mar 12 08:43:46] VERBOSE[28504][C-00045340] pbx.c: [Mar 12 08:43:46] == Spawn extension (default, 19035742930, 3) exited non-zero on 'Local/8600076@default-0002e87a;1'


My main issue is, that why recording does not exist for the outbound manual dialed call.

Re: Vicidial generating same lead IDs

PostPosted: Tue Mar 27, 2018 3:26 am
by shan
Why are the recordings getting merged??