Cannot register a pjsip trunk

I followed the installation guide to install the freepbx 13 on Centos 7

I cannot add one pjsip trunk on it. I can telnet the sip gateway with port 5060 on my server.

Port 5060 and 10000-20000 are enabled on firewall and router rules.
[CITIC]
type=registration
transport=0.0.0.0-udp
outbound_auth=CITIC
retry_interval=60
max_retries=10
expiration=3600
auth_rejection_permanent=no
server_uri=sip:202.0.174.19:5060
client_uri=sip:@202.0.174.19:5060

[CITIC]
type=endpoint
transport=0.0.0.0-udp
context=from-pstn
disallow=all
allow=ulaw,alaw,gsm,g726,g722
aors=CITIC
language=en
outbound_auth=CITIC
t38_udptl=no
t38_udptl_ec=none
fax_detect=no
t38_udptl_nat=no
dtmf_mode=auto

[CITIC]
type=aor
qualify_frequency=60
contact=sip:202.0.174.19:5060

[CITIC]
type=identify
endpoint=CITIC
match=202.0.174.19

[0.0.0.0-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
allow_reload=yes

[0.0.0.0-ws]
type=transport
protocol=ws
bind=0.0.0.0
allow_reload=yes

Shouldn’t your client_uri (and contact fields) should contain the username - username@ ? or have you just removed the userid due to privacy reasons here?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.