I installed and configured asterisk. Outbound and internal calls work without problems. However inbound calls do not get routed to any of the clients. When doing “asterisk -vvvvvr” it just shows “== Using SIP RTP CoS mark 5” when trying to call in.
sip.conf
[general]
bindport=5060
bindaddr = 0.0.0.0
context=internal
register=2110001:aaa@terrasip.net/1234
register=2110002:bbb@terrasip.net/4321
[test1]
type=friend
defaultuser=test1
secret=test
host=dynamic
context=test1e
nat=yes
[test2]
type=friend
defaultuser=test2
secret=test
host=dynamic
context=test2e
nat=yes
[terrasip1]
defaultuser=2110001
fromuser=2110001
type=peer
secret=aaa
host=terrasip.net
context=terrasip1e
[terrasip2]
defaultuser=2110002
fromuser=2110002
type=peer
secret=bbb
host=terrasip.net
context=terrasip2e
extensions.conf
[general]
autofallthrough=yes
[internal]
exten => 1234,1,Dial(SIP/test1)
exten => 4321,1,Dial(SIP/test2)
[test1e]
include => internal
exten => _XXXX.,1,Dial(SIP/${EXTEN}@terrasip1)
[test2e]
include => internal
exten => _XXXX.,1,Dial(SIP/${EXTEN}@terrasip2)
[terrasip1e]
include => internal
[terrasip2e]
include => internal
Any ideas what I am missing? Thank you very much for your support!