Multi-Server Setup

All installation and configuration problems and questions

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

Postby mflorell » Fri Nov 09, 2007 3:05 am

I would need to see some Real Asterisk CLI output of a call hanging up but not really to know what was going on.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby chadahm » Fri Nov 09, 2007 9:45 am

Ok, with the AGI output to STDERR or both right? Do you need to see it with AGI DEBUG?

I did figure out the agi output setting thing that you mentioned before
chadahm
 
Posts: 49
Joined: Mon Oct 22, 2007 2:52 pm

Postby mflorell » Sat Nov 10, 2007 1:09 am

No need for Asterisk AGI Debug.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby chadahm » Mon Nov 12, 2007 11:01 am

Well, ran a test with multi-agents (couldn't get the call stacking to work with myself only testing). I'm getting a loop detected error on server2, and got one instance of "Got SIP response 481 "Call Leg/Transaction Does Not Exist"" on server1. Had 1st server set to 5 max_vicidial_channels. Posting URLs to output files as it's too large to post on the forum

Server1

http://dialadmin.ahm-inc.com/vicidial/A ... apture.txt


Server2

http://dialadmin.ahm-inc.com/vicidial/A ... apture.txt

Thanks so much for your continued help with this.
chadahm
 
Posts: 49
Joined: Mon Oct 22, 2007 2:52 pm

Postby mflorell » Tue Nov 13, 2007 1:32 am

The agioutput setting for your server needs to be on STDERR or BOTH, then repost the output.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby chadahm » Tue Nov 13, 2007 5:00 pm

Checked my Server Settings...There are/were set to BOTH, am I missing something else?
chadahm
 
Posts: 49
Joined: Mon Oct 22, 2007 2:52 pm

Postby mflorell » Thu Nov 15, 2007 12:16 am

You need to attach to the first Asterisk process, not "asterisk -r"
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby chadahm » Thu Nov 15, 2007 9:59 am

Thanks Matt. I'll do that. I just figured out you can do that with screen...Do you know how to exit screen without killing the process?
chadahm
 
Posts: 49
Joined: Mon Oct 22, 2007 2:52 pm

Postby mflorell » Thu Nov 15, 2007 3:13 pm

To detach from a screen:

"Ctrl a" let go, then press "d"
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby chadahm » Thu Nov 15, 2007 3:41 pm

awesome, thank you. I did ctrl x and it killed the process. :)
chadahm
 
Posts: 49
Joined: Mon Oct 22, 2007 2:52 pm

Postby chadahm » Thu Nov 15, 2007 4:25 pm

Ok, got new captures, same URLs (below)...Had my first server set to 5 max_vicidial_trunks. Thanks again for your help. :)

Server1

http://dialadmin.ahm-inc.com/vicidial/A ... apture.txt


Server2

http://dialadmin.ahm-inc.com/vicidial/A ... apture.txt
chadahm
 
Posts: 49
Joined: Mon Oct 22, 2007 2:52 pm

Postby mflorell » Fri Nov 16, 2007 12:49 am

After looking at the output I cannot see anything wrong. Calls seem to be overflowing to the other server just fine.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby chadahm » Fri Nov 16, 2007 9:02 am

