Page 1 of 1

how to configure dual asterisk server?

PostPosted: Thu Mar 22, 2007 1:32 am
by gersonsia
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?

PostPosted: Thu Mar 22, 2007 11:46 am
by mflorell
Have you read the LOAD_BALANCING.txt document in the docs folder of the release?

PostPosted: Thu Mar 22, 2007 10:32 pm
by gersonsia
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....

PostPosted: Thu Mar 22, 2007 10:38 pm
by enjay
the conf examples should be in the conf_examples directory. The actual LOAD_BALANCING.txt should be in /doc

-Art