Hi there,
I have create basic asterisk setup on my server there is in US. I cannot able to connect PJSIP on public ip somebody please help how do i connect public IP. I am using to connect SIP server Mizroid Softphone.
See below pjsip.conf
================================ TRANSPORTS ==
; Our primary transport definition for UDP communication behind NAT.
[transport-udp-nat]
type = transport
protocol = udp
bind = 0.0.0.0
local_net = 172.xx.xx.0/24
external_media_address = 64.xx.xxx.xx
external_signaling_address = 64.xx.xxx.xx
[calling](!)
type=endpoint
context=Main-IVR
allow = !all, ulaw, alaw
direct_media=no
trust_id_outbound=yes
rtp_symmetric=yes
force_rport=yes
rewrite_contact=yes
device_state_busy_at=1
dtmf_mode=rfc4733
[auth-userpass](!)
type = auth
auth_type = userpass
[aor-single-reg](!)
type = aor
max_contacts = 1
[7000](calling)
auth=7000
aors=7000
callerid = 7000 <7000>
[7000](auth-userpass)
password = 7000
username = 7000
[7000](aor-single-reg)
mailboxes = 7000@main
[7100](calling)
auth=7100
aors=7100
callerid = 7100 <7100>
[7100](auth-userpass)
password = 7100
username = 7100
I am trying to connect multiple times its showing registering only.
ivr*CLI> pjsip show transports
Transport: <TransportId…> <BindAddress…>
Transport: transport-udp-nat udp 0 0 0.0.0.0:5060
Objects found: 1
ivr*CLI> pjsip show endpoints
Endpoint: <Endpoint/CID…> <State…> <Channels.>
I/OAuth: <AuthId/UserName…>
Aor: <Aor…>
Contact: <Aor/ContactUri…> <Hash…> <RTT(ms)…>
Transport: <TransportId…> <BindAddress…>
Identify: <Identify/Endpoint…>
Match: <criteria…>
Channel: <ChannelId…> <State…> <Time…>
Exten: <DialedExten…> CLCID: <ConnectedLineCID…>
Endpoint: 7000/7000 Unavailable 0 of 1
InAuth: 7000/7000
Aor: 7000 1
Endpoint: 7100/7100 Unavailable 0 of 1
InAuth: 7100/7100
Aor: 7100 1
Objects found: 2