Vtiger504 & clic to dial help

Any and all non-support discussions

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

Vtiger504 & clic to dial help

Postby omarrodriguezt » Tue Aug 11, 2009 2:11 pm

Hello,
I just follow up the steps for install vtiger504 and clic to dial patch and it's working as should be, except that only works with USA formatted phones.
Example: the phone 8005554444 works, since the function add the phone code 1 by default.

My situation is that I need to dial to UK (phonecode 01144) but I can't find the way, because everytime that I try, the function put 1 as dial code, even if I put the phonenumber with the phone code include.

Thank you in advance!

PD.
Im working with the file general.js that is located in vtigercrm/include/
and I changed:
var VCcallQuery = "VCcall=1&phone=" + phone + "&dialcode=01144";

and nothing.
I tried:
var VCcallQuery = "VCcall=01144&phone=" + phone + "&phone_code=01144";
and nothing.
omarrodriguezt
 
Posts: 667
Joined: Fri Jun 05, 2009 12:22 pm
Location: Dominican Republic

Resolved

Postby omarrodriguezt » Tue Aug 11, 2009 3:01 pm

I found the answer in the file vtigerservice.php

Line:
$VCcallQuery = "?source=vtiger&user=1000&pass=1234&agent_user=$user&function=external_dial&value=$phone&phone_code=01144&search=YES&preview=NO&focus=YES&vendor_id=$vendor_id";
omarrodriguezt
 
Posts: 667
Joined: Fri Jun 05, 2009 12:22 pm
Location: Dominican Republic

thanks

Postby brett05 » Tue Aug 11, 2009 3:30 pm

good
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Same problem

Postby omarrodriguezt » Wed Aug 12, 2009 9:01 am

I Changed the phoe_code in the file vtigerservice.php , but vicidial is still using "1" as phone_code. I was reading the file agc/api.php, in the function external dial and I can't find the reason.

Thank you in advance.

This is the information that external_dial field in the table vicidial_live_agents have:
173777495!01144!YES!NO!YES!34!1250085201!!!
also, when the popup placing call appear I can see the 01144 as phone code.
omarrodriguezt
 
Posts: 667
Joined: Fri Jun 05, 2009 12:22 pm
Location: Dominican Republic

Postby mflorell » Wed Aug 12, 2009 9:38 am

what does the Asterisk CLI show when the call is placed?

What does the vicidial_manager record for the call look like?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Thnk

Postby omarrodriguezt » Wed Aug 12, 2009 10:00 am

The field cmd_line_b said: Exten: 1173777495 in the table vicidial_manager

asterisk CLI
== Starting Local/8600056@default-67f0,1 at default,1173777495,1 failed so falling back to exten 's'
== Starting Local/8600056@default-67f0,1 at default,s,1 still failed so falling back to context 'default'
-- Sent into invalid extension 's' in context 'default' on Local/8600056@default-67f0,1
-- Executing Playback("Local/8600056@default-67f0,1", "invalid") in new stack
-- Playing 'invalid' (language 'en')


I just read:

VICI:Troubleshooting

Every time VICIDIAL is dialing a lead it add 1 before every area code

This is the default behavior of VICIDIAL, as it was designed for use in the United States.
Go to the Campaign Detail modification screen and change "Omit Phone Code" fields to "Yes".


and I think that this could be the problem.
Thank you in advance.
omarrodriguezt
 
Posts: 667
Joined: Fri Jun 05, 2009 12:22 pm
Location: Dominican Republic

Postby omarrodriguezt » Wed Aug 12, 2009 3:07 pm

Just changed the option omit phone code on vicidial campaign details and that's it/
Thank you
omarrodriguezt
 
Posts: 667
Joined: Fri Jun 05, 2009 12:22 pm
Location: Dominican Republic


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 122 guests