domingo, 20 de enero de 2019

Music played while waiting on calls

Yes, this is a meetme option, you will need to put it in the extensions.conf:


; VICIDIAL conferences
exten => _86000[5-9]X,1,Meetme(${EXTEN},FM)
exten => _86000[5-9]X,n,Hangup()
exten => _8600[1-2]XX,1,Meetme(${EXTEN},FM)
exten => _8600[1-2]XX,n,Hangup()



This is an explanation of the meetme M option:

M[(class)]: Enable music on hold when the conference has a single
caller. Optionally, specify a musiconhold class to use. If one is not
provided, it will use the channel's currently set music class, or 'de
fault'.

lunes, 14 de enero de 2019

Vicidial Owner dialing


Postby mflorell » Fri Feb 03, 2012 8:29 am
Owner-only dialing allows for this, in MANUAL dial method campaigns only of course. You just load the leads in with the user ID set into the owner field and enabled the no-hopper-dialing and owner-only dialing settings in the campaign.

http://www.vicidial.org/VICIDIALforum/viewtopic.php?t=23215

viernes, 11 de enero de 2019

Installing phpmyadmin

 zypper install phpMyAdmin
systemctl restart apache2

Edit phpMyAdmin  access configuration file and add your IP 186.150.169.45

nano  /etc/apache2/conf.d/phpMyAdmin.conf

<Directory /srv/www/htdocs/phpMyAdmin>
    Options FollowSymLinks
    AllowOverride None
    Require ip 127.0.0.1 192.168.0.0/16 10.0.0.0/8 186.150.169.45/12
    Include /etc/apache2/conf.d/phpMyAdmin.inc
    php_admin_value open_basedir "/srv/www/htdocs/phpMyAdmin:/var/lib/php5:/tmp:/usr/share/doc/packages/phpMyAdmin:/etc/phpMyAdmin:/proc/meminfo:/proc/stat"
</Directory>
<Directory /srv/www/htdocs/phpMyAdmin/libraries>
    Require all denied
</Directory>


 ln -s /usr/share/phpMyAdmin /srv/www/htdocs
restart apache

systemctl restart apache2

url access
http://191.21.42.44/phpMyAdmin/
cron/1234

martes, 8 de enero de 2019

vicidial webform as iframe

1) Modify Campaign (Detail view). Put https://example.com/erp/newsale in "Web Form" or
2) Modify Campaign (Detail view). Put https://example.com/erp/newsale in "Web Form Two" (be sure to activate web form two's button on the agent screen, read the manual) or
3) Create a Script and put <iframe src="https://example.com/erp/newsale" style="background-color:transparent;" scrolling="auto" frameborder="0" allowtransparency="true" id="popupFrame" name="popupFrame" width="--A--script_width--B--" height="--A--script_height--B--" STYLE="z-index:17"></iframe>

Then you can decide if you want to open this automatically at the start of a call (using the campaign "get call launch" setting) or allow the agent to click on Web Form or the Script Tab at the opportune moment.

http://www.eflo.net/VICIDIALforum/viewtopic.php?f=4&t=33353

jueves, 3 de enero de 2019

logging all calls



Re: DIRECT CALLS TO ZOIPER/SIP CLIENT

Postby mflorell » Tue Apr 18, 2017 5:41 am
By default, yes. But, you can easily change the default Phone Context in the phone's entry to a call menu on your system, like "defaultlog", which will send all outbound calls through the agi-NVA_recording.agi script so they can be logged. This script has a lot of different logging options:

# ; 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)
#exten => _X.,n,Goto(default,${EXTEN},1)
#exten => _X.,n,Hangup
#
# ;inbound to agent example:
#exten => 5678,1,AGI(agi-NVA_recording.agi,BOTH------Y---Y---Y---N---N---N)
#exten => 5678,n,Goto(vicidial-auto,5678,1)
#exten => 5678,n,Hangup
#
# ; example of dial prefix of 94 in System Settings Custom Dialplan to default log
#exten => _941NXXNXXXXXX,1,Goto(defaultlog,9${EXTEN:2},1)
#
# ; example of using as Call Menu prompt to record with playing of recording id
#agi-NVA_recording.agi,BOTH------Y---N---Y---N---Y---Y
#
# ; 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
#
# ;custom dialplan entry example: (similar to the defaultlog Call Menu) with NVA options
#exten => _X.,1,AGI(agi-NVA_recording.agi,BOTH------Y---N---Y---N---N---N---Y---ALLLISTS---N---Y---Y)
#exten => _X.,n,Goto(default,${EXTEN},1)
#exten => _X.,n,Hangup

