Page 1 of 1

New server: Agent's call is dropped

PostPosted: Tue Jan 14, 2014 5:32 pm
by saulortega
Hello.

Im to adding a new server in cluster.

Software on both servers: VERSION: 2.6-393a BUILD: 130124-1721 in admin.php; VERSION: 2.6-361c BUILD: 121222-2315 in agent GUI, Asterisk 1.4.44-vici, From Vicibox 4.0.3
Hardware on both servers: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz

When I try logginf as agent in the new server, my phone rings, I answers, and one second later the call is dropped.

In the agent GUI i get "No one is in your session: 8600550" (I created this vicidial conference).

In the new server's Asterisk CLI:

Code: Select all
vicidialsecundario*CLI>
[Jan 14 17:19:29]   == Parsing '/etc/asterisk/manager.conf': [Jan 14 17:19:29] Found
[Jan 14 17:19:29]   == Manager 'sendcron' logged on from 127.0.0.1
[Jan 14 17:19:32]        > Channel SIP/145-00000004 was answered.
[Jan 14 17:19:32]     -- Executing [8600550@default:1] AGI("SIP/145-00000004", "agi://127.0.0.1:4577/call_log") in new stack
[Jan 14 17:19:32]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jan 14 17:19:32]     -- Executing [8600550@default:2] Dial("SIP/145-00000004", "IAX2/troncal2/8600550||To") in new stack
[Jan 14 17:19:32] WARNING[3325]: chan_iax2.c:4007 create_addr: No such host: troncal2
[Jan 14 17:19:32] WARNING[3325]: app_dial.c:1310 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Unknown)
[Jan 14 17:19:32]   == Everyone is busy/congested at this time (1:0/0/1)
[Jan 14 17:19:32]     -- Executing [8600550@default:3] Hangup("SIP/145-00000004", "") in new stack
[Jan 14 17:19:32]   == Spawn extension (default, 8600550, 3) exited non-zero on 'SIP/145-00000004'
[Jan 14 17:19:32]     -- Executing [h@default:1] DeadAGI("SIP/145-00000004", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
[Jan 14 17:19:32]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------- completed, returning 0
[Jan 14 17:19:32]     -- Executing [h@default:2] Dial("SIP/145-00000004", "IAX2/troncal2/h||To") in new stack
[Jan 14 17:19:32] WARNING[3325]: chan_iax2.c:4007 create_addr: No such host: troncal2
[Jan 14 17:19:32] WARNING[3325]: app_dial.c:1310 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Unknown)
[Jan 14 17:19:32]   == Everyone is busy/congested at this time (1:0/0/1)
[Jan 14 17:19:32]     -- Executing [h@default:3] Hangup("SIP/145-00000004", "") in new stack
[Jan 14 17:19:32]   == Spawn extension (default, h, 3) exited non-zero on 'SIP/145-00000004'
[Jan 14 17:19:34]   == Manager 'sendcron' logged off from 127.0.0.1
vicidialsecundario*CLI>


:roll:

Re: New server: Agent's call is dropped

PostPosted: Wed Jan 15, 2014 1:47 am
by williamconley
williamconley wrote:adding a new server to the cluster requires a lot more than that. what method are you using to add the server? the manual written by poundteam? directions from online? or you added the server while installing via Vicibox?

if you used the Vicidial Multi-Server Manual ... there are many more steps involved. If you installed via Vicibox ... it should not require any additional steps, the installer does it all for you. If it's done properly.

also: when you add conferences for agent, they are "vicidial conferences" not just conferences (different table, different menu item in the GUI).

I just decided to quote this, since you still did not post your method of clustering. It seems as if you intend to re-create a method for clustering one battle at a time over a period of a few weeks. Probably simpler to download the manual and do it that way, but it is your server. Enjoy yourself! 8-) LOL

Oh: And you may want to try to resolve this:
No such host: troncal2