System configuration problems

We have Asterisk 13.6.0 built and running on a CentOS VM. Network Adapter 1 is NAT. Network Adapter 2 is a Bridge. The machine is on an isolated network with two laptops using a small generic switch. They are on the same subnet and there is no connectivity to the internet.
We can ping the laptops from the server and vice versa.

Users bob and alice are setup in sip.conf, pjsip.conf and extensions.conf are setup as they are in the Creating SIP accounts wiki page. We are using Zoiper phones on the two laptops. When we try to create the users - using bob/alice, their password and the ip address the server we are not able to register the users.

There are no messages in the CLI window, just generic can not create the user error in the Zoiper application. The “dialplan show from-internal” command show bob and alice at 6001 & 6002.

We have tried using a similar VM with openSIPS and have been successful in making calls with the Zoiper phones - through the server.

What are we missing?

Sip.conf

[code][general]
transport=udp

friends_internal
type=friend
host=dynamic
context=from-internal
disallow=all
allow=ulaw

alice
secret=password

bob
secret=password
[/code]

pjsip.conf

[code][transport-udp]
type=transport
protocol=udp
bind=0.0.0.0

;Templates for the necessary config sections

endpoint_internal
type=endpoint
context=from-internal
disallow=all
allow=ulaw

auth_userpass
type=auth
auth_type=userpass

aor_dynamic
type=aor
max_contacts=1

;Definitions for our phones, using the templates above

alice
auth=alice
aors=alice
alice
password=password
username=alice
alice

bob
auth=bob
aors=bob
bob
password=password
username=bob
bob [/code]

extensions.conf

[code]
[from-internal]

exten=>6001,1,Dial(SIP/alice,20) ; or PJSIP vs SIP
exten=>6002,1,Dial(SIP/bob,20)[/code]

You need to pick a SIP channel driver and stick to it, as it is the configuration has both chan_sip and chan_pjsip conflicting - so the one that loads first will win. It’s PROBABLY chan_pjsip.

You should also ensure that traffic is reaching your system by using “pjsip set logger on” to look at incoming traffic, or in the case of chan_sip “sip set debug on”. If traffic shows as arriving then I’d suggest posting with the output so we can see what’s going on. If it doesn’t show as arriving then you need to look outside of Asterisk.

Thanks Joshua,
I tried just using sip.conf. I can register a user via Zoiper when I run Zoiper inside the VM that contains Asterisk. From the laptops connected to the same network, I can ping and ssh the IP on the VM but attempts to register a user fail - with no debug printed from Asterisk. So it’s like although ping and ssh can see the VM, Zoiper can’t.