new INstall 2.2 SVN

Any and all non-support discussions

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

new INstall 2.2 SVN

Postby ruben23 » Fri Feb 05, 2010 2:47 am

Hi, matt

for load balance with 2.2svn

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
AS OF RELEASE 2.2.0 YOU SHOULD NOT HAVE TO TAKE ANY STEPS BEYOND STEP 2 IN THIS DOCUMENT TO GET MULTI-SERVER VICIDIAL TO WORK IF YOU ARE USING THE DEFAULT VICIDIAL CONF FILES.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

This mean ill be not adding the iax.conf register for both load balance server right, if default, and im installing on fresh without modification so im using default vicidial conf.

im just touching the astguiclient configuration.
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby mflorell » Fri Feb 05, 2010 12:19 pm

That is correct, the conf file auto-generation takes care of all of that.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ruben23 » Fri Feb 05, 2010 1:16 pm

where do i check this auto-generation conf for load balancing, coz i have already setup now 2 /vici/Asterisk/ server using SVN VERSION: 2.2.0-234
BUILD: 100116-0718

and i didn't touch anything regarding load balance config and now its being used for production and im not getting any load balance call between 2 servers only on the 1st server are processing calls where i setup all the SIP registration.

On the previous lower version 2.2 where i setup the iax.conf registration im gettng load balance result on server Call Server IP being balance by the servers.
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby ruben23 » Fri Feb 05, 2010 2:26 pm

hi matt, yeah im getting load balance now its just so slow compare to the previous setup i had on earlier version of 2.2 SVN now
im getting 12 calls for server1 and only 3 calls are pass on to the second server.
I have 20 agents calling for out bound.

BUt its working already

other thing matt, on the auto calls table i see leads being Balance and Outbalance what this means..?
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby mflorell » Fri Feb 05, 2010 8:50 pm

Please show actual examples
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

thanks

Postby brett05 » Sat Feb 06, 2010 4:22 am

why i have never see this ptobleme in my server here ,i have try all svn version all them.
and i have not see same thing as this .
Jasperreports & Queuemetrics & SugarCRM integration - Customization and Add-ons
Freepbx||Billing||Centos||Opensuse||Debian||Centos||Fedora||Sangoma||Diguim
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Postby ruben23 » Sat Feb 06, 2010 12:15 pm

@brett05

- Are your servers on production..? mine is with the new install ill be testing it with on a production environment, which you can see if some configuration are not right coz youll probably see the errors for sure.. :oops:
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby ruben23 » Sat Feb 06, 2010 4:14 pm

Server 2

