load balancing

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

load balancing

Postby issam123 » Tue Apr 20, 2010 3:20 am

hello
I install vicibox on two server like detailled in load_balancing.txt but I always have this error on server 2
Apr 20 10:19:31 NOTICE[7199]: channel.c:2514 __ast_request_and_dial: Unable to r equest channel SIP/cc120
How can I resolve this.
THANKS
issam123
 
Posts: 50
Joined: Thu Feb 19, 2009 3:27 am

Postby mflorell » Tue Apr 20, 2010 8:07 am

is that sip phone registered?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby issam123 » Tue Apr 20, 2010 1:38 pm

yes, it's registred
issam123
 
Posts: 50
Joined: Thu Feb 19, 2009 3:27 am

Postby mflorell » Tue Apr 20, 2010 1:39 pm

it's registered to the server that is showing that warning?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby issam123 » Tue Apr 20, 2010 2:52 pm

No in the other server
issam123
 
Posts: 50
Joined: Thu Feb 19, 2009 3:27 am

Postby mflorell » Tue Apr 20, 2010 5:06 pm

Then you need to deactivate it on that server. You should make sure that you do not have duplicate phone_login in the phones table.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby issam123 » Wed Apr 21, 2010 11:31 am

Thanks for your response this correct the problem but I have this new error

Apr 21 18:30:13 NOTICE[6246]: chan_iax2.c:7242 socket_read: Rejected connect attempt from 192.168.49.246, who was trying to reach '8600063@'
please help.
issam123
 
Posts: 50
Joined: Thu Feb 19, 2009 3:27 am

Postby mflorell » Wed Apr 21, 2010 12:04 pm

Looks like there is no context there.

Can you post more of the Asterisk CLI output surrounding it?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby issam123 » Wed Apr 21, 2010 2:26 pm

server 1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMeAdmin("Local/55558600051@default-4d4c,2", "8600051|K") in new stack
-- Hungup 'Zap/pseudo-1667974114'
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/cc100-081bbf38'
== Parsing '/etc/asterisk/meetme.conf': -- Executing DeadAGI("SIP/cc100-081bbf38", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
FoundIP-COMCAST*CLI>
Apr 21 21:24:15 NOTICE[9585]: app_meetme.c:2210 admin_exec: Conference Number not found
-- Executing Hangup("Local/55558600051@default-4d4c,2", "") in new stack
== Spawn extension (default, 55558600051, 2) exited non-zero on 'Local/55558600051@default-4d4c,2'
-- Executing DeadAGI("Local/55558600051@default-4d4c,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
> Channel SIP/cc100-081abde0 was answered.
-- Executing MeetMe("SIP/cc100-081abde0", "8600051|F") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Manager 'sendcron' logged off from 127.0.0.1
Apr 21 21:24:41 NOTICE[5277]: chan_iax2.c:7242 socket_read: Rejected connect attempt from 192.168.49.246, who was trying to reach '8600051@'
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/58600051@default-f7e1,2", "8600051|Fmq") in new stack
> Channel Local/58600051@default-f7e1,1 was answered.
-- Executing Answer("Local/58600051@default-f7e1,1", "") in new stack
-- Executing Monitor("Local/58600051@default-f7e1,1", "wav|20100421-212442_238070319_1000") in new stack
-- Executing Wait("Local/58600051@default-f7e1,1", "3600") in new stack
== Manager 'sendcron' logged off from 127.0.0.1




server2
Executing Playback("Local/0238070319@default-7cda,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
== Spawn extension (default, 0238070319, 1) exited non-zero on 'Local/0238070319@default-7cda,2'
-- Executing DeadAGI("Local/0238070319@default-7cda,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----12-----0") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... --12-----0 completed, returning 0
-- Executing AGI("SIP/TRUNK-DE-0874e0f0", "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 AMD("SIP/TRUNK-DE-0874e0f0", "2000|2000|1000|5000|120|50|4|256") in new stack
-- AMD: SIP/TRUNK-DE-0874e0f0 UNKNOWN (null) (Fmt: 64)
-- AMD: initialSilence [2000] greeting [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256]
-- AMD: Word detected. iWordsCount:1
-- AMD: Changed state to STATE_IN_SILENCE
-- AMD: HUMAN: silenceDuration:1000 afterGreetingSilence:1000
-- Executing AGI("SIP/TRUNK-DE-0874e0f0", "VD_amd.agi|8369") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_amd.agi
-- AGI Script VD_amd.agi completed, returning 0
-- Executing AGI("SIP/TRUNK-DE-0874e0f0", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
-- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
-- Executing Dial("SIP/TRUNK-DE-0874e0f0", "IAX2/TESTast2:test@192.168.49.253:4569/8600051|55|o") in new stack
-- Called TESTast2:test@192.168.49.253:4569/8600051
Apr 21 21:24:41 WARNING[2449]: chan_iax2.c:7435 socket_read: Call rejected by 192.168.49.253: No authority found
-- Hungup 'IAX2/ASTtest1-13236'
== Everyone is busy/congested at this time (1:0/0/1)
-- SIP/TRUNK-DE-08712f48 answered Local/0238890354@default-f620,2
> Channel Local/0238890354@default-f620,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/0238890354@default-f620,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
== Spawn extension (default, 0238890354, 1) exited non-zero on 'Local/0238890354@default-f620,2'
-- Executing DeadAGI("Local/0238890354@default-f620,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----17-----0") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... --17-----0 completed, returning 0
-- Executing AGI("SIP/TRUNK-DE-08712f48", "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 AMD("SIP/TRUNK-DE-08712f48", "2000|2000|1000|5000|120|50|4|256") in new stack
-- AMD: SIP/TRUNK-DE-08712f48 UNKNOWN (null) (Fmt: 64)
-- AMD: initialSilence [2000] greeting [2000] afterGreeti
issam123
 
Posts: 50
Joined: Thu Feb 19, 2009 3:27 am

Postby mflorell » Wed Apr 21, 2010 3:01 pm

Looks like a misconfiguration somewhere, make sure your server_ips match up everywhere in the database, and make sure you have the context set in the servers and phones tables
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 93 guests