miércoles, 26 de diciembre de 2018

ADMIN_adjust_GMTnow_on_leads.pl

ADMIN_adjust_GMTnow_on_leads.pl

ADMIN_adjust_GMTnow_on_leads.pl

Postby m160858 » Fri Aug 11, 2006 3:13 pm
Hi, 

As i can modify the ADMIN_adjust_GMTnow_on_leads.pl to use GTM from Peru? 
I'll dont understand the dynamic 

Thanks
-- 
Have a nice day
m160858
 
Posts: 29
Joined: Tue Jul 25, 2006 8:18 pm

Postby mflorell » Fri Aug 11, 2006 8:45 pm
You must use a phone code when you load leads into your system so that the GMT script will work. If you do not they will always stay as 0 GMT or ZULU time.

domingo, 23 de diciembre de 2018

ingroup urls and campaing dispo

Enter In-Group URL: (When call  enter to the ingroup)
VARhttp://207.246.65.53/email.php?&lead_id=--A--lead_id--B--&phone_number=--A--phone_number--B--&call_id=--A--call_id--B--&dispo=--A--dispo--B--&user=--A--user--B--&pass=--A--pass--B--&sale_status=SALE&log_to_file=1&call_notes=--A--call_notes--B--&type=Enter In-Group

Start Call URL: (when call is sent to an email)
VARhttp://207.246.65.53/email.php?&lead_id=--A--lead_id--B--&call_id=--A--call_id--B--&dispo=--A--dispo--B--&user=--A--user--B--&pass=--A--pass--B--&sale_status=SALE&log_to_file=1&call_notes=--A--call_notes--B--


Dispo Call URL:
This one use the  container setting  and the  send_emil.php script


VARhttp://207.246.65.53/agc/dispo_send_email.php?container_id=1000&lead_id=--A--lead_id--B--&call_id=--A--call_id--B--&dispo=--A--dispo--B--&user=--A--user--B--&pass=--A--pass--B--&sale_status=EMAIL&log_to_file=1&call_notes=--A--call_notes--B--

No Agent Call URL:
it is populated it is called every time a call that is not handled by an agent is hung up or transferre


VARhttp://207.246.65.53/email.php?&lead_id=--A--lead_id--B--&call_id=--A--call_id--B--&dispo=--A--dispo--B--&user=--A--user--B--&pass=--A--pass--B--&sale_status=SALE&log_to_file=1&call_notes=--A--call_notes--B--&type=NO_Agent




------------------------

CAMPAING EMAIL using dynamic email, from the lead email field


VARhttp://207.246.65.53/agc/dispo_send_email.php?container_id=AGENT_CALLBACK_EMAIL&lead_id=--A--lead_id--B--&call_id=--A--call_id--B--&dispo=--A--dispo--B--&user=--A--user--B--&pass=--A--pass--B--&sale_status=SALE&log_to_file=1&call_notes=--A--call_notes--B--&email=--A--email--B--



email_from => customerservice@hotmail.com
email_to => --A--email--B--


subject of the email


email_subject => Scheduled callback alert for --A--agent_name--B--

email_body_begin =>
This is a reminder that you have a scheduled callback right now for the following lead:

Name: --A--first_name--B-- --A--last_name--B--
Phone: --A--phone_number--B--
Alt. phone: --A--alt_phone--B--
Email: --A--email--B--
CB Comments: --A--callback_comments--B--
Lead Comments: --A--comments--B--

Please don't respond to this, fool.

email_body_end

---------------------

php script

<?php
print_r($_GET);
$subject="Vici email";
$body="";

foreach($_GET as $value){
$body.="$value\n";
}
system("echo \"$body\" | mail -s \"$subject\" ambiorixg12@gmail.com");

?>

http://vicidial.org/docs/DISPO_SEND_EMAIL.txt