HI everyone, I am trying to make a call from 7007 to 4008. first i get a 401 unauthorized, then a 404 not found. The topology is an asterisk server on a lan, with both endpoints connected to asterisk via ethernet. It’s a very simple set up. Here are my config files… Am I missing anything or did I do anything wrong?
pjsip.conf:
[7007]
type = endpoint
context = internal
allow = all
aors = 7007
auth = auth7007
;dtmf_mode = rfc2833
[7007]
type = aor
max_contacts = 1
[7007]
type = identify
match = 192.168.200.111
[auth7007]
type=auth
auth_type=userpass
password=7007
username=7007
[4008]
type = endpoint
context = internal
allow = all
aors = 4008
;dtmf_mode = rfc2833
[4008]
type = aor
contact = sip:4008@192.168.200.1:5060
[4008]
type = identify
match = 192.168.200.1
[1]
type = endpoint
context = from-external
allow = all
aors = 1
;dtmf_mode = rfc2833
[1]
type = aor
contact = sip:1@192.168.200.1:5060
[1]
type = identify
match = 192.168.200.1
[4010]
type = endpoint
context = internal
allow = all
aors = 4010
;dtmf_mode = rfc2833
[4010]
type = aor
contact = sip:4010@192.168.200.1:5060
[4010]
type = identify
match = 192.168.200.1
extensions.conf:
exten=>_4008,1,Dial(PJSIP/${EXTEN})
exten=>_1,1,Dial(PJSIP/${EXTEN})
exten=>_4010,1,Dial(PJSIP/${EXTEN})
exten=>_7007,1,Dial(PJSIP/${EXTEN})
Does anyone know whats wrong here? or is it something outside of the config?