Hello all,
Could anyone tell me what are the configuations required in sip.conf to interlink two asterisk servers. I want to use SIP and not IAX.
Thank you,
Krishna.
Hello all,
Could anyone tell me what are the configuations required in sip.conf to interlink two asterisk servers. I want to use SIP and not IAX.
Thank you,
Krishna.
Hi, try this out.
;Server1
;extensions.conf
exten => _1XX,1,Dial(SIP/1-sip-trunk/${EXTEN})
exten => _1XX,2,Hangup()
;sip.conf
[1-sip-trunk] ;extesions starting with 1
type=peer
context=internal
host=192.168.6.10
disallow=all
allow=g729
canreinvite=yes
qualify=no
;Server2
;extensions.conf
exten => _2XX,1,Dial(SIP/2-sip-trunk/${EXTEN})
exten => _2XX,2,Hangup()
;sip.conf
[2-sip-trunk] ;extesions starting with 1
type=peer
context=internal
host=192.168.4.10
disallow=all
allow=g729
canreinvite=yes
qualify=no