how to configure dual asterisk server?

All installation and configuration problems and questions

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

how to configure dual asterisk server?

Postby gersonsia » Thu Mar 22, 2007 1:32 am

i had read through some examples from Internet but i still unable to make the two servers can be 'communicate'.

first i want solve the sip first.
i add these into sip.conf in SERVER_A:
[alenn]
type=friend
username=alenn
secret=alenn
host=192.168.58.199 ;SERVER_B ip
qualify=1000
context=default
nat=no
dtmmode=inband
mailbox=2001
disallow=all
allow=ulaw
allow=alaw
insecure=very
autocreatepeer=yes

i add these into sip.conf in SERVER_B:
[alenn]
type=friend
username=alenn
secret=alenn
host=192.168.58.199 ;SERVER_B ip
qualify=1000
context=default
nat=no
dtmmode=inband
mailbox=2001
disallow=all
allow=ulaw
allow=alaw
insecure=very
autocreatepeer=yes

then add these into extensions.conf in SERVER_A:
[default]
exten => 9001,1,Dial(SIP/alenn,30)
exten => 9001,2,Hangup

is there any problem?wat code i need to add in?
gersonsia
 
Posts: 25
Joined: Mon Feb 05, 2007 2:44 am
Location: Kuala Lumpur, Malaysia

Postby mflorell » Thu Mar 22, 2007 11:46 am

Have you read the LOAD_BALANCING.txt document in the docs folder of the release?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gersonsia » Thu Mar 22, 2007 10:32 pm

mflorell wrote:Have you read the LOAD_BALANCING.txt document in the docs folder of the release?


No,i din read it because i don't know about it...

it is in doc folder? i cant find it from the doc foldder...
the extensions.txt, iax.txt and etc are there but not the LOAD_BALANCING.txt....
gersonsia
 
Posts: 25
Joined: Mon Feb 05, 2007 2:44 am
Location: Kuala Lumpur, Malaysia

Postby enjay » Thu Mar 22, 2007 10:38 pm

the conf examples should be in the conf_examples directory. The actual LOAD_BALANCING.txt should be in /doc

-Art
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah


Return to Support

Who is online

Users browsing this forum: No registered users and 109 guests