Well, yeah they are. The issue is that a lot of calls aren't disconnecting on HANGUP from the agent and it's under a certain load or when there is more than one agent (Testing by myself doesn't ever cause the problem), and then agents will have two calls in their conference. I am going to upgrade the boxes as you've mentioned before to the latest 1.2 version....I appreciate your dedication to my issue and all your help thus far. We'll see if this helps the issue.

Thanks,
-Chad
chadahm
 
Posts: 49
Joined: Mon Oct 22, 2007 2:52 pm

Postby enjay » Mon Nov 19, 2007 1:28 pm

Caused quite often by high server load or no timing device..
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

multi-server

Postby badboy2 » Mon Nov 19, 2007 6:19 pm

i got the same problem.. call hangups are delayed and the lead infos too but only on certail time / load. It does work. calls are being transfered. Its just the hangup is delayed and sometimes it waits for the whole answering machine message to finish before it hangs up. But sometime the lead infos are on time and it hangs up on time. i got the db server and web server on server1 and i simply pointed server2 to the db on server1. Both the servers have dual core procs and 2GB memory and sata drive. the load on server1 is 11-12 agents on auto recording. Could it be the server load? server1 got te120p digium card and server2 got openvox card (te110p compatible or wcte11xp driver compatible). the agents dont have a problem when on server1. when i relocated 3 agents to server2 i still got the same problem. hangups and lead info's are delayed sometimes. Sometimes it is ok and sometimes they are not. I will try to have a separate db and web server later. I will also try it when nobody is dialing later. I will post the results afterward. Thank you guys and more power to vicidial!
badboy2
 
Posts: 35
Joined: Sat Jun 02, 2007 10:42 pm

multi-server

Postby badboy2 » Mon Nov 19, 2007 8:03 pm

even if im the only one calling still the same. hangups and lead infos are delayed on server2. But on server1 everything is normal and fast. Any ideas why the hangup and infos are delayed? im setting up a separate db right now
badboy2
 
Posts: 35
Joined: Sat Jun 02, 2007 10:42 pm

multiserver

Postby badboy2 » Tue Nov 20, 2007 2:39 pm

Apparently I created conference and vicidial conference one for each server and it worked normally. Thanks for the reply. No more delayed hangups. hehe. chadahm I solved it by creating conference rooms one for each server. ex 8600001, serverip1 up to 8600039, serverip1
8600001, serverip2 up to 8600039, serverip2
8600051, serverip1 up to 8600200, serverip1
8600051, serverip2 up to 8600200, serverip2
badboy2
 
Posts: 35
Joined: Sat Jun 02, 2007 10:42 pm

Postby chadahm » Mon Nov 26, 2007 10:16 am

That's awesome badboy2, I'm a little confused on your instruction though. You added the conferences in the admin panel?

I did notice there are no conferences added but vicidial conferences are added, all for the first server.

So quoting you, below:
8600001, serverip1 up to 8600039, serverip1
8600001, serverip2 up to 8600039, serverip2
8600051, serverip1 up to 8600200, serverip1
8600051, serverip2 up to 8600200, serverip2

It seems redundant (like you have all conferences setup for both servers). Can you please iterate if it was a vicidial conference or just a conference you added for each server?

I have vicidial conferences added but for just the one server 8600051 - 8600200 and no conferences added
chadahm
 
Posts: 49
Joined: Mon Oct 22, 2007 2:52 pm

Postby chadahm » Tue Nov 27, 2007 10:26 am

Well, I went ahead and added duplicate conferences for all servers, still is happening. Being there isn't large server loads and that it could be the timing device, is there any known issues with x86_64 platforms and digium cards/drivers? That is the only thing I can think may be the problem.
chadahm
 
Posts: 49
Joined: Mon Oct 22, 2007 2:52 pm

Postby badboy2 » Tue Nov 27, 2007 10:40 am

yes it is on the admin control panel... for example....

conferences:
8600001, 192.168.1.1 up to 8600039, 192.168.1.1
8600001, 192.168.1.2 up to 8600039, 192.168.1.2

vicidial conferences:
8600051, 192.168.1.1 up to 8600200, 192.168.1.1
8600051, 192.168.1.2 up to 8600200, 192.168.1.2

where:
192.168.1.1 is the ip of the 1st vicidial-asterisk server
192.168.1.2 is the ip of the 2nd vicidial-asterisk server
badboy2
 
Posts: 35
Joined: Sat Jun 02, 2007 10:42 pm

Postby chadahm » Tue Nov 27, 2007 10:48 am

Thanks Badboy2, I did do that except having conferences 8600001 - 8600039
I have 8600051 - 8600200 for all servers and it still was happening
chadahm
 
Posts: 49
Joined: Mon Oct 22, 2007 2:52 pm

Postby badboy2 » Tue Nov 27, 2007 1:51 pm

have you tried adding conferences 8600001 - 8600039. There are 2 conference section in the admin panel right? vicidial conferences and the other one is just plain conference.. I did both conference
badboy2
 
Posts: 35
Joined: Sat Jun 02, 2007 10:42 pm

multi server

Postby ricky2 » Wed Nov 28, 2007 2:09 am

Hi,

I got a stand alone vicidial-asterisk-mysql-apache all in one box and its working great. Im setting up a multi server load balancing. I have a few questions:

1. Does phones needs to register only to one server? Or the phones will register to the server that will use it?

ex: sip phoneA will register to serverA
sip phoneB will register to serverB
and serverA and serverB is on load balancing

thanks,

ricky
ricky2
 
Posts: 1
Joined: Wed Nov 28, 2007 1:52 am

Postby mflorell » Wed Nov 28, 2007 9:30 am

Correct, you only need to register a phone to one server and they will be able to take calls from anywhere if load balancing is set up properly.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby chadahm » Wed Nov 28, 2007 12:15 pm

Badboy2 said
have you tried adding conferences 8600001 - 8600039. There are 2 conference section in the admin panel right? vicidial conferences and the other one is just plain conference.. I did both conference


Do you mean have 86000001 - 8600039 in the "Conferences" and then have 8600051 - 8600200 in "Vicidial Conferences"? Conference and Vicidial Conference entries for each server?

If that is the case, do you have a meetme setup in your extensions.conf for 8600001 - 8600039 ?
chadahm
 
Posts: 49
Joined: Mon Oct 22, 2007 2:52 pm

Postby andoy_ » Wed Nov 28, 2007 6:13 pm

Do you mean have 86000001 - 8600039 in the "Conferences" and then have 8600051 - 8600200 in "Vicidial Conferences"? Conference and Vicidial Conference entries for each server?
--Correct

If that is the case, do you have a meetme setup in your extensions.conf for 8600001 - 8600039 ?
--yes(see scratch_install).

multiple entries for each server is for database(conferences & vicidial_conferences) entries only
andoy_
 
Posts: 16
Joined: Mon Oct 29, 2007 7:53 pm

Previous

Return to Support

Who is online

Users browsing this forum: Google [Bot] and 135 guests