Predictive Not working while Manual works just fine

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Predictive Not working while Manual works just fine

Postby marveelou » Wed Oct 05, 2022 6:07 am

vicidial version, installed from vicibox 8.1

Version: 2.14b0.5
SVN Version: 3644
DB Schema Version: 1667

logs
[Oct 5 07:03:36] == Spawn extension (default, 53214033023605, 3) exited non-zero on 'Local/8600052@default-00000025;1'
[Oct 5 07:03:36] -- Executing [h@default:1] AGI("Local/8600052@default-00000025;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL---------------SIP 183 Session Progress)") in new stack
[Oct 5 07:03:36] -- <Local/8600052@default-00000025;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... -------SIP 183 Session Progress) completed, returning 0
[Oct 5 07:03:36] == Spawn extension (default, 8600052, 1) exited non-zero on 'Local/8600052@default-00000025;2'
[Oct 5 07:03:36] WARNING[30457][C-00000039]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Oct 5 07:03:36] -- Executing [h@default:1] AGI("Local/8600052@default-00000025;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
[Oct 5 07:03:36] -- <Local/8600052@default-00000025;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Oct 5 07:03:36] == Manager 'sendcron' logged on from 127.0.0.1
[Oct 5 07:03:36] NOTICE[30542]: manager.c:4366 action_hangup: Request to hangup non-existent channel: Local/8600052@default-00000025;2
[Oct 5 07:03:36] == Manager 'sendcron' logged on from 127.0.0.1
[Oct 5 07:03:36] -- Manager 'sendcron' from 127.0.0.1, hanging up channel: Local/58600052@default-00000026;2
[Oct 5 07:03:36] == Spawn extension (default, 58600052, 1) exited non-zero on 'Local/58600052@default-00000026;2'
[Oct 5 07:03:36] WARNING[30464][C-0000003b]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Oct 5 07:03:36] -- Executing [h@default:1] AGI("Local/58600052@default-00000026;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
[Oct 5 07:03:36] -- <Local/58600052@default-00000026;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Oct 5 07:03:36] == Spawn extension (default, 8309, 3) exited non-zero on 'Local/58600052@default-00000026;1'
[Oct 5 07:03:36] WARNING[30463][C-0000003c]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Oct 5 07:03:36] -- Executing [h@default:1] AGI("Local/58600052@default-00000026;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
[Oct 5 07:03:36] -- <Local/58600052@default-00000026;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Oct 5 07:03:37] == Manager 'sendcron' logged off from 127.0.0.1
[Oct 5 07:03:37] == Manager 'sendcron' logged off from 127.0.0.1
marveelou
 
Posts: 30
Joined: Thu Oct 02, 2014 8:38 pm
Location: Soong 2, Mactan , Cebu, Philippines

Re: Predictive Not working while Manual works just fine

Postby marveelou » Wed Oct 05, 2022 6:43 am

this issue has been resolved. This issue is with the dial plan entry just remove
the called id name option and calls started to come in.

old dial plan
exten => _533.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _533.,n,Set(CALLERID(all)="Service Dept" <16043323392>)
exten => _533.,n,Dial(SIP/${EXTEN:3}@voip,,tTo)
exten => _533.,n,Hangup()

new dial plan - this one works
exten => _535.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _535.,n,Dial(SIP/${EXTEN:3}@voip,,tTo)
exten => _535.,n,Hangup()


Hope it helps...Thank you
marveelou
 
Posts: 30
Joined: Thu Oct 02, 2014 8:38 pm
Location: Soong 2, Mactan , Cebu, Philippines

Re: Predictive Not working while Manual works just fine

Postby jamiemurray » Wed Oct 05, 2022 6:54 am

VICIdial uses the caller ID name field to track the calls, if you change that, it usually breaks auto-dial.
If you require to set caller id name before sending to the carrier, you will need to do a loopback call to an unlogged call and change the caller id there instead, as far as I'm aware, Canada is about the only place that allows dynamic caller ID name so unless you calling there, there probably no need to do this.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: Predictive Not working while Manual works just fine

Postby jamiemurray » Sun Oct 16, 2022 9:54 am

Another note, if you want to set caller ID name for calls to canada, you could try this solution:

Note: Not all carriers support using P-Asserted-ID as the caller ID override and some require different formats. Test it first or check with the carrier.

In your carrier dialplan entry:

exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
same => n,GotoIf($["${CUT(SIPADDHEADER01, ,2-)}" = ""]?basicpaid)
same => n,SIPAddHeader(P-Asserted-Identity: "${CUT(SIPADDHEADER01, ,2-)}" <tel:${CALLERID(num)}>)
same => n,Goto(dial)
same => n(basicpaid),SIPAddHeader(P-Asserted-Identity: "${CALLERID(num)}" <tel:${CALLERID(num)}>)
same => n(dial),Dial(${CARRIER}/${EXTEN:1},${CAMPDTO},To)
same => n,Hangup()

In system settings:
OpenSIPs CID Name Support = 1

In Campaign Detail View:
Campaign CID Name = [Your CID Name as you want it displayed]
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 49 guests