Need advice on multiple VICIDIAL server environment

All installation and configuration problems and questions

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

Need advice on multiple VICIDIAL server environment

Postby caspar » Thu Mar 29, 2007 12:55 am

I need to setup 2x VICIDIAL servers that should have some sort of load balancing implemented as well as the one should be a backup of the other. In other words if the one server goes down, the call center should still be able to function.

Any suggestions on how I could achieve this?
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby enjay » Thu Mar 29, 2007 12:58 am

have your dialplan configured accordingly

have 2 sip provider accounts one for each box..

Polycom phones can accept multipe registrars

and if you wanna get into it big time F5 load balancers have SIP load balancing capabilities.
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby caspar » Wed Apr 04, 2007 7:06 am

I am a bit confused. Please check if I understand it correctly. When implementing load balancing on VICIDIAL:

SERVER1:
- MySQL

SERVER2:
- Apache
- VICIDIAL + pages modified to access DB on SERVER1
- cron scripts as in SCRATCH_INSTALL.txt
- keep-alive scripts 1234567 running
- Dial plan modified as in LOAD_BALANCING.txt

SERVER3:
- Apache
- VICIDIAL + pages modified to access DB on SERVER1
- cron scripts as in SCRATCH_INSTALL.txt
- keep-alive scripts 12346 running
- Dial plan modified as in LOAD_BALANCING.txt

OR should each VICIDIAL server have its own MySQL DB?
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Wed Apr 04, 2007 8:23 am

have MySQL and Apache/PHP on one server, the other two are fine as you have listed after you do that.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Wed Apr 11, 2007 3:21 am

Will the following work?

SERVER1:
- Apache
- PHP
- VICIDIAL pages
- MySQL
- In table vicidial_conferences:
conf_exten: 8600051-8600099 = SERVER1 and 8600100-86199 = SERVER2
- In table conferences
conf_exten: 8600001-8600019 = SERVER1 and 8600020-8600039 = SERVER2

SERVER2:
- all cron scripts as in SCRATCH_INSTALL.txt
- keep-alive scripts 1234567 running
- dial plan modified as in LOAD_BALANCING.txt
- meetme.conf modified as in SCRATCH_INSTALL.txt

SERVER3:
- all cron scripts as in SCRATCH_INSTALL.txt
- keep-alive scripts 12346 running
- dial plan modified as in LOAD_BALANCING.txt
- meetme.conf modified as in SCRATCH_INSTALL.txt
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby caspar » Wed Apr 11, 2007 6:09 am

Ok. I have implemented the above, combining SERVER1 & SERVER2's configuration on one machine.

When agents login on SERVER1/2 it seems to work fine.

But, when agents login to SERVER3 the following happens:
1) The agent receive a call from S0704111258398600100 and answers the call
2) The agent is now logged in, but when you click on "Show conference call channel information" it shows nothing.
3) After a few seconds the "Noone is in your session: 8600100" message appears even while the agent is still on the phone. When you click on "Call Agent Again", a second call is received by the agent from ACagcW1176289402dmin.
4) If the agent has a phone that can handle 2 simultaneous lines and answers the second call, you will hear music-on-hold.
5) After a few seconds the "Noone is in your session: 8600100" message will appear again while there are still no conference call channels.

Any ideas what I have done wrong?
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Wed Apr 11, 2007 6:16 am

There are lots of things to check, make sure:
- The server_ip for SERVER3 and SERVER2 are properly entered into /etc/astguiclient.conf
- The vicidial_conferences and conferences table entries have the server_ip properly entered for each set of entries
- The phones tables entries for each server are properly set.

Also, there is no reason not to duplicate the vicidial_conferences and conferences numbers for each server since the server_ip will differentiate them:
8600051 - 10.10.10.15
8600051 - 10.10.10.16
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Wed Apr 11, 2007 7:09 am

The server_ip for SERVER3 and SERVER2 are properly entered into /etc/astguiclient.conf

On SERVER1/2 (10.0.0.161) the astguiclient.conf file contain the following entries:
Code: Select all
...
VARserver_ip => 10.0.0.161
VARDB_server => 10.0.0.161
VARDB_database => asterisk
VARDB_user => cron
VARDB_pass => 1234
VARDB_port => 3306
...

On SERVER3 (10.0.0.149) the astguiclient.conf file contains the following entries:
Code: Select all
...
VARserver_ip => 10.0.0.149
VARDB_server => 10.0.0.161
VARDB_database => asterisk
VARDB_user => cron
VARDB_pass => 1234
VARDB_port => 3306
...


The vicidial_conferences and conferences table entries have the server_ip properly entered for each set of entries

I have changed this now so that both conferences and vicidial_conferences tables contains the complete set of conferences entries with the server's IP address as you have specified in the previous post. I also made sure that the meetme.conf files on both server contains all these entries in the [rooms] sections.

The phones tables entries for each server are properly set.

SERVER1/2's phones are working fine.
Here is a sample entry of a phone on SERVER3(10.0.0.149):

Phone extension: c000
...
Server IP: 10.0.0.149
Login: c000
Password: 1234
Status: ACTIVE
Active Account: Y
...
Client Protocol: SIP
Local GMT:
Manager Login: cron
Manager Secret: 1234
...
DBX Server: 10.0.0.161
DBX Database: asterisk
DBX User: cron
DBX Pass: 1234
DBX Port: 3306
...


However, this is still giving the same problem described in the previous post.
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Wed Apr 11, 2007 8:43 am

Can you post results of "screen -r" on both servers?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Wed Apr 11, 2007 8:55 am

SERVER1/2 screen's:
Code: Select all
2749.ASTVDadapt (Detached)
21603.ASTVDremote       (Detached)
21591.ASTupdate (Detached)
2751.ASTfastlog (Detached)
21597.ASTlisten (Detached)
25693.ASTVDautoFILL     (Detached)
21600.ASTVDauto (Detached)
21594.ASTsend   (Detached)


SERVER3 screen's:
Code: Select all
12017.ASTupdate (Detached)
11612.ASTfastlog        (Detached)
12022.ASTlisten (Detached)
12026.ASTVDauto (Detached)
12020.ASTsend   (Detached)
12029.ASTVDremote       (Detached)
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Wed Apr 11, 2007 12:24 pm

Can you post results of the following MySQL queries when you have your problem:

SELECT * from live_channels;
SELECT * from live_sip_channels;
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Thu Apr 12, 2007 12:56 am

In the experiment below is SIP/c000 the agent phone I used to login on beta (SERVER3).

Before I login on VICIDIAL client

Both tables live_channels and live_sip_channels are empty.

After I login on VICIDIAL, my phone starts to ring

live_channels is still empty.

live_sip_channels contains:
Code: Select all
"SIP/c000-093386d8","10.0.0.149","","ring","SIP/ring"


Then I answer my phone

live_channels contains:
Code: Select all
"IAX2/beta-1","10.0.0.161","","8600051","8600051|q"
"IAX2/10.0.0.161","10.0.0.149","","Call","Call"
"Zap/pseudo-385417351","10.0.0.161","","ring","SIP/ring"


live_sip_channels contains:
Code: Select all
"SIP/c000-093386d8","10.0.0.149","","IAX2/beta","IAX2/beta"


After a few seconds, VICIDIAL asks to Call Agent Again. While my phone is still connected on the previous call, a second call comes in on line 2 on my phone.

live_channels: Is still the same.

live_sip_channels contains:
Code: Select all
"SIP/c000-09351268","10.0.0.149","","ring","SIP/ring"
"SIP/c000-093386d8","10.0.0.149","","IAX2/beta","IAX2/beta"


I answer line 2 on my phone without hanging up line 1.

live_channels contains:
Code: Select all
"IAX2/10.0.0.161","10.0.0.149","","Call","Call"
"IAX2/beta-2","10.0.0.161","","8600051","8600051|q"
"IAX2/beta-1","10.0.0.161","","8600051","8600051|q"
"IAX2/10.0.0.161","10.0.0.149","","Call","Call"
"Zap/pseudo-385417351","10.0.0.161","","ring","SIP/ring"


live_sip_channels contains:
Code: Select all
"SIP/c000-09351268","10.0.0.149","","IAX2/beta","IAX2/beta"
"SIP/c000-093386d8","10.0.0.149","","IAX2/beta","IAX2/beta"


I click on the logout link of VICIDIAL client:

live_channels contains:
Code: Select all
"IAX2/beta-1","10.0.0.161","","8600051","8600051|q"
"IAX2/10.0.0.161","10.0.0.149","","Call","Call"
"Zap/pseudo-385417351","10.0.0.161","","ring","SIP/ring"


live_sip_channels contains:
Code: Select all
"SIP/c000-093386d8","10.0.0.149","","IAX2/beta","IAX2/beta"


Line 2 on my phone hangs up, but line 1 is still connected. I manually hang up line 1.

Now both tables live_channels and live_sip_channels is empty again.
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Thu Apr 12, 2007 3:08 pm

Please post results of this command on Asterisk CLI when an agent is logged in and calls are going:

show channels concise
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Fri Apr 13, 2007 1:32 am

What I did:
- Login on VICIDIAL client using SIP/c000 registered on SERVER3 (10.0.0.149)
- Then I received a call from S0704130816398600051 and answered it.
- While still connected to the call, it does not show on VICIDIAL conference call channel information table.

The Asterisk CLI for "show channels concise" is:

SERVER1/2 (10.0.0.161):
Code: Select all
Zap/pseudo-323214299:inbound:s:1:Rsrvd:(None)::::3::(None)
IAX2/beta-1:default:8600051:2:Up:MeetMe:8600051|q::IAXtrunk2:3::(None)


SERVER3 (10.0.0.149):
Code: Select all
IAX2/10.0.0.161:4569-2::s:1:Up:Bridged Call:SIP/c000-0933a9e0:8600051::3::SIP/c000-0933a9e0
SIP/c000-0933a9e0:default:8600051:1:Up:Dial:IAX2/beta:test@10.0.0.161/8600051@default:::3:30:IAX2/10.0.0.161:4569-2


Now, if I dial in using as a dummy client using the dial plan extension that uses the agi-VDAD_LO_closer_inbound.agi script, the call never gets transfered to the agent. I used SIP/c001 registered on 10.0.0.161 for this. The Asterisk CLI for "show channels concise" looks like this:

SERVER1/2 (10.0.0.161):
Code: Select all
SIP/c001-098e1888:default:1234:2:Up:AGI:agi-VDAD_LO_closer_inbound.agi|default-----c001-----c001-----park----------101-----0:::3:44:(None)
Zap/pseudo-323214299:inbound:s:1:Rsrvd:(None)::::3::(None)
IAX2/beta-1:default:8600051:2:Up:MeetMe:8600051|q::IAXtrunk2:3::(None)


SERVER3 (10.0.0.149):
Still the same.
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Fri Apr 13, 2007 3:55 am

Looks like you never applied the cli_concise patch before compiling Asterisk.

You cannot dial local extensions to test VICIDIAL.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Fri Apr 13, 2007 5:37 am

Ok. I have reinstalled Asterisk 1.2.17 now on both servers WITH the cli_chan_concise_delimiter.patch

