rendered paste body; This is the sip for asterisk 2
[general]
canreinvite=no
dissallow=all
allow=ulaw
allow=alaw
allow=gsm
register => asterisk2:welcome@192.168.43.157
; First phone for this asterisk server 2
[1]
type=friend
callerid=Ast2Ext1
username=1
secret=welcome
nat=no
host=dynamic
deny=0.0.0.0/0.0.0.0
permit=192.168.43.0/255.255.255.0
canreinvite=yes
qualify=no
mailbox=1
context=internal
; Second phone for the asterisk server 2
[2]
type=friend
callerid=Ast2Ext2
username=2
secret=welcome
type=friend
nat=no
host=dynamic
deny=0.0.0.0/0.0.0.0
permit=192.168.43.0/255.255.255.0
canreinvite=yes
qualify=no
mailbox=2
context=internal
[asterisk1]
type=friend
username=asterisk1
secret=welcome
nat=no
host=dynamic
context=internal