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?