The "show channels concise" CLI output:

SERVER1/2 (10.0.0.161):
Code: Select all
Zap/pseudo-1803563079!inbound!s!1!Rsrvd!(None)!!!!3!!(None)
IAX2/beta-1!default!8600051!2!Up!MeetMe!8600051|q!!IAXtrunk2!3!!(None)


SERVER3 (10.0.0.149):
Code: Select all
IAX2/10.0.0.161:4569-9!!s!1!Up!Bridged Call!SIP/c000-08704ce0!8600051!!3!!SIP/c000-08704ce0
SIP/c000-08704ce0!default!8600051!1!Up!Dial!IAX2/beta:test@10.0.0.161/8600051@default!!!3!42!IAX2/10.0.0.161:4569-9


I am still experiencing the same problem.

How can I test an inbound call without using my SIP phones? The servers have no zaptel cards installed and I am using the ztdummy driver on both.
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Fri Apr 13, 2007 10:08 am

If you want to test an inbound call, how will the inbound call be coming into your server when it's in production?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Fri Apr 13, 2007 10:21 am

I have to do a new VICIDIAL installation on a client's site. But since this is the first time I install VICIDIAL load balancing, I want to test it on our own servers before I mess up the client's production system.
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby caspar » Tue Apr 17, 2007 5:14 am

The previous posts were based on two test machines that I have setup to simulate a client's environment. The following is based on the real production servers that the client is actually using:

SERVER1 (196.37.34.216)
Configuration:
- Fedora Core 2
- MySQL 3.23.58
- Asterisk 1.2.11
- Apache + PHP + VICIDIAL pages
- /etc/astguiclient.conf: VARactive_keepalives => 1234567
- meetme.conf: conf => 8600001 to 8600200

screen -r:
Code: Select all
32300.ASTVDauto (Detached)
32296.ASTsend   (Detached)
32294.ASTupdate (Detached)
32302.ASTVDremote       (Detached)
32298.ASTlisten (Detached)
23370.ASTfastlog        (Detached)
18796.ASTVDadapt        (Detached)
23372.ASTVDautoFILL     (Detached)