Code: Select all
-23-----0") in new stack
[Feb  7 05:02:47]   == Manager 'sendcron' logged off from 127.0.0.1
[Feb  7 05:02:47]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Feb  7 05:02:47]     -- Executing [8368@default:3] AGI("SIP/delridgeis-00942c70", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
[Feb  7 05:02:47]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----23-----0 completed, returning 0
[Feb  7 05:02:48]     -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Feb  7 05:02:48]     -- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Feb  7 05:02:48]     -- Executing [192*168*002*003*8600069@default:1] Dial("SIP/delridgeis-00942c70", "IAX2/Asteri2:test@192.168.2.3:4569/8600069|55|oT") in new stack
[Feb  7 05:02:48]     -- Called Asteri2:test@192.168.2.3:4569/8600069
[Feb  7 05:02:48]     -- Call accepted by 192.168.2.3 (format ulaw)
[Feb  7 05:02:48]     -- Format for call is ulaw
[Feb  7 05:02:48]     -- IAX2/TESTast-15009 answered SIP/delridgeis-00942c70
[Feb  7 05:02:52]   == Parsing '/etc/asterisk/manager.conf': [Feb  7 05:02:52] Found
[Feb  7 05:02:52]   == Manager 'sendcron' logged on from 127.0.0.1
[Feb  7 05:02:52]     -- Hungup 'IAX2/TESTast-15009'
[Feb  7 05:02:52]   == Spawn extension (default, 192*168*002*003*8600069, 1) exited non-zero on 'SIP/delridgeis-00942c70'
[Feb  7 05:02:52]     -- Executing [h@default:1] DeadAGI("SIP/delridgeis-00942c70", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----4-----4")      in new stack
[Feb  7 05:02:52]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----4-----4 completed, returning 0
[Feb  7 05:02:54]     -- SIP/delridgeis-008a5690 answered Local/915165361324@default-ee41,2
[Feb  7 05:02:54]        > Channel Local/915165361324@default-ee41,1 was answered.
[Feb  7 05:02:54]     -- Executing [8368@default:1] Playback("Local/915165361324@default-ee41,1", "sip-silence") in new stack
[Feb  7 05:02:54]     -- <Local/915165361324@default-ee41,1> Playing 'sip-silence' (language 'en')
[Feb  7 05:02:54]   == Manager 'sendcron' logged off from 127.0.0.1
[Feb  7 05:02:54]   == Spawn extension (default, 915165361324, 2) exited non-zero on 'Local/915165361324@default-ee41,2'
[Feb  7 05:02:54]     -- Executing [h@default:1] DeadAGI("Local/915165361324@default-ee41,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER----     -30-----0") in new stack
[Feb  7 05:02:54]     -- Executing [8368@default:2] AGI("SIP/delridgeis-008a5690", "agi://127.0.0.1:4577/call_log") in new stack
[Feb  7 05:02:54]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Feb  7 05:02:54]     -- Executing [8368@default:3] AGI("SIP/delridgeis-008a5690", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
[Feb  7 05:02:54]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----30-----0 completed, returning 0
[Feb  7 05:02:54]     -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Feb  7 05:02:54]     -- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Feb  7 05:02:54]     -- Executing [192*168*002*003*8600063@default:1] Dial("SIP/delridgeis-008a5690", "IAX2/Asteri2:test@192.168.2.3:4569/8600063|55|oT") in new stack
[Feb  7 05:02:54]     -- Called Asteri2:test@192.168.2.3:4569/8600063
[Feb  7 05:02:54]     -- Call accepted by 192.168.2.3 (format ulaw)
[Feb  7 05:02:54]     -- Format for call is ulaw
[Feb  7 05:02:54]     -- IAX2/TESTast-4210 answered SIP/delridgeis-008a5690
[Feb  7 05:02:56]   == Manager 'sendcron' logged off from 127.0.0.1
[Feb  7 05:03:01]   == Parsing '/etc/asterisk/manager.conf': [Feb  7 05:03:01] Found
[Feb  7 05:03:01]   == Manager 'sendcron' logged on from 127.0.0.1
[Feb  7 05:03:01]   == Parsing '/etc/asterisk/manager.conf': [Feb  7 05:03:01] Found
[Feb  7 05:03:01]   == Manager 'sendcron' logged on from 127.0.0.1
[Feb  7 05:03:01]   == Manager 'sendcron' logged off from 127.0.0.1
[Feb  7 05:03:06]   == Parsing '/etc/asterisk/manager.conf': [Feb  7 05:03:06] Found
[Feb  7 05:03:06]   == Manager 'sendcron' logged on from 127.0.0.1
[Feb  7 05:03:06]   == Manager 'sendcron' logged off from 127.0.0.1
[Feb  7 05:03:07]   == Manager 'sendcron' logged off from 127.0.0.1


SERVER 2

