Had bad would I screw things up if I...

Discussions about development of VICIDIAL and astGUIclient

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

Had bad would I screw things up if I...

Postby nobesnickr » Thu Dec 13, 2007 12:55 pm

Made a php/mysql script for our front end website so people can enter their phone number and the script will add the to the hopper table (or something along those lines) so that they get called back relatively quickly.

I'd like to add this to an inbound call group so my sales reps know this came from the website and have all the information through vicidial?

Has anyone done this? Is this recommended?
nobesnickr
 
Posts: 56
Joined: Thu Nov 01, 2007 6:44 pm

Postby mflorell » Thu Dec 13, 2007 1:49 pm

It is quite easy, if you want the call to come in as an inbound group, just set the in-group up as normal, and then you will just be doing a single MySQL query to the vicidial_manager table to initiate the call to the customer.

Having the call go to an inbound group instead of as an outbound campaign call means that you do not have to interact with the hopper at all.

INSERT INTO vicidial_manager values('','','2007-12-13 15:05:07','NEW','N','192.168.1.2','','Originate','TESTCIDBLASTCALL0124','Channel: Local/917275551212@default','Context; default','Exten: 917275551213','Priority: 1','Callerid: "Callback" <7275551214>','','','','','');

You may have to play around with it a bit, but that should work for you.
mflorell
Site Admin
 
Posts: 18379
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby nobesnickr » Thu Dec 13, 2007 2:02 pm

You are the master.

Thank you again for everything. I will get messing with this next week and see if I cant get something working.
nobesnickr
 
Posts: 56
Joined: Thu Nov 01, 2007 6:44 pm

Postby mflorell » Sat Dec 15, 2007 4:24 am

Sounds good, please post back here and let us know how it goes.
mflorell
Site Admin
 
Posts: 18379
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Development

Who is online

Users browsing this forum: No registered users and 16 guests