Cannot Register on Asterisk-16.12.0

Greetings All,

I have Asterisk-16.12.0 running on VMWare. I copied PJSIP config line for line and my Bria softphone will not register. After it times out, the error message says " no route to host ".

Is there an ACL needed for PJSIP? I am new to asterisk/linux. Do i need to open something up in Centos 8,2?

I can ping the Asterisk machine from any other machine and my smart phone. What happened to sip set debug command in 16.12.0? Is it pjsip set logger?

Thank you,
Dave

Yes.

Also, 'tcpdump' will show incoming packets before 'iptables' so it may yield another clue.

It died with chan_sip.

My fingers have a long memory, so I added these aliases:

	pjsip set debug off		= pjsip set logger off
	pjsip set debug on		= pjsip set logger on
	sip set debug off		= pjsip set logger off
	sip set debug on		= pjsip set logger on

sedwards,

If I have both sip.conf and pjsip.conf on my machine, do I need to change anything or get rid of sip.conf?

Dave

chan_sip is deprecated and should not be used unless you really, really need it – but even then, you should ask for help. Maybe someone knows how to do it with PJSIP.

Guys,

I still cannot get my Bria Softphone to connect to PJSIP. In WireShark I can see the the phone make a
696 Request Options sip: 192.168.1.226:5060; then a 736 Request REGISTER sip:192.168.1.226:5060
(1 binding ).

There is no response from Asterisk. I am posting my PJSIP.conf file in short. Please have a look and tell me what I need to change. When I turn debug on nothing happens when I try to register.

Here’s the file:

[simpletrans_1]
type = transport
protocol = udp
bind = 0.0.0.0
bind = ::
port = 5060
context = internal
allowoverlap = no
local_net = 192.168.1.0/24
external_media_address = 50.248.177.161:5060
external_signaling_address = 50.248.177.161:5060
callcounter = yes
allowguests = no

;===============ENDPOINT TEMPLATES

endpoint-basic
type = endpoint
context = internal
disallow = all
allow = ulaw
host = dynamic
direct_media = no
trust_id_outbound = yes
device_state_busy_at = 3
dtmf_mode = rfc4733

auth-userpass
type = auth
auth_type = userpass

aor-single-reg
type = aor
max_contacts = 1

;===============EXTENSION 2801

2801
auth = 2801
aors = 2801
callerid = Byrd Nahill

auth2801
password = 2801
username = 2801

2801
mailboxes = 2801@demo-test

Thank you,
Dave

Update:

I see the Asterisk Server sending ICMP packet at the Bria softphone and Wirehark saying in the info field " Destination unreachable( Communications administratively filtered ). IS there a command in Centos I need to issue?
Thanks,
Dave