Code: Select all
[Feb  7 05:14:30]     -- Executing [58600057@default:1] MeetMe("Local/58600057@default-1228,2", "8600057|Fmq") in new stack
[Feb  7 05:14:30] DEBUG[31378]: app_meetme.c:1687 conf_run: Placed channel Local/58600057@default-1228,2 in ZAP conf 1023
[Feb  7 05:14:30]        > Channel Local/58600057@default-1228,1 was answered.
[Feb  7 05:14:30]     -- Executing [8309@default:1] Answer("Local/58600057@default-1228,1", "") in new stack
[Feb  7 05:14:30]     -- Executing [8309@default:2] Monitor("Local/58600057@default-1228,1", "wav|TITAN_CRES_20100206-161428_5166781653") in new stack
[Feb  7 05:14:30]     -- Executing [8309@default:3] Wait("Local/58600057@default-1228,1", "3600") in new stack
[Feb  7 05:14:30]   == Parsing '/etc/asterisk/manager.conf': [Feb  7 05:14:30] Found
[Feb  7 05:14:30]   == Manager 'sendcron' logged on from 127.0.0.1
[Feb  7 05:14:30]     -- Executing [915167660627@default:1] AGI("Local/915167660627@default-6500,2", "agi://127.0.0.1:4577/call_log") in new stack
[Feb  7 05:14:30]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Feb  7 05:14:30]     -- Executing [915167660627@default:2] Dial("Local/915167660627@default-6500,2", "SIP/delridgeis/15167660627||To") in new stack
[Feb  7 05:14:30]     -- Called delridgeis/15167660627
[Feb  7 05:14:30]     -- Executing [917189835570@default:1] AGI("SIP/cc111-e402a340", "agi://127.0.0.1:4577/call_log") in new stack
[Feb  7 05:14:30]   == Parsing '/etc/asterisk/manager.conf': [Feb  7 05:14:30] Found
[Feb  7 05:14:30]   == Manager 'sendcron' logged on from 127.0.0.1
[Feb  7 05:14:30]     -- Executing [58600053@default:1] MeetMe("Local/58600053@default-a4d7,2", "8600053|Fmq") in new stack
[Feb  7 05:14:30]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Feb  7 05:14:30]     -- Executing [917189835570@default:2] Dial("SIP/cc111-e402a340", "SIP/delridgeis/17189835570||To") in new stack
[Feb  7 05:14:30]     -- Called delridgeis/17189835570
[Feb  7 05:14:30] DEBUG[31390]: app_meetme.c:1687 conf_run: Placed channel Local/58600053@default-a4d7,2 in ZAP conf 1021
[Feb  7 05:14:30]        > Channel Local/58600053@default-a4d7,1 was answered.
[Feb  7 05:14:30]     -- Executing [8309@default:1] Answer("Local/58600053@default-a4d7,1", "") in new stack
[Feb  7 05:14:30]     -- Executing [8309@default:2] Monitor("Local/58600053@default-a4d7,1", "wav|TITAN_KAREN_20100206-161429_5166780937") in new stack
[Feb  7 05:14:30]     -- Executing [8309@default:3] Wait("Local/58600053@default-a4d7,1", "3600") in new stack
[Feb  7 05:14:31]     -- SIP/delridgeis-00c24580 is making progress passing it to Local/915167660627@default-6500,2
[Feb  7 05:14:32]   == Manager 'sendcron' logged off from 127.0.0.1
[Feb  7 05:14:32]   == Manager 'sendcron' logged off from 127.0.0.1
[Feb  7 05:14:32]   == Manager 'sendcron' logged off from 127.0.0.1
[Feb  7 05:14:32] NOTICE[20498]: rtp.c:1286 ast_rtp_read: Unknown RTP codec 126 received from '192.168.2.12'
[Feb  7 05:14:32]   == Spawn extension (default, 917188361029, 2) exited non-zero on 'SIP/cc100-e40329a0'
[Feb  7 05:14:32]     -- Executing [h@default:1] DeadAGI("SIP/cc100-e40329a0", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----63-----3") in new stack
[Feb  7 05:14:32]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----63-----3 completed, returning 0
[Feb  7 05:14:32]     -- SIP/delridgeis-009813a0 answered Local/915165362343@default-07e2,2
[Feb  7 05:14:32]        > Channel Local/915165362343@default-07e2,1 was answered.
[Feb  7 05:14:32]     -- Executing [8368@default:1] Playback("Local/915165362343@default-07e2,1", "sip-silence") in new stack
[Feb  7 05:14:32]     -- <Local/915165362343@default-07e2,1> Playing 'sip-silence' (language 'en')
[Feb  7 05:14:32]   == Manager 'sendcron' logged off from 127.0.0.1
[Feb  7 05:14:32]   == Spawn extension (default, 915165362343, 2) exited non-zero on 'Local/915165362343@default-07e2,2'
[Feb  7 05:14:32]     -- Executing [h@default:1] DeadAGI("Local/915165362343@default-07e2,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----11-----0") in new stack
[Feb  7 05:14:32]     -- Executing [8368@default:2] AGI("SIP/delridgeis-009813a0", "agi://127.0.0.1:4577/call_log") in new stack
[Feb  7 05:14:32]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Feb  7 05:14:32]     -- Executing [8368@default:3] AGI("SIP/delridgeis-009813a0", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
[Feb  7 05:14:32]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----11-----0 completed, returning 0
[Feb  7 05:14:32]     -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 109 guests