SERVER2 (196.37.34.218)
Configuration:
- Fedore Core 2
- Asterisk 1.2.11
- Apache + PHP + VICIDIAL pages (modified to connect to SERVER1's DB)
- /etc/astguiclient.conf: modified to connect to SERVER1's DB
- /etc/astguiclient.conf: VARactive_keepalives => 12346
- meetme.conf: conf => 8600001 to 8600200

screen -r:
Code: Select all
32497.ASTupdate (Detached)
32509.ASTVDremote       (Detached)
32500.ASTsend   (Detached)
32506.ASTVDauto (Detached)
32503.ASTlisten (Detached)
31748.ASTfastlog        (Detached)


Database setup
servers:
"server_id","server_description","server_ip","active","asterisk_version","max_vicidial_trunks","telnet_host","telnet_port","ASTmgrUSERNAME", "ASTmgrSECRET","ASTmgrUSERNAMEupdate","ASTmgrUSERNAMElisten","ASTmgrUSERNAMEsend","local_gmt", "voicemail_dump_exten","answer_transfer_agent","ext_context","sys_perf_log","vd_server_logs","agi_output","vicidial_balance_active", "balance_trunks_offlimits"
"mark1","Primary VICIDIAL Server","196.37.34.216","Y","1.2.11",96,"196.37.34.216",5038,"cron","secret","updatecron","listencron","sendcron","-5","85026666666666", "8365","default","N","Y", "BOTH","Y",0
"mark2","Secondary VICIDIAL Server","196.37.34.218","Y","1.2.11",96,"196.37.34.218",5038,"cron","secret","updatecron","listencron","sendcron","-5","85026666666666","8365","default","N","N", "NONE","Y",0

phones:
"extension","dialplan_number","voicemail_id","phone_ip","computer_ip","server_ip","login","pass","status","active","phone_type","fullname","company","picture", "messages","old_messages","protocol","local_gmt","ASTmgrUSERNAME","ASTmgrSECRET", "login_user","login_pass","login_campaign","park_on_extension","conf_on_extension","VICIDIAL_park_on_extension","VICIDIAL_park_on_filename", "monitor_prefix","recording_exten","voicemail_exten","voicemail_dump_exten","ext_context","dtmf_send_extension", "call_out_number_group","client_browser","install_directory","local_web_callerID_URL","VICIDIAL_web_URL","AGI_call_logging_enabled", "user_switching_enabled","conferencing_enabled","admin_hangup_enabled","admin_hijack_enabled","admin_monitor_enabled", "call_parking_enabled","updater_check_enabled","AFLogging_enabled","QUEUE_ACTION_enabled","CallerID_popup_enabled","voicemail_button_enabled", "enable_fast_refresh","fast_refresh_rate","enable_persistant_mysql","auto_dial_next_number", "VDstop_rec_after_each_call","DBX_server","DBX_database","DBX_user","DBX_pass","DBX_port","DBY_server","DBY_database","DBY_user","DBY_pass", "DBY_port","outbound_cid"
"cc02","2002","2002","","","196.37.34.218","cc02","1234","ACTIVE","Y","","","","",0,0,"SIP","-5","cron","secret","","","","8301","8302","8301","park","8612", "8309","8501","85026666666666","default","local/8500998@default","Zap/g2/","/usr/bin/mozilla", "/usr/local/perl_TK","http://astguiclient.sf.net/test_callerid_output.php","http://astguiclient.sf.net/test_VICIDIAL_output.php","1","1","1","0","0","0","1","1", "1","1","1","1","0",1000,"0","1","1","196.37.34.216","asterisk","cron","secret",3306,"","asterisk","cron","1234",3306,""
"cc01","2001","2001","","","196.37.34.216","cc01","1234","ACTIVE","Y","","","","",0,0,"SIP","-5","cron","secret","","","","8301","8302","8301","park","8612", "8309","8501","85026666666666","default","local/8500998@default","Zap/g2/","/usr/bin/mozilla", "/usr/local/perl_TK","http://astguiclient.sf.net/test_callerid_output.php","http://astguiclient.sf.net/test_VICIDIAL_output.php","1","1","1","0","0","0","1","1", "1","1","1","1","0",1000,"0","1","1","196.37.34.216","asterisk","cron","secret",3306,"","asterisk","cron","1234",3306,"2001"
(I will add more phones later, when I get this to work)

campaigns:
"campaign_id","campaign_name","active","dial_status_a","dial_status_b","dial_status_c","dial_status_d","dial_status_e","lead_order","park_ext", "park_file_name","web_form_address","allow_closers","hopper_level","auto_dial_level","next_agent_call","local_call_time", "voicemail_ext","dial_timeout","dial_prefix","campaign_cid","campaign_vdad_exten","campaign_rec_exten","campaign_recording", "campaign_rec_filename","campaign_script","get_call_launch","am_message_exten","amd_send_to_vmx","xferconf_a_dtmf", "xferconf_a_number","xferconf_b_dtmf","xferconf_b_number","alt_number_dialing","scheduled_callbacks","lead_filter_id","drop_call_seconds", "safe_harbor_message","safe_harbor_exten","display_dialable_count","wrapup_seconds","wrapup_message","closer_campaigns", "use_internal_dnc","allcalls_delay","omit_phone_code","dial_method","available_only_ratio_tally","adaptive_dropped_percentage", "adaptive_maximum_level","adaptive_latest_server_time","adaptive_intensity","adaptive_dl_diff_target"
"CLOSER","Inbound Campaign","Y","NEW","","","","","DOWN","","","","Y",1,"1.0","random","24hours","",60,"X","0000000000","8365","8309","ONDEMAND", "FULLDATE_CUSTPHONE","","NONE","","N","","","","","N","N","NONE",5,"N","8307","Y",0,"Wrapup Call"," default -","N",0,"Y","RATIO","N",3,"3.0","2100","0",0

conferences:
"conf_exten","server_ip","extension"
8600001,"196.37.34.216",""
8600002,"196.37.34.216",""
...
8600029,"196.37.34.216",""
8600001,"196.37.34.218",""
8600002,"196.37.34.218",""
...
8600029,"196.37.34.218",""

vicidial_conferences:
"conf_exten","server_ip","extension"
8600051,"196.37.34.216",""
8600052,"196.37.34.216",""
...
8600200,"196.37.34.216",""
8600051,"196.37.34.218",""
8600052,"196.37.34.218",""
...
8600200,"196.37.34.218",""

extensions.conf on SERVER1
[general]
static=yes
writeprotect=no

[globals]
CONSOLE=Console/dsp ; Console interface for demo
TRUNKIAX2=IAX2/Mark2Asterisk:mark2123@196.37.34.216:4569

[default]
; hang up
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log)
exten => h,2,DeadAGI(agi://127.0.0.1:4577/VD_hangup--HVcause ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}))

;Outbound calls
exten => _0XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _0XXXXXXXXX,n,Dial(ZAP/g1/${EXTEN},,otT)
exten => _0XXXXXXXXX,n,Hangup

; quiet monitor extensions for meetme rooms (for room managers)
exten => _68600XXX,1,NoCDR
exten => _68600XXX,n,Meetme,${EXTEN:1}|mq

; quiet entry and leaving conferences for VICIDIAL
exten => _78600XXX,1,NoCDR
exten => _78600XXX,n,Meetme,${EXTEN:1}|q

; barge monitoring extension
exten => 8159,1,NoCDR
exten => 8159,n,ZapBarge
exten => 8159,n,Hangup

; prompt recording AGI script, ID is 4321
exten => 8168,1,NoCDR
exten => 8168,n,Answer
exten => 8168,n,AGI(agi-record_prompts.agi)
exten => 8168,n,Hangup

exten => 8300,1,NoCDR
exten => 8300,n,Hangup

; park channel for client GUI parking, hangup after 30 minutes
; create a GSM formatted audio file named "park.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8301,1,NoCDR
exten => 8301,n,Answer
exten => 8301,n,AGI(park_CID.agi)
exten => 8301,n,Playback(park)
exten => 8301,n,Hangup
exten => 8303,1,NoCDR
exten => 8303,n,Answer
exten => 8303,n,AGI(park_CID.agi)
exten => 8303,n,Playback(conf)
exten => 8303,n,Hangup

; park channel for client GUI conferencing, hangup after 30 minutes
; create a GSM formatted audio file named "conf.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8302,1,NoCDR
exten => 8302,n,Answer
exten => 8302,n,Playback(conf)
exten => 8302,n,Hangup

; default audio for safe harbor 2-second-after-hello message then hangup
; create a GSM formatted audio file complies with safe harbor rules
; and put it in /var/lib/asterisk/sounds then change filename below
exten => 8307,1,NoCDR
exten => 8307,n,Answer
exten => 8307,n,Playback(vm-goodbye)
exten => 8307,n,Hangup

; this is used for recording conference calls, the client app sends the filename
; value as a callerID recordings go to /var/spool/asterisk/monitor (WAV)
exten => 8309,1,NoCDR
exten => 8309,n,Answer
exten => 8309,n,Monitor(wav,${CALLERIDNAME})
exten => 8309,n,Wait,1800
exten => 8309,n,Hangup

; this is used for playing a message to an answering machine forwarded from AMD in VICIDIAL
; replace conf with the message file you want to leave
exten => 8320,1,NoCDR
exten => 8320,n,WaitForSilence(2000,2) ; AMD got machine. leave message after recording
exten => 8320,n,Playback(conf)
exten => 8320,n,AGI(VD_amd_post.agi,${EXTEN})
exten => 8320,n,Hangup

; VICIDIAL_auto_dialer transfer script for no-agent campaigns:
exten => 8364,1,NoCDR
exten => 8364,n,Playback(sip-silence)
exten => 8364,n,AGI(agi://127.0.0.1:4577/call_log)
exten => 8364,n,AGI(agi-VDADtransferBROADCAST.agi,${EXTEN})
exten => 8364,n,AGI(agi-VDADtransferBROADCAST.agi,${EXTEN})
exten => 8364,n,Hangup

; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,NoCDR
exten => 8365,n,Playback(sip-silence)
exten => 8365,n,AGI(agi://127.0.0.1:4577/call_log)
exten => 8365,n,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,n,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,n,Hangup

; VICIDIAL_auto_dialer transfer script SURVEY at beginning:
exten => 8366,1,NoCDR
exten => 8366,n,Playback(sip-silence)
exten => 8366,n,AGI(agi://127.0.0.1:4577/call_log)
exten => 8366,n,AGI(agi-VDADtransferSURVEY.agi,${EXTEN})
exten => 8366,n,AGI(agi-VDADtransferSURVEY.agi,${EXTEN})
exten => 8366,n,Hangup

; VICIDIAL_auto_dialer transfer script AMD with Load Balanced:
exten => 8369,1,NoCDR
exten => 8369,n,Playback(sip-silence)
exten => 8369,n,AGI(agi://127.0.0.1:4577/call_log)
exten => 8369,n,AMD(3500|1500|300|5000|120|50|5|256)
exten => 8369,n,AGI(VD_amd.agi,${EXTEN})
exten => 8369,n,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8369,n,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8369,n,Hangup

; VICIDIAL auto-dial reminder script
exten => 8372,1,NoCDR
exten => 8372,n,Playback(sip-silence)
exten => 8372,n,AGI(agi://127.0.0.1:4577/call_log)
exten => 8372,n,AGI(agi-VDADautoREMINDER.agi,${EXTEN})
exten => 8372,n,AGI(agi-VDADautoREMINDER.agi,${EXTEN})
exten => 8372,n,Hangup

; Give voicemail at extension 8500
exten => 8500,1,NoCDR
exten => 8500,n,VoicemailMain
exten => 8500,n,Goto(s,6)

; this is used for sending DTMF signals within conference calls, the client app
; sends the digits to be played in the callerID field
; sound files must be placed in /var/lib/asterisk/sounds
exten => 8500998,1,NoCDR
exten => 8500998,n,Answer
exten => 8500998,n,Macro(dtmf|${CALLERID})

; this is used to allow the GUI to send you directly into voicemail
; don't forget to set GUI variable $voicemail_exten to this extension
exten => 8501,1,NoCDR
exten => 8501,n,VoicemailMain(s${CALLERIDNUM})
exten => 8501,n,Hangup

; this is used to allow the GUI to send live calls directly into voicemail
; don't forget to set GUI variable $voicemail_dump_exten to this extension
exten => _85026666666666.,1,NoCDR
exten => _85026666666666.,n,Wait(2)
exten => _85026666666666.,n,Voicemail(${EXTEN:14})
exten => _85026666666666.,n,Hangup

; playback of recorded prompts
exten => _851XXXXX,1,NoCDR
exten => _851XXXXX,n,Answer
exten => _851XXXXX,n,Playback(${EXTEN})
exten => _851XXXXX,n,Hangup

; Extension 8600 + 8601 conference rooms
exten => 8600,1,NoCDR
exten => 8600,n,Meetme,8600
exten => 8601,1,NoCDR
exten => 8601,n,Meetme,8601

exten => _860XXXX,1,NoCDR
exten => _860XXXX,n,Meetme,${EXTEN}|q

; ZapBarge direct channel extensions
exten => _86120XX,1,NoCDR
exten => _86120XX,n,ZapBarge(${EXTEN:5})

exten => _X38600XXX,1,NoCDR
exten => _X38600XXX,n,MeetMeAdmin(${EXTEN:2},t,${EXTEN:0:1})
exten => _X38600XXX,n,Hangup

exten => _X48600XXX,1,NoCDR
exten => _X48600XXX,n,MeetMeAdmin(${EXTEN:2},T,${EXTEN:0:1})
exten => _X48600XXX,n,Hangup

;Load balancing
exten => _010*010*010*016*8600XXX,1,Dial(${TRUNKIAX2}/${EXTEN:16},55,o)
exten => _010*010*010*016*8600XXX,2,Hangup

; VICIDIAL_auto_dialer transfer script Load Balance Overflow:
exten => 8367,1,AGI(call_log.agi,${EXTEN})
exten => 8367,2,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,3,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,4,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,5,Hangup

; VICIDIAL_auto_dialer transfer script Load Balanced:
exten => 8368,1,AGI(call_log.agi,${EXTEN})
exten => 8368,2,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,3,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,4,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,5,Hangup

; parameters for agi-VDAD_LB_closer.agi (2 fields separated by five dashes "-----"):
; 1. the full extension formatted by VICIDIAL for internal transfers * separated
2. the word START to denote the beginning of the acceptance of the transfer
; inbound VICIDIAL transfer calls [INTERNAL TRANSFER]
exten => _90009.,1,Answer ; Answer the line
exten => _90009.,2,AGI(agi-VDAD_LB_closer.agi,${EXTEN}-----START)
exten => _90009.,3,Hangup

; parameters for agi-VDAD_LO_closer.agi (2 fields separated by five dashes "-----"):
; 1. the full extension formatted by VICIDIAL for internal transfers * separated
; 2. the word START to denote the beginning of the acceptance of the transfer
; inbound VICIDIAL transfer calls [LOCAL TRANSFER]
exten => _990009.,1,Answer ; Answer the line
exten => _990009.,2,AGI(agi-VDAD_LO_closer.agi,${EXTEN}-----START)
exten => _990009.,3,Hangup

; inbound VICIDIAL call with prompt for 4-digit fronter code
exten => 1234,1,Answer ; Answer the line
exten => 1234,2,AGI(agi-VDAD_LO_closer_inbound.agi,loadbalance-----${CALLERID(num)}-----${CALLERID(name)}-----park----------999-----00)
exten => 1234,3,Hangup

[inbound]
;Inbound calls transferred to the call center
exten => _17XX,1,Ringing
exten => _17XX,n,Wait(1)
exten => _17XX,n,Answer
exten => _17XX,n,AGI(agi-VDADcloser_inboundCIDlookup.agi,default-----${CALLERID(num)}-----${CALLERID(name)}---------------101-----00)
exten => _17XX,n,Hangup

[macro-dtmf]
;DTMF signal fix
exten => s,1,GosubIf(${LEN(${ARG1})}=0]?10)
exten => s,n,Hangup
exten => s,10,Playback(silence)
exten => s,n,Playback(${ARG1:0:1})
exten => s,n,Macro(dtmf|${ARG1:1})

[marketel1]
;VICIDIAL sessions
exten => _860XXXX,1,Goto(default,${EXTEN},1)
exten => 1777,1,Goto(inbound,1777,1)


extensions.conf on SERVER2
Is very similar, except for the load balancing extensions and IAX trunks



Problems I am experiencing:

1. When an agent logs in, e.g. cc00 on SERVER1, the server does not call the agent back. But when the agent dials the session id, the agent is logged in.

2. Inbound calls are not being transfered to the agents regardless whether it is on the same server or not.



After I (agent) log in:
Both live_channels and live_sip-channels are empty. Also no new entries in the agiout log file.

After I manually dialed the session id on the agent's phone to login:

live_channels:
"channel","server_ip","channel_group","extension","channel_data"
"Zap/pseudo-733310177","196.37.34.216","","ring","SIP/ring"

live_sip_channels:
"channel","server_ip","channel_group","extension","channel_data"
"SIP/cc01-0977cf58","196.37.34.216","","8600051","8600051|q"

agiout log:
Still nothing new.

After a client dials in using a SIP phone
live_channels: Still the same

live_sip_channels:
"channel","server_ip","channel_group","extension","channel_data"
"SIP/cc01-0979add8","196.37.34.216","","agi","agi-VDADcloser_inboundCIDlookup.agi|default-----cc01-----cc01---------------101-----00"
"SIP/cc01-0977cf58","196.37.34.216","","8600051","8600051|q"

agiout log file:
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi|Perl Environment Dump:
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi|0|default-----cc01-----cc01---------------101-----00
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- accountcode =
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- callerid = cc01
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- calleridname = cc01
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- callingani2 = 0
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- callingpres = 0
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- callingtns = 0
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- callington = 0
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- channel = SIP/cc01-0979add8
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- context = inbound
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- dnid = 1777
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- enhanced = 0.0
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- extension = 1777
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- language = en
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- priority = 4
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- rdnis = unknown
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- request = agi-VDADcloser_inboundCIDlookup.agi
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- type = SIP
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi| -- uniqueid = 1176804333.24891
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi|AGI Variables: |1176804333.24891|SIP/cc01-0979add8|1777|SIP|cc01|
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi|+++++ INBOUND CALL VDCL STARTED : |default|cc01-cc01|2007-04-17 12:05:34
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi||SELECT lead_id from vicidial_list where list_id='101' and phone_number='01' order by modify_date limit 1;|1|
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi|callerID changed: Y0417120534000000001
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi||INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,uniqueid,callerid,channel,phone_code,phone_number,call_time,call_type,stage) values('196.37.34.216','default','LIVE','1','1176804333.24891','Y0417120534000000001','SIP/cc01-0979add8','00','01','2007-04-17 12:05:34','IN','LIVE-0')|
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi||INSERT INTO vicidial_closer_log (lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed) values('1','default','2007-04-17 12:05:34','1176804334','QUEUE','00','01','VDCL','N')|
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi|-- VDCL : |1|insert to vicidial_closer_log
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='196.37.34.216' and campaign_id = 'default' and call_time < "2007-04-17 12:05:34" and lead_id != '1';|
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: ||default|UPDATE vicidial_live_agents set status='QUEUE',lead_id='1',uniqueid='1176804333.24891', channel='SIP/cc01-0979add8', callerid='Y0417120534000000001' where status IN('CLOSER','READY') and server_ip='196.37.34.216' and campaign_id LIKE "%CLOSER%" and closer_campaigns LIKE "% default %" and last_update_time > '19700101015955' order by last_call_finish limit 1;|
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='196.37.34.216' and campaign_id = 'default' and call_time < "2007-04-17 12:05:34" and lead_id != '1';|
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: ||default|UPDATE vicidial_live_agents set status='QUEUE',lead_id='1',uniqueid='1176804333.24891', channel='SIP/cc01-0979add8', callerid='Y0417120534000000001' where status IN('CLOSER','READY') and server_ip='196.37.34.216' and campaign_id LIKE "%CLOSER%" and closer_campaigns LIKE "% default %" and last_update_time > '19700101015955' order by last_call_finish limit 1;|
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='196.37.34.216' and campaign_id = 'default' and call_time < "2007-04-17 12:05:34" and lead_id != '1';|
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi|-- VDAD get agent: ||default|UPDATE vicidial_live_agents set status='QUEUE',lead_id='1',uniqueid='1176804333.24891', channel='SIP/cc01-0979add8', callerid='Y0417120534000000001' where status IN('CLOSER','READY') and server_ip='196.37.34.216' and campaign_id LIKE "%CLOSER%" and closer_campaigns LIKE "% default %" and last_update_time > '19700101015955' order by last_call_finish limit 1;|
2007-04-17 12:05:34|agi-VDADcloser_inboundCIDlookup.agi|NNNNN No available agent found
...
The last few statements keeps on repeating for some time.
Last edited by caspar on Tue Apr 17, 2007 5:24 am, edited 2 times in total.
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Tue Apr 17, 2007 9:29 am

Please find and post the Action and response in the action_full.2007-04-XX file for when your agent logs in.

Also, post the vicidial_live_agents record when the agent logs in(and check the server_ip the phone is entered under).
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Tue Apr 17, 2007 10:52 am

There is no action_full.2007-04-XX file. All the other log files is there. The VICIDIAL version is 2.0.2.

| live_agent_id | user | server_ip | conf_exten | extension | status | lead_id | campaign_id | uniqueid | callerid | channel | random_id | last_call_time | last_update_time | last_call_finish | closer_campaigns | call_server_ip | user_level |
| 14 | admin | 196.37.34.216 | 8600051 | SIP/cc01 | PAUSED | 0 | CLOSER | 0.0000000 | | | 12701275 | 2007-04-17 17:48:41 | 20070417175022 | 2007-04-17 17:48:41 | default - | NULL | 8 |

The IP address is correct.
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Tue Apr 17, 2007 1:09 pm

Do you have any action logs in your /var/log/astguiclient/ directory?

are both of your servers time-synced to the same source with ntp?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Wed Apr 18, 2007 12:19 am

Here is the contents of /var/log/astguiclient:

adapt.2007-04-17
agiout.2007-04-17
FASTagiout.2007-04-17
hopper.2007-04-17
hopper.2007-04-18
listen.2007-04-17
listen.2007-04-18
remoteagent.2007-04-17
remoteagent.2007-04-18
update.2007-04-05
vdad-JAM.2007-04-05
vdautodial.2007-04-17
vdautodial.2007-04-18
vdautodial_FILL.2007-04-17
vdautodial_FILL.2007-04-18

Here are the contents of both server's ntp.conf and ntpd.conf files:

restrict default ignore
restrict 127.0.0.1
server 18.145.0.30
server 0.fedora.pool.ntp.org
server 1.fedora.pool.ntp.org
server 2.fedora.pool.ntp.org
server 127.0.0.1
fudge 127.127.1.0 stratum 10
driftfile /var/lib/ntp/drift
broadcastdelay 0.008
authenticate yes
keys /etc/ntp/keys

Both server's time is synchronized.
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby caspar » Wed Apr 18, 2007 2:08 am

I have upgraded to Asterisk 1.2.17. There is now a action_full.2007-04-18 log file created.

This is the content:
2007-04-18 8:19:46|LISTENER DEAD STOPPING PROGRAM... ATTEMPTING TO START keepalive SCRIPT||
2007-04-18 8:19:46|LISTENER DEAD STOPPING PROGRAM... ATTEMPTING TO START keepalive SCRIPT||
2007-04-18 8:19:46|CLOSING DB CONNECTION||
2007-04-18 8:20:02|LOGGED INTO MYSQL SERVER ON 1 CONNECTION||
2007-04-18 8:20:04|LISTENER DEAD STOPPING PROGRAM... ATTEMPTING TO START keepalive SCRIPT||
2007-04-18 8:20:04|LISTENER DEAD STOPPING PROGRAM... ATTEMPTING TO START keepalive SCRIPT||
2007-04-18 8:20:04|CLOSING DB CONNECTION||
...

It keeps on repeating like that. I assume this is not normal. I've check the DB. MySQL is running. I can login using the username/password in /etc/astguiclient.conf Also the following screens are running when I "screen -r":

28152.ASTsend (Detached)
28149.ASTupdate (Detached)
23370.ASTfastlog (Detached)
18796.ASTVDadapt (Detached)
23372.ASTVDautoFILL (Detached)
28158.ASTVDauto (Detached)
28155.ASTlisten (Detached)
28161.ASTVDremote (Detached)
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Wed Apr 18, 2007 6:19 am

Something is wrong with sending of actions it seems. Can you post some vicidial_manager table records for this server after trying to log in?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Wed Apr 18, 2007 6:46 am

vicidial_manager:

| man_id | uniqueid | entry_date | status | response | server_ip | channel | action | callerid | cmd_line_b | cmd_line_c | cmd_line_d | cmd_line_e | cmd_line_f | cmd_line_g | cmd_line_h | cmd_line_i | cmd_line_j | cmd_line_k |
| 29 | 0.0000000 | 2007-04-18 13:39:04 | NEW | N | 196.37.34.216 | | Originate | S0704181339048600051 | Channel: SIP/cc01 | Context: default | Exten: 8600051 | Priority: 1 | Callerid: S0704181339048600051 | | | | | |
| 30 | 0.0000000 | 2007-04-18 13:40:19 | NEW | N | 196.37.34.216 | | Originate | ACagcW1176896397dmin | Channel: SIP/cc01 | Context: default | Exten: 8600051 | Priority: 1 | Callerid: ACagcW1176896397dmin | | | | | |
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Wed Apr 18, 2007 9:33 pm

Looks like they aren't being triggered. can you run the "AST_manager_send.pl --debugX" manually and post the results?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Thu Apr 19, 2007 1:36 am

Are there something specific we are looking for? It generates a lot of output. I only posted a small part of it.

AST_manager_send.pl --debugX results:

----- SUPER-DUPER DEBUGGING -----

checking to see if listener is dead |||
0| 1 init [3] |
1| 2 [ksoftirqd/0]|
2| 3 [events/0]|
3| 4 [kblockd/0]|
4| 6 [khelper]|
5| 5 [khubd]|
6| 7 [pdflush]|
7| 8 [pdflush]|
8| 10 [aio/0]|
9| 9 [kswapd0]|
10| 120 [kseriod]|
11| 168 [md2_raid1]|
12| 169 [md1_raid1]|
13| 170 [md0_raid1]|
14| 171 [kjournald]|
15| 1169 [kjournald]|
16| 2392 syslogd -m 0|
17| 2396 klogd -x|
18| 2424 portmap|
19| 2444 rpc.statd|
20| 2471 rpc.idmapd|
21| 2567 /usr/sbin/smartd|
22| 2577 /usr/sbin/acpid|
23| 2794 /usr/sbin/sshd|
24| 2809 xinetd -stayalive -pidfile /var/run/xinetd.pid|
25| 2826 ntpd -U ntp -p /var/run/ntpd.pid|
26| 2840 /bin/sh /usr/bin/safe_mysqld --defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid|
27| 2869 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking|
28| 2897 sendmail: accepting connections|
29| 2906 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue|
30| 2917 gpm -m /dev/input/mice -t imps2|
31| 2940 crond|
32| 2970 xfs -droppriv -daemon|
33| 2989 /usr/sbin/atd|
34| 2999 dbus-daemon-1 --system|
35| 3015 mdadm --monitor --scan|
36| 3033 /sbin/mingetty tty1|
37| 3034 /sbin/mingetty tty2|
38| 3035 /sbin/mingetty tty3|
39| 3036 /sbin/mingetty tty4|
40| 3037 /sbin/mingetty tty5|
41| 3038 /sbin/mingetty tty6|
42| 3588 SCREEN|
43| 3589 /bin/bash|
44| 3764 SCREEN -d -m /usr/java/j2re1.4.2_05/bin/java -classpath ::classes:lib/jakarta-regexp-1.2.jar:lib/xerces.jar com/woolleynet/SMPPSim/SMPPSim conf/props.unix|
45| 3765 /usr/java/j2re1.4.2_05/bin/java -classpath ::classes:lib/jakarta-regexp-1.2.jar:lib/xerces.jar com/woolleynet/SMPPSim/SMPPSim conf/props.unix|
46|20966 smbd -D|
47|20970 nmbd -D|
48|28773 /bin/bash ./run|
49|28780 ./apploader apploader.cfg.linux|
50|23370 /usr/bin/SCREEN -d -m -S ASTfastlog /usr/share/astguiclient/FastAGI_log.pl --debug|
51|23372 /usr/bin/SCREEN -d -m -S ASTVDautoFILL /usr/share/astguiclient/AST_VDauto_dial_FILL.pl|
52|23379 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
53|23380 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial_FILL.pl|
54|23390 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
55|23391 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
56|23392 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
57|23393 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
58|23394 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
59|13537 /usr/sbin/httpd|
60|26976 /usr/sbin/ntpd|
61|30645 cupsd|
62|30866 /usr/sbin/fcgi-|
63|30867 /usr/sbin/httpd|
64|30932 /usr/sbin/httpd|
65|30933 /usr/sbin/httpd|
66|30934 /usr/sbin/httpd|
67|30935 /usr/sbin/httpd|
68|30936 /usr/sbin/httpd|
69|30937 /usr/sbin/httpd|
70|30938 /usr/sbin/httpd|
71|18796 /usr/bin/SCREEN -d -m -S ASTVDadapt /usr/share/astguiclient/AST_VDadapt.pl --debug|
72|18798 /usr/bin/perl /usr/share/astguiclient/AST_VDadapt.pl --debug|
73|14497 /usr/sbin/ntpd|
74|28086 asterisk|
75|28096 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 fpm-world-mix.mp3 fpm-calm-river.mp3 fpm-sunshine.mp3|
76|28097 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 fpm-world-mix.mp3 fpm-calm-river.mp3 fpm-sunshine.mp3|
77|28102 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 439.mp3 200.mp3 432.mp3 509.mp3 502.mp3 438.mp3 435.mp3 202.mp3 500.mp3 504.mp3 503.mp3 507.mp3 506.mp3 434.mp3 433.mp3 505.mp3 201.mp3 431.mp3 430.mp3 437.mp3 501.mp3 508.mp3 436.mp3|
78|28103 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 207.mp3|
79|28104 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 203.mp3 205.mp3 204.mp3 206.mp3|
80|28106 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 439.mp3 200.mp3 432.mp3 509.mp3 502.mp3 438.mp3 435.mp3 202.mp3 500.mp3 504.mp3 503.mp3 507.mp3 506.mp3 434.mp3 433.mp3 505.mp3 201.mp3 431.mp3 430.mp3 437.mp3 501.mp3 508.mp3 436.mp3|
81|28108 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
82|28115 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 207.mp3|
83|28116 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 203.mp3 205.mp3 204.mp3 206.mp3|
84|28120 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
85|28149 /usr/bin/SCREEN -d -m -S ASTupdate /usr/share/astguiclient/AST_update.pl|
86|28150 /usr/bin/perl /usr/share/astguiclient/AST_update.pl|
87|28152 /usr/bin/SCREEN -d -m -S ASTsend /usr/share/astguiclient/AST_manager_send.pl|
88|28153 /usr/bin/perl /usr/share/astguiclient/AST_manager_send.pl|
89|28155 /usr/bin/SCREEN -d -m -S ASTlisten /usr/share/astguiclient/AST_manager_listen.pl|
90|28156 /usr/bin/perl /usr/share/astguiclient/AST_manager_listen.pl|
SEND RUNNING: |/usr/share/astguiclient/AST_manager_listen.pl|
91|28158 /usr/bin/SCREEN -d -m -S ASTVDauto /usr/share/astguiclient/AST_VDauto_dial.pl|
92|28159 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial.pl|
93|28161 /usr/bin/SCREEN -d -m -S ASTVDremote /usr/share/astguiclient/AST_VDremote_agents.pl|
94|28162 /usr/bin/perl /usr/share/astguiclient/AST_VDremote_agents.pl|
95|20173 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
96|20174 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
97|25179 sshd: [net] |
98|25222 sshd: root@pts/461|
99|25234 -bash|
100|25417 /usr/bin/perl ./AST_manager_send.pl --debugX|
101|25420 /bin/ps -o %p %a --no-headers -A|
checking to see if listener is dead ||1|
0| 1 init [3] |
1| 2 [ksoftirqd/0]|
2| 3 [events/0]|
3| 4 [kblockd/0]|
4| 6 [khelper]|
5| 5 [khubd]|
6| 7 [pdflush]|
7| 8 [pdflush]|
8| 10 [aio/0]|
9| 9 [kswapd0]|
10| 120 [kseriod]|
11| 168 [md2_raid1]|
12| 169 [md1_raid1]|
13| 170 [md0_raid1]|
14| 171 [kjournald]|
15| 1169 [kjournald]|
16| 2392 syslogd -m 0|
17| 2396 klogd -x|
18| 2424 portmap|
19| 2444 rpc.statd|
20| 2471 rpc.idmapd|
21| 2567 /usr/sbin/smartd|
22| 2577 /usr/sbin/acpid|
23| 2794 /usr/sbin/sshd|
24| 2809 xinetd -stayalive -pidfile /var/run/xinetd.pid|
25| 2826 ntpd -U ntp -p /var/run/ntpd.pid|
26| 2840 /bin/sh /usr/bin/safe_mysqld --defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid|
27| 2869 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking|
28| 2897 sendmail: accepting connections|
29| 2906 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue|
30| 2917 gpm -m /dev/input/mice -t imps2|
31| 2940 crond|
32| 2970 xfs -droppriv -daemon|
33| 2989 /usr/sbin/atd|
34| 2999 dbus-daemon-1 --system|
35| 3015 mdadm --monitor --scan|
36| 3033 /sbin/mingetty tty1|
37| 3034 /sbin/mingetty tty2|
38| 3035 /sbin/mingetty tty3|
39| 3036 /sbin/mingetty tty4|
40| 3037 /sbin/mingetty tty5|
41| 3038 /sbin/mingetty tty6|
42| 3588 SCREEN|
43| 3589 /bin/bash|
44| 3764 SCREEN -d -m /usr/java/j2re1.4.2_05/bin/java -classpath ::classes:lib/jakarta-regexp-1.2.jar:lib/xerces.jar com/woolleynet/SMPPSim/SMPPSim conf/props.unix|
45| 3765 /usr/java/j2re1.4.2_05/bin/java -classpath ::classes:lib/jakarta-regexp-1.2.jar:lib/xerces.jar com/woolleynet/SMPPSim/SMPPSim conf/props.unix|
46|20966 smbd -D|
47|20970 nmbd -D|
48|28773 /bin/bash ./run|
49|28780 ./apploader apploader.cfg.linux|
50|23370 /usr/bin/SCREEN -d -m -S ASTfastlog /usr/share/astguiclient/FastAGI_log.pl --debug|
51|23372 /usr/bin/SCREEN -d -m -S ASTVDautoFILL /usr/share/astguiclient/AST_VDauto_dial_FILL.pl|
52|23379 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
53|23380 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial_FILL.pl|
54|23390 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
55|23391 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
56|23392 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
57|23393 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
58|23394 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
59|13537 /usr/sbin/httpd|
60|26976 /usr/sbin/ntpd|
61|30645 cupsd|
62|30866 /usr/sbin/fcgi-|
63|30867 /usr/sbin/httpd|
64|30932 /usr/sbin/httpd|
65|30933 /usr/sbin/httpd|
66|30934 /usr/sbin/httpd|
67|30935 /usr/sbin/httpd|
68|30936 /usr/sbin/httpd|
69|30937 /usr/sbin/httpd|
70|30938 /usr/sbin/httpd|
71|18796 /usr/bin/SCREEN -d -m -S ASTVDadapt /usr/share/astguiclient/AST_VDadapt.pl --debug|
72|18798 /usr/bin/perl /usr/share/astguiclient/AST_VDadapt.pl --debug|
73|14497 /usr/sbin/ntpd|
74|28086 asterisk|
75|28096 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 fpm-world-mix.mp3 fpm-calm-river.mp3 fpm-sunshine.mp3|
76|28097 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 fpm-world-mix.mp3 fpm-calm-river.mp3 fpm-sunshine.mp3|
77|28102 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 439.mp3 200.mp3 432.mp3 509.mp3 502.mp3 438.mp3 435.mp3 202.mp3 500.mp3 504.mp3 503.mp3 507.mp3 506.mp3 434.mp3 433.mp3 505.mp3 201.mp3 431.mp3 430.mp3 437.mp3 501.mp3 508.mp3 436.mp3|
78|28103 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 207.mp3|
79|28104 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 203.mp3 205.mp3 204.mp3 206.mp3|
80|28106 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 439.mp3 200.mp3 432.mp3 509.mp3 502.mp3 438.mp3 435.mp3 202.mp3 500.mp3 504.mp3 503.mp3 507.mp3 506.mp3 434.mp3 433.mp3 505.mp3 201.mp3 431.mp3 430.mp3 437.mp3 501.mp3 508.mp3 436.mp3|
81|28108 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
82|28115 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 207.mp3|
83|28116 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 203.mp3 205.mp3 204.mp3 206.mp3|
84|28120 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
85|28149 /usr/bin/SCREEN -d -m -S ASTupdate /usr/share/astguiclient/AST_update.pl|
86|28150 /usr/bin/perl /usr/share/astguiclient/AST_update.pl|
87|28152 /usr/bin/SCREEN -d -m -S ASTsend /usr/share/astguiclient/AST_manager_send.pl|
88|28153 /usr/bin/perl /usr/share/astguiclient/AST_manager_send.pl|
89|28155 /usr/bin/SCREEN -d -m -S ASTlisten /usr/share/astguiclient/AST_manager_listen.pl|
90|28156 /usr/bin/perl /usr/share/astguiclient/AST_manager_listen.pl|
SEND RUNNING: |/usr/share/astguiclient/AST_manager_listen.pl|
91|28158 /usr/bin/SCREEN -d -m -S ASTVDauto /usr/share/astguiclient/AST_VDauto_dial.pl|
92|28159 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial.pl|
93|28161 /usr/bin/SCREEN -d -m -S ASTVDremote /usr/share/astguiclient/AST_VDremote_agents.pl|
94|28162 /usr/bin/perl /usr/share/astguiclient/AST_VDremote_agents.pl|
95|20173 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
96|20174 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
97|25179 sshd: [net] |
98|25222 sshd: root@pts/461|
99|25234 -bash|
100|25417 /usr/bin/perl ./AST_manager_send.pl --debugX|
101|25422 /bin/ps -o %p %a --no-headers -A|
checking to see if listener is dead ||1|
0| 1 init [3] |
1| 2 [ksoftirqd/0]|
2| 3 [events/0]|
3| 4 [kblockd/0]|
4| 6 [khelper]|
5| 5 [khubd]|
6| 7 [pdflush]|
7| 8 [pdflush]|
8| 10 [aio/0]|
9| 9 [kswapd0]|
10| 120 [kseriod]|
11| 168 [md2_raid1]|
12| 169 [md1_raid1]|
13| 170 [md0_raid1]|
14| 171 [kjournald]|
15| 1169 [kjournald]|
16| 2392 syslogd -m 0|
17| 2396 klogd -x|
18| 2424 portmap|
19| 2444 rpc.statd|
20| 2471 rpc.idmapd|
21| 2567 /usr/sbin/smartd|
22| 2577 /usr/sbin/acpid|
23| 2794 /usr/sbin/sshd|
24| 2809 xinetd -stayalive -pidfile /var/run/xinetd.pid|
25| 2826 ntpd -U ntp -p /var/run/ntpd.pid|
26| 2840 /bin/sh /usr/bin/safe_mysqld --defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid|
27| 2869 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking|
28| 2897 sendmail: accepting connections|
29| 2906 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue|
30| 2917 gpm -m /dev/input/mice -t imps2|
31| 2940 crond|
32| 2970 xfs -droppriv -daemon|
33| 2989 /usr/sbin/atd|
34| 2999 dbus-daemon-1 --system|
35| 3015 mdadm --monitor --scan|
36| 3033 /sbin/mingetty tty1|
37| 3034 /sbin/mingetty tty2|
38| 3035 /sbin/mingetty tty3|
39| 3036 /sbin/mingetty tty4|
40| 3037 /sbin/mingetty tty5|
41| 3038 /sbin/mingetty tty6|
42| 3588 SCREEN|
43| 3589 /bin/bash|
44| 3764 SCREEN -d -m /usr/java/j2re1.4.2_05/bin/java -classpath ::classes:lib/jakarta-regexp-1.2.jar:lib/xerces.jar com/woolleynet/SMPPSim/SMPPSim conf/props.unix|
45| 3765 /usr/java/j2re1.4.2_05/bin/java -classpath ::classes:lib/jakarta-regexp-1.2.jar:lib/xerces.jar com/woolleynet/SMPPSim/SMPPSim conf/props.unix|
46|20966 smbd -D|
47|20970 nmbd -D|
48|28773 /bin/bash ./run|
49|28780 ./apploader apploader.cfg.linux|
50|23370 /usr/bin/SCREEN -d -m -S ASTfastlog /usr/share/astguiclient/FastAGI_log.pl --debug|
51|23372 /usr/bin/SCREEN -d -m -S ASTVDautoFILL /usr/share/astguiclient/AST_VDauto_dial_FILL.pl|
52|23379 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
53|23380 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial_FILL.pl|
54|23390 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
55|23391 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
56|23392 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
57|23393 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
58|23394 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
59|13537 /usr/sbin/httpd|
60|26976 /usr/sbin/ntpd|
61|30645 cupsd|
62|30866 /usr/sbin/fcgi-|
63|30867 /usr/sbin/httpd|
64|30932 /usr/sbin/httpd|
65|30933 /usr/sbin/httpd|
66|30934 /usr/sbin/httpd|
67|30935 /usr/sbin/httpd|
68|30936 /usr/sbin/httpd|
69|30937 /usr/sbin/httpd|
70|30938 /usr/sbin/httpd|
71|18796 /usr/bin/SCREEN -d -m -S ASTVDadapt /usr/share/astguiclient/AST_VDadapt.pl --debug|
72|18798 /usr/bin/perl /usr/share/astguiclient/AST_VDadapt.pl --debug|
73|14497 /usr/sbin/ntpd|
74|28086 asterisk|
75|28096 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 fpm-world-mix.mp3 fpm-calm-river.mp3 fpm-sunshine.mp3|
76|28097 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 fpm-world-mix.mp3 fpm-calm-river.mp3 fpm-sunshine.mp3|
77|28102 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 439.mp3 200.mp3 432.mp3 509.mp3 502.mp3 438.mp3 435.mp3 202.mp3 500.mp3 504.mp3 503.mp3 507.mp3 506.mp3 434.mp3 433.mp3 505.mp3 201.mp3 431.mp3 430.mp3 437.mp3 501.mp3 508.mp3 436.mp3|
78|28103 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 207.mp3|
79|28104 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 203.mp3 205.mp3 204.mp3 206.mp3|
80|28106 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 439.mp3 200.mp3 432.mp3 509.mp3 502.mp3 438.mp3 435.mp3 202.mp3 500.mp3 504.mp3 503.mp3 507.mp3 506.mp3 434.mp3 433.mp3 505.mp3 201.mp3 431.mp3 430.mp3 437.mp3 501.mp3 508.mp3 436.mp3|
81|28108 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
82|28115 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 207.mp3|
83|28116 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 203.mp3 205.mp3 204.mp3 206.mp3|
84|28120 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
85|28149 /usr/bin/SCREEN -d -m -S ASTupdate /usr/share/astguiclient/AST_update.pl|
86|28150 /usr/bin/perl /usr/share/astguiclient/AST_update.pl|
87|28152 /usr/bin/SCREEN -d -m -S ASTsend /usr/share/astguiclient/AST_manager_send.pl|
88|28153 /usr/bin/perl /usr/share/astguiclient/AST_manager_send.pl|
89|28155 /usr/bin/SCREEN -d -m -S ASTlisten /usr/share/astguiclient/AST_manager_listen.pl|
90|28156 /usr/bin/perl /usr/share/astguiclient/AST_manager_listen.pl|
SEND RUNNING: |/usr/share/astguiclient/AST_manager_listen.pl|
91|28158 /usr/bin/SCREEN -d -m -S ASTVDauto /usr/share/astguiclient/AST_VDauto_dial.pl|
92|28159 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial.pl|
93|28161 /usr/bin/SCREEN -d -m -S ASTVDremote /usr/share/astguiclient/AST_VDremote_agents.pl|
94|28162 /usr/bin/perl /usr/share/astguiclient/AST_VDremote_agents.pl|
95|20173 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
96|20174 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
97|25179 sshd: [net] |
98|25222 sshd: root@pts/461|
99|25234 -bash|
100|25417 /usr/bin/perl ./AST_manager_send.pl --debugX|
101|25431 CROND|
102|25432 /usr/bin/perl /usr/share/astguiclient/AST_manager_kill_hung_congested.pl|
103|25444 /bin/ps -o %p %a --no-headers -A|
checking to see if listener is dead ||1|
0| 1 init [3] |
1| 2 [ksoftirqd/0]|
2| 3 [events/0]|
3| 4 [kblockd/0]|
4| 6 [khelper]|
5| 5 [khubd]|
6| 7 [pdflush]|
7| 8 [pdflush]|
8| 10 [aio/0]|
9| 9 [kswapd0]|
10| 120 [kseriod]|
11| 168 [md2_raid1]|
12| 169 [md1_raid1]|
13| 170 [md0_raid1]|
14| 171 [kjournald]|
15| 1169 [kjournald]|
16| 2392 syslogd -m 0|
17| 2396 klogd -x|
18| 2424 portmap|
19| 2444 rpc.statd|
20| 2471 rpc.idmapd|
21| 2567 /usr/sbin/smartd|
22| 2577 /usr/sbin/acpid|
23| 2794 /usr/sbin/sshd|
24| 2809 xinetd -stayalive -pidfile /var/run/xinetd.pid|
25| 2826 ntpd -U ntp -p /var/run/ntpd.pid|
26| 2840 /bin/sh /usr/bin/safe_mysqld --defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid|
27| 2869 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking|
28| 2897 sendmail: accepting connections|
29| 2906 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue|
30| 2917 gpm -m /dev/input/mice -t imps2|
31| 2940 crond|
32| 2970 xfs -droppriv -daemon|
33| 2989 /usr/sbin/atd|
34| 2999 dbus-daemon-1 --system|
35| 3015 mdadm --monitor --scan|
36| 3033 /sbin/mingetty tty1|
37| 3034 /sbin/mingetty tty2|
38| 3035 /sbin/mingetty tty3|
39| 3036 /sbin/mingetty tty4|
40| 3037 /sbin/mingetty tty5|
41| 3038 /sbin/mingetty tty6|
42| 3588 SCREEN|
43| 3589 /bin/bash|
44| 3764 SCREEN -d -m /usr/java/j2re1.4.2_05/bin/java -classpath ::classes:lib/jakarta-regexp-1.2.jar:lib/xerces.jar com/woolleynet/SMPPSim/SMPPSim conf/props.unix|
45| 3765 /usr/java/j2re1.4.2_05/bin/java -classpath ::classes:lib/jakarta-regexp-1.2.jar:lib/xerces.jar com/woolleynet/SMPPSim/SMPPSim conf/props.unix|
46|20966 smbd -D|
47|20970 nmbd -D|
48|28773 /bin/bash ./run|
49|28780 ./apploader apploader.cfg.linux|
50|23370 /usr/bin/SCREEN -d -m -S ASTfastlog /usr/share/astguiclient/FastAGI_log.pl --debug|
51|23372 /usr/bin/SCREEN -d -m -S ASTVDautoFILL /usr/share/astguiclient/AST_VDauto_dial_FILL.pl|
52|23379 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
53|23380 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial_FILL.pl|
54|23390 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
55|23391 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
56|23392 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
57|23393 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
58|23394 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
59|13537 /usr/sbin/httpd|
60|26976 /usr/sbin/ntpd|
61|30645 cupsd|
62|30866 /usr/sbin/fcgi-|
63|30867 /usr/sbin/httpd|
64|30932 /usr/sbin/httpd|
65|30933 /usr/sbin/httpd|
66|30934 /usr/sbin/httpd|
67|30935 /usr/sbin/httpd|
68|30936 /usr/sbin/httpd|
69|30937 /usr/sbin/httpd|
70|30938 /usr/sbin/httpd|
71|18796 /usr/bin/SCREEN -d -m -S ASTVDadapt /usr/share/astguiclient/AST_VDadapt.pl --debug|
72|18798 /usr/bin/perl /usr/share/astguiclient/AST_VDadapt.pl --debug|
73|14497 /usr/sbin/ntpd|
74|28086 asterisk|
75|28096 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 fpm-world-mix.mp3 fpm-calm-river.mp3 fpm-sunshine.mp3|
76|28097 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 fpm-world-mix.mp3 fpm-calm-river.mp3 fpm-sunshine.mp3|
77|28102 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 439.mp3 200.mp3 432.mp3 509.mp3 502.mp3 438.mp3 435.mp3 202.mp3 500.mp3 504.mp3 503.mp3 507.mp3 506.mp3 434.mp3 433.mp3 505.mp3 201.mp3 431.mp3 430.mp3 437.mp3 501.mp3 508.mp3 436.mp3|
78|28103 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 207.mp3|
79|28104 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 203.mp3 205.mp3 204.mp3 206.mp3|
80|28106 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 439.mp3 200.mp3 432.mp3 509.mp3 502.mp3 438.mp3 435.mp3 202.mp3 500.mp3 504.mp3 503.mp3 507.mp3 506.mp3 434.mp3 433.mp3 505.mp3 201.mp3 431.mp3 430.mp3 437.mp3 501.mp3 508.mp3 436.mp3|
81|28108 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
82|28115 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 207.mp3|
83|28116 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 203.mp3 205.mp3 204.mp3 206.mp3|
84|28120 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
85|28149 /usr/bin/SCREEN -d -m -S ASTupdate /usr/share/astguiclient/AST_update.pl|
86|28150 /usr/bin/perl /usr/share/astguiclient/AST_update.pl|
87|28152 /usr/bin/SCREEN -d -m -S ASTsend /usr/share/astguiclient/AST_manager_send.pl|
88|28153 /usr/bin/perl /usr/share/astguiclient/AST_manager_send.pl|
89|28155 /usr/bin/SCREEN -d -m -S ASTlisten /usr/share/astguiclient/AST_manager_listen.pl|
90|28156 /usr/bin/perl /usr/share/astguiclient/AST_manager_listen.pl|
SEND RUNNING: |/usr/share/astguiclient/AST_manager_listen.pl|
91|28158 /usr/bin/SCREEN -d -m -S ASTVDauto /usr/share/astguiclient/AST_VDauto_dial.pl|
92|28159 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial.pl|
93|28161 /usr/bin/SCREEN -d -m -S ASTVDremote /usr/share/astguiclient/AST_VDremote_agents.pl|
94|28162 /usr/bin/perl /usr/share/astguiclient/AST_VDremote_agents.pl|
95|20173 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
96|20174 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
97|25179 sshd: [net] |
98|25222 sshd: root@pts/461|
99|25234 -bash|
100|25417 /usr/bin/perl ./AST_manager_send.pl --debugX|
101|25431 CROND|
102|25432 /usr/bin/perl /usr/share/astguiclient/AST_manager_kill_hung_congested.pl|
103|25450 /bin/ps -o %p %a --no-headers -A|
checking to see if listener is dead ||1|
0| 1 init [3] |
1| 2 [ksoftirqd/0]|
2| 3 [events/0]|
3| 4 [kblockd/0]|
4| 6 [khelper]|
5| 5 [khubd]|
6| 7 [pdflush]|
7| 8 [pdflush]|
8| 10 [aio/0]|
9| 9 [kswapd0]|
10| 120 [kseriod]|
11| 168 [md2_raid1]|
12| 169 [md1_raid1]|
13| 170 [md0_raid1]|
14| 171 [kjournald]|
15| 1169 [kjournald]|
16| 2392 syslogd -m 0|
17| 2396 klogd -x|
18| 2424 portmap|
19| 2444 rpc.statd|
20| 2471 rpc.idmapd|
21| 2567 /usr/sbin/smartd|
22| 2577 /usr/sbin/acpid|
23| 2794 /usr/sbin/sshd|
24| 2809 xinetd -stayalive -pidfile /var/run/xinetd.pid|
25| 2826 ntpd -U ntp -p /var/run/ntpd.pid|
26| 2840 /bin/sh /usr/bin/safe_mysqld --defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid|
27| 2869 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking|
28| 2897 sendmail: accepting connections|
29| 2906 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue|
30| 2917 gpm -m /dev/input/mice -t imps2|
31| 2940 crond|
32| 2970 xfs -droppriv -daemon|
33| 2989 /usr/sbin/atd|
34| 2999 dbus-daemon-1 --system|
35| 3015 mdadm --monitor --scan|
36| 3033 /sbin/mingetty tty1|
37| 3034 /sbin/mingetty tty2|
38| 3035 /sbin/mingetty tty3|
39| 3036 /sbin/mingetty tty4|
40| 3037 /sbin/mingetty tty5|
41| 3038 /sbin/mingetty tty6|
42| 3588 SCREEN|
43| 3589 /bin/bash|
44| 3764 SCREEN -d -m /usr/java/j2re1.4.2_05/bin/java -classpath ::classes:lib/jakarta-regexp-1.2.jar:lib/xerces.jar com/woolleynet/SMPPSim/SMPPSim conf/props.unix|
45| 3765 /usr/java/j2re1.4.2_05/bin/java -classpath ::classes:lib/jakarta-regexp-1.2.jar:lib/xerces.jar com/woolleynet/SMPPSim/SMPPSim conf/props.unix|
46|20966 smbd -D|
47|20970 nmbd -D|
48|28773 /bin/bash ./run|
49|28780 ./apploader apploader.cfg.linux|
50|23370 /usr/bin/SCREEN -d -m -S ASTfastlog /usr/share/astguiclient/FastAGI_log.pl --debug|
51|23372 /usr/bin/SCREEN -d -m -S ASTVDautoFILL /usr/share/astguiclient/AST_VDauto_dial_FILL.pl|
52|23379 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
53|23380 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial_FILL.pl|
54|23390 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
55|23391 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
56|23392 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
57|23393 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
58|23394 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
59|13537 /usr/sbin/httpd|
60|26976 /usr/sbin/ntpd|
61|30645 cupsd|
62|30866 /usr/sbin/fcgi-|
63|30867 /usr/sbin/httpd|
64|30932 /usr/sbin/httpd|
65|30933 /usr/sbin/httpd|
66|30934 /usr/sbin/httpd|
67|30935 /usr/sbin/httpd|
68|30936 /usr/sbin/httpd|
69|30937 /usr/sbin/httpd|
70|30938 /usr/sbin/httpd|
71|18796 /usr/bin/SCREEN -d -m -S ASTVDadapt /usr/share/astguiclient/AST_VDadapt.pl --debug|
72|18798 /usr/bin/perl /usr/share/astguiclient/AST_VDadapt.pl --debug|
73|14497 /usr/sbin/ntpd|
74|28086 asterisk|
75|28096 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 fpm-world-mix.mp3 fpm-calm-river.mp3 fpm-sunshine.mp3|
76|28097 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 fpm-world-mix.mp3 fpm-calm-river.mp3 fpm-sunshine.mp3|
77|28102 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 439.mp3 200.mp3 432.mp3 509.mp3 502.mp3 438.mp3 435.mp3 202.mp3 500.mp3 504.mp3 503.mp3 507.mp3 506.mp3 434.mp3 433.mp3 505.mp3 201.mp3 431.mp3 430.mp3 437.mp3 501.mp3 508.mp3 436.mp3|
78|28103 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 207.mp3|
79|28104 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 203.mp3 205.mp3 204.mp3 206.mp3|
80|28106 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 439.mp3 200.mp3 432.mp3 509.mp3 502.mp3 438.mp3 435.mp3 202.mp3 500.mp3 504.mp3 503.mp3 507.mp3 506.mp3 434.mp3 433.mp3 505.mp3 201.mp3 431.mp3 430.mp3 437.mp3 501.mp3 508.mp3 436.mp3|
81|28108 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
82|28115 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 207.mp3|
83|28116 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 203.mp3 205.mp3 204.mp3 206.mp3|
84|28120 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
85|28149 /usr/bin/SCREEN -d -m -S ASTupdate /usr/share/astguiclient/AST_update.pl|
86|28150 /usr/bin/perl /usr/share/astguiclient/AST_update.pl|
87|28152 /usr/bin/SCREEN -d -m -S ASTsend /usr/share/astguiclient/AST_manager_send.pl|
88|28153 /usr/bin/perl /usr/share/astguiclient/AST_manager_send.pl|
89|28155 /usr/bin/SCREEN -d -m -S ASTlisten /usr/share/astguiclient/AST_manager_listen.pl|
90|28156 /usr/bin/perl /usr/share/astguiclient/AST_manager_listen.pl|
SEND RUNNING: |/usr/share/astguiclient/AST_manager_listen.pl|
91|28158 /usr/bin/SCREEN -d -m -S ASTVDauto /usr/share/astguiclient/AST_VDauto_dial.pl|
92|28159 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial.pl|
93|28161 /usr/bin/SCREEN -d -m -S ASTVDremote /usr/share/astguiclient/AST_VDremote_agents.pl|
94|28162 /usr/bin/perl /usr/share/astguiclient/AST_VDremote_agents.pl|
95|20173 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
96|20174 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 200.mp3 202.mp3 201.mp3|
97|25179 sshd: [net] |
98|25222 sshd: root@pts/461|
99|25234 -bash|
100|25417 /usr/bin/perl ./AST_manager_send.pl --debugX|
101|25431 CROND|
102|25432 /usr/bin/perl /usr/share/astguiclient/AST_manager_kill_hung_congested.pl|
103|25452 /bin/ps -o %p %a --no-headers -A|
checking to see if listener is dead ||1|
0| 1 init [3] |
1| 2 [ksoftirqd/0]|
2| 3 [events/0]|
3| 4 [kblockd/0]|
4| 6 [khelper]|
5| 5 [khubd]|
6| 7 [pdflush]|
7| 8 [pdflush]|
8| 10 [aio/0]|
9| 9 [kswapd0]|
10| 120 [kseriod]|
11| 168 [md2_raid1]|
12| 169 [md1_raid1]|
13| 170 [md0_raid1]|
14| 171 [kjournald]|
15| 1169 [kjournald]|
16| 2392 syslogd -m 0|
17| 2396 klogd -x|
18| 2424 portmap|
19| 2444 rpc.statd|
20| 2471 rpc.idmapd|
21| 2567 /usr/sbin/smartd|
22| 2577 /usr/sbin/acpid|
23| 2794 /usr/sbin/sshd|
24| 2809 xinetd -stayalive -pidfile /var/run/xinetd.pid|
25| 2826 ntpd -U ntp -p /var/run/ntpd.pid|
26| 2840 /bin/sh /usr/bin/safe_mysqld --defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid|
27| 2869 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking|
28| 2897 sendmail: accepting connections|
29| 2906 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue|
30| 2917 gpm -m /dev/input/mice -t imps2|
31| 2940 crond|
32| 2970 xfs -droppriv -daemon|
33| 2989 /usr/sbin/atd|
34| 2999 dbus-daemon-1 --system|
35| 3015 mdadm --monitor --scan|
36| 3033 /sbin/mingetty tty1|
37| 3034 /sbin/mingetty tty2|
38| 3035 /sbin/mingetty tty3|
39| 3036 /sbin/mingetty tty4|
40| 3037 /sbin/mingetty tty5|
41| 3038 /sbin/mingetty tty6|
42| 3588 SCREEN|
43| 3589 /bin/bash|
44| 3764 SCREEN -d -m /usr/java/j2re1.4.2_05/bin/java -classpath ::classes:lib/jakarta-regexp-1.2.jar:lib/xerces.jar com/woolleynet/SMPPSim/SMPPSim conf/props.unix|
45| 3765 /usr/java/j2re1.4.2_05/bin/java -classpath ::classes:lib/jakarta-regexp-1.2.jar:lib/xerces.jar com/woolleynet/SMPPSim/SMPPSim conf/props.unix|
46|20966 smbd -D|
47|20970 nmbd -D|
48|28773 /bin/bash ./run|
49|28780 ./apploader apploader.cfg.linux|
50|23370 /usr/bin/SCREEN -d -m -S ASTfastlog /usr/share/astguiclient/FastAGI_log.pl --debug|
51|23372 /usr/bin/SCREEN -d -m -S ASTVDautoFILL /usr/share/astguiclient/AST_VDauto_dial_FILL.pl|
52|23379 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
53|23380 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial_FILL.pl|
54|23390 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
55|23391 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
56|23392 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
57|23393 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
58|23394 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
59|13537 /usr/sbin/httpd|
60|26976 /usr/sbin/ntpd|
61|30645 cupsd|
62|30866 /usr/sbin/fcgi-|
63|30867 /usr/sbin/httpd|
64|30932 /usr/sbin/httpd|
65|30933 /usr/sbin/httpd|
66|30934 /usr/sbin/httpd|
67|30935 /usr/sbin/httpd|
68|30936 /usr/sbin/httpd|
69|30937 /usr/sbin/httpd|
70|30938 /usr/sbin/httpd|
71|18796 /usr/bin/SCREEN -d -m -S ASTVDadapt /usr/share/astguiclient/AST_VDadapt.pl --debug|
72|18798 /usr/bin/perl /usr/share/astguiclient/AST_VDadapt.pl --debug|
73|14497 /usr/sbin/ntpd|
74|28086 asterisk|
75|28096 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 fpm-world-mix.mp3 fpm-calm-river.mp3 fpm-sunshine.mp3|
76|28097 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 fpm-world-mix.mp3 fpm-calm-river.mp3 fpm-sunshine.mp3|
77|28102 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 439.mp3 200.mp3 432.mp3 509.mp3 502.mp3 438.mp3 435.mp3 202.mp3 500.mp3 504.mp3 503.mp3 507.mp3 506.mp3 434.mp3 433.mp3 505.mp3 201.mp3 431.mp3 430.mp3 437.mp3 501.mp3 508.mp3 436.mp3|
78|28103 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 207.mp3|
79|28104 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 203.mp3 205.mp3 204.mp3 206.mp3|
80|28106 mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 439.mp3 200.mp3 432.mp3 509.mp3 502.m
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby caspar » Thu Apr 19, 2007 4:42 am

What script uses the idcheck MySQL user account? I have changed the cron account's password, but I do not know what to do with the idcheck. Should I leave it on the default "1234"? I know that you set the db password in /etc/astguiclient.conf and in dbconnect.php, but there is no setting for idcheck.
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby caspar » Thu Apr 19, 2007 6:44 am

I noticed that no commands gets send to Asterisk. Usually when you click on the DTMF or START RECORDING buttons, additional channels gets created, but now nothing is happening. Also MANUAL DIAL pops up a window that says that the command is send, but nothing is happening.

The only info I see in the Asterisk CLI is:
Code: Select all
  == Parsing '/etc/asterisk/manager.conf': Found
  == Manager 'sendcron' logged on from 196.37.34.216
  == Manager 'sendcron' logged off from 196.37.34.216
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby caspar » Thu Apr 19, 2007 7:23 am

Is it possible that VICIDIAL is not compatible with MySQL 3.23.58?

screen ASTsend keeps on printing:
DBD::mysql::db do failed: You have an error in your SQL syntax near 'order by entry_date limit 1' at line 1 at /usr/share/astguiclient/AST_manager_send.pl line 197.
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby caspar » Fri Apr 20, 2007 3:38 am

I upgraded now to MySQL version 5.0.37. Basic functionality is now working fine. (Seems like VICIDIAL version 2.0.2 is NOT compatible with MySQL 3)

If the agent logs into SERVER1 (same server which receives inbound calls) it works, but if the agent logs into SERVER2, the call does not get transfered. So the load balancing still does not work.
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Fri Apr 20, 2007 12:23 pm

Straight from the REQUIREMENTS.txt document and web page:

"Access to MySQL server and mysqlclientlibs, must be version 4.0.X or higher"

As for your load balancing problems, did you follow the LOAD_BALANCING.txt document instructions?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Mon Apr 23, 2007 2:24 am

I think we misunderstood each other on the MySQL part, because I did publish that I was using MySQL 3 and was not sure if this was going to be an issue. I did not want to tamper with the server's configuration if it was not necessary. But it is sorted out now, so don't worry.

I did look at the SCRATCH_INSTALL.txt and the LOAD_BALANCING.txt and I am still unsure if I understand the following correctly:

... and set the AST_SERVER_conf.pl files on your VICIDIAL servers to point to that new database server

Are these the files in /usr/share/astguiclient ? Does it mean setting the /etc/astguiclient.conf file?

When exactly is the "010*010*010*016*8600XXX" suppose to be called? I assume it is to dial a session id on the other server. Is it to establish a session to an agent or to transfer a call to an agent on the other server? I also noticed that SCRACTH_INSTALL.txt uses "010*010*010*016*8600XXX", but LOAD_BALANCING.txt uses "010*010*010*016*8600XXX*." If I understand this correctly, this specifies that the session id (8600XXX*.) should be longer than 7 digits, but since all my session id's are only 7 digits it would probably not work. Can you confirm this?

Should I change the default 8600XXX extensions to use agi-VDADfixCXFER.agi instead of Meetme,${EXTEN}?

I am not sure exactly what the difference is between Load Balancing and Load Balance Overflow. If I understand this correctly:

- Load Balancing will ALWAYS divide the number of calls between the two servers, based on the number of agents logged on.
- Load Balancing Overflow will ONLY transfer calls to the other server if all agents on the current server is busy.

Reload both Asterisk servers and for outbound change the VDAD exten to 8367 or 8368

I must choose between 8364, 8365, 8366, 8367, 8368, 8369 and 8372 FOR EACH CAMPAIGN depending on how I would like to handle transfers to the agent. This goes to the "Campaign VDAD exten" field in the Campaign page in VICIDIAL ADMIN. Can you confirm this?

What is the purpose of the "VICIDIAL AD extension" field in the Server page in VICIDIAL ADMIN? Should I change it for Load Balancing?

Are the "_90009." and "_990009." extensions only used for closer transfers? In other words when an agent wants to transfer a call to another agent. Or is this also crucial for Load Balancing?
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Tue Apr 24, 2007 11:06 am

You are sure full of questions, I will try to fix or clarify all of this stuff in the LOAD_BALANCING doc for the next release as well...

caspar wrote:I did look at the SCRATCH_INSTALL.txt and the LOAD_BALANCING.txt and I am still unsure if I understand the following correctly:

... and set the AST_SERVER_conf.pl files on your VICIDIAL servers to point to that new database server

Are these the files in /usr/share/astguiclient ? Does it mean setting the /etc/astguiclient.conf file?


Yes it does, I will fix the doc.

When exactly is the "010*010*010*016*8600XXX" suppose to be called? I assume it is to dial a session id on the other server. Is it to establish a session to an agent or to transfer a call to an agent on the other server?


This is for the agi_VDAD_LB... scripts to send the call to the agent on the other server. It will figure out the dialplan number from the server_ip in the vicidial_live_agents table for that agent.

I also noticed that SCRACTH_INSTALL.txt uses "010*010*010*016*8600XXX", but LOAD_BALANCING.txt uses "010*010*010*016*8600XXX*." If I understand this correctly, this specifies that the session id (8600XXX*.) should be longer than 7 digits, but since all my session id's are only 7 digits it would probably not work. Can you confirm this?


You should have both in there, the dot-added version is for when you are doing special tasks like consultative transfers.

Should I change the default 8600XXX extensions to use agi-VDADfixCXFER.agi instead of Meetme,${EXTEN}?


Nope, no need to

I am not sure exactly what the difference is between Load Balancing and Load Balance Overflow. If I understand this correctly:
- Load Balancing will ALWAYS divide the number of calls between the two servers, based on the number of agents logged on.
- Load Balancing Overflow will ONLY transfer calls to the other server if all agents on the current server is busy.


Yes, you are correct: Load Balancing will always send to the next available agent, no matter what server they are on. Load Balance Overflow will check the server that the call originated on first for an available agent, then it will look on all other servers for an agent to send the call to.

Reload both Asterisk servers and for outbound change the VDAD exten to 8367 or 8368

I must choose between 8364, 8365, 8366, 8367, 8368, 8369 and 8372 FOR EACH CAMPAIGN depending on how I would like to handle transfers to the agent. This goes to the "Campaign VDAD exten" field in the Campaign page in VICIDIAL ADMIN. Can you confirm this?


Yes, but only the ones that have _LB_ or _LO_ in them will work with Load Balancing.

What is the purpose of the "VICIDIAL AD extension" field in the Server page in VICIDIAL ADMIN? Should I change it for Load Balancing?


It is purely a default to have a backup if somehow the campaign field is empty.

Are the "_90009." and "_990009." extensions only used for closer transfers? In other words when an agent wants to transfer a call to another agent. Or is this also crucial for Load Balancing?


Correct, It is only for fronter/closer and is not used for regular load balancing.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Wed Apr 25, 2007 7:07 am

Thank you for your response. It really cleared up a lot of uncertainty. I have fixed my dial plan and VICIDIAL configuration based on the information you have posted on the previous post. The load balancing seems to work...almost.

Agents can now login from any server without any problems. When an inbound call is on the same server as the agent it works perfectly. But as soon as the call is transfered to the other server, the agent do receive the call, but VICIDIAL immediately hang up the customer. Any ideas?
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby caspar » Wed Apr 25, 2007 10:31 am

I have tested inbound calls from SIP, IAX and a real Zaptel device. Still no joy, so obviously something is still wrong with my configuration.

I modified extensions.conf on SERVER1 (196.37.34.216) with the following:

...
[globals]
TRUNKIAX2=IAX2/Mark1Asterisk:secret@196.37.34.218:4569
...
[default]
;Load balancing
exten => _196*037*034*216*8600XXX,1,Goto(default,${EXTEN:16},1)
exten => _196*037*034*218*8600XXX,1,Dial(${TRUNKIAX2}/${EXTEN:16}@default,55,o)

exten => _196*037*034*216*8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _196*037*034*218*8600XXX*.,1,Dial(${TRUNKIAX2}/${EXTEN:16}@default,55,o)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)

; VICIDIAL_auto_dialer transfer script Load Balance Overflow:
exten => 8367,1,AGI(call_log.agi,${EXTEN})
exten => 8367,2,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,3,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,4,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,5,Hangup

; VICIDIAL_auto_dialer transfer script Load Balanced:
exten => 8368,1,AGI(call_log.agi,${EXTEN})
exten => 8368,2,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,3,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,4,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,5,Hangup

; inbound VICIDIAL call with prompt for 4-digit fronter code
exten => 1234,1,Answer ; Answer the line
exten => 1234,2,AGI(agi-VDAD_LO_closer_inbound.agi,CLOSER1-----${CALLERID(num)}-----${CALLERID(name)}-----park----------999-----00)
exten => 1234,3,Hangup
...


I modified extensions.conf on SERVER2 (196.37.34.218) with the following:

...
[globals]
TRUNKIAX1=IAX2/Mark2Asterisk:mark2123@196.37.34.216:4569
...

;Load balancing
exten => _196*037*034*216*8600XXX,1,Dial(${TRUNKIAX1}/${EXTEN:16}@default,55,o)
exten => _196*037*034*218*8600XXX,1,Goto(default,${EXTEN:16},1)

exten => _196*037*034*216*8600XXX*.,1,Dial(${TRUNKIAX1}/${EXTEN:16}@default,55,o)
exten => _196*037*034*218*8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)

; VICIDIAL_auto_dialer transfer script Load Balance Overflow:
exten => 8367,1,AGI(call_log.agi,${EXTEN})
exten => 8367,2,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,3,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,4,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,5,Hangup

; VICIDIAL_auto_dialer transfer script Load Balanced:
exten => 8368,1,AGI(call_log.agi,${EXTEN})
exten => 8368,2,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,3,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,4,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,5,Hangup

; inbound VICIDIAL call with prompt for 4-digit fronter code
exten => 1234,1,Answer ; Answer the line
exten => 1234,2,AGI(agi-VDAD_LO_closer_inbound.agi,CLOSER1-----${CALLERID(num)}-----${CALLERID(name)}-----park----------999-----00)
exten => 1234,3,Hangup
...

In-group: CLOSER1
Campaign: CLOSER1
Dial Method: RATIO
Campaign VDAD exten: 8367
Allowed Inbound Groups: CLOSER1

Inbound zaptel calls goes to 1234@default
Last edited by caspar on Thu Apr 26, 2007 4:38 am, edited 1 time in total.
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Wed Apr 25, 2007 11:52 am

Can you post some Asterisk CLI output from the server that is receiving the call when it gest hung up?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Thu Apr 26, 2007 1:43 am

This is SERVER1 - the server that received the inbound call from ZAP line:

-- Executing Goto("Zap/61-1", "default|1234|1") in new stack
-- Goto (default,1234,1)
-- Executing Answer("Zap/61-1", "") in new stack
-- Accepting call from '' to '9595' on channel 0/30, span 2
-- Executing AGI("Zap/61-1", "agi-VDAD_LO_closer_inbound.agi|CLOSER1---------------park----------999-----00") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_LO_closer_inbound.agi
-- B-channel 0/29 successfully restarted on span 2
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 196.37.34.216
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 196.37.34.216
== Manager 'sendcron' logged off from 196.37.34.216
== Manager 'sendcron' logged off from 196.37.34.216
-- AGI Script agi-VDAD_LO_closer_inbound.agi completed, returning 0
-- Executing Hangup("Zap/61-1", "") in new stack
== Spawn extension (default, 1234, 3) exited non-zero on 'Zap/61-1'
-- Executing DeadAGI("Zap/61-1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Zap/61-1", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
-- Hungup 'Zap/61-1'


No CLI output on SERVER 2 - the server on which the agent is logged in.

Both servers' verbose level = 20 and debug level = 20.
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby mflorell » Fri Apr 27, 2007 3:56 am

Can you post some agiout.2007-04-XX file output for yout closer agi script on the server the call is coming in on?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Next

Return to Support

Who is online

Users browsing this forum: No registered users and 147 guests