Hi all, I have a problem receiving calls on asterisk. I have an ip phone (7007) and several (OUTx) ip phones that need to communicate. 7007 uses standard user pass authentication and the OUTx’s don’t use authentication at all. regardless of whom i try to call from any of the endpoints, im getting auth errors from asterisk. How can I fix these configurations to allow this system to operate?
pjsip.conf:
[7007]
type = endpoint
context = internal
allow = all
aors = 7007
auth = auth7007
;dtmf_mode = rfc2833
[7007]
type = aor
max_contacts = 1
[auth7007]
type=auth
auth_type=userpass
password=7007
username=7007
[OUT1]
type = endpoint
context = internal
allow = all
aors = OUT1
;dtmf_mode = rfc2833
[OUT1]
type = aor
contact = sip:4008@192.168.200.2:5060
[OUT2]
type = endpoint
context = from-external
allow = all
aors = OUT2
;dtmf_mode = rfc2833
[OUT2]
type = aor
contact = sip:1@192.168.200.1:5060
[OUT3]
type = endpoint
context = internal
allow = all
aors = OUT3
;dtmf_mode = rfc2833
[OUT3]
type = aor
contact = sip:4010@192.168.200.2:5060
extensions.conf:
exten=>4008,1,Dial(SIP/OUT1/$(EXTEN),20,r)
exten=>1,1,Dial(SIP/OUT2/$(EXTEN),20,r)
exten=>4010,1,Dial(SIP/OUT3/$(EXTEN),20,r)
exten=>7007,1,Dial(SIP/7007,20,r)