Hello,
I requier your help because I don’t find solution with my problem
I have install asterisk with the debian 10 package on a porxmox container
I configure pjsip.conf file with my phones and softphones but a moment regiser impossible
I reboot my container for a good fonctionaly
my pjsip.conf
[global]
hasvoicemail = yes
;max_forwards=70
user_agent=Asterisk PBX
debug=yes
contact_expiration_check_interval=1800
[transport-udp]
type = transport
protocol = udp
bind = 0.0.0.0
[transport-udp-nat]
type=transport
protocol=udp
bind=0.0.0.0
localnet=192.0.0.105/24
external_media_address=xxx
external_signaling_address=xxx
;[transport-udp-ipv6]
;type=transport
;protocol=udp
;bind=::
;[transport-tls]
;type=transport
;protocol=tls
;bind=0.0.0.0
;cert_file=/path/mycert.crt
;privkey_file=/path/mykey.key
;cipher=ALL
;method=tlsv1
;[freephonie.net-reg]
;type = registration
;retry_interval = 20
;max_retries = 10
;expiration = 120
;transport = transport-udp-nat
;outbound_auth = freephonie.net-auth
;client_uri = sip:xxx@freephonie.net
;server_uri = sip:freephonie.net
;[freephonie.net-auth]
;type = auth
;auth_type = md5
;md5_cred = fca38294azeru4dfb067c765efb0fd9
;password = xxx
;username = xxx
;realm = freephonie.net
;[freephonie.net]
;type = endpoint
;context = from-ext
;disallow = all
;allow = alaw
;transport = transport-udp-nat
;outbound_auth = freephonie.net-auth
;aors = freephonie.net
;direct_media = no
;dtmf_mode = rfc4733
;trust_id_outbound = yes
;[freephonie.net]
;type = aor
;contact=sip:freephonie.net:5060
;[identify_freephonie.net]
;type = identify
;endpoint = freephonie.net
;match = freephonie.net
[linphone.org-reg]
type = registration
retry_interval = 20
max_retries = 10
expiration = 120
transport = transport-udp-nat
outbound_auth = linphone.org-auth
client_uri = sip:xxx@sip.linphone.org
server_uri = sip:sip.linphone.org
[linphone.org-auth]
type = auth
password = xxx
username = xxx
[linphone.org]
type = endpoint
context = from-ext
disallow = all
allow = ulaw,alaw
transport = transport-udp-nat
outbound_auth = linphone.org-auth
aors = linphone.org
direct_media = no
dtmf_mode = rfc4733
;trust_id_outbound = yes
[linphone.org]
type = aor
contact=sip:sip.linphone.org:5060
[identify_linphone.org]
type = identify
endpoint = linphone.org
match = sip.linphone.org
[endpoint-basic](!)
type=endpoint
context=from-internal
disallow=all
allow=alaw
allow=ulaw
allow=g722
allow=g729
allow=gsm
allow=h264
allow=h263p
direct_media=no
mailboxes = 8888
[auth-userpass](!)
type=auth
auth_type=userpass
[aor-single-reg](!)
type=aor
max_contacts=1
[6000](endpoint-basic)
auth=6000
aors=6000
outbound_auth=6000
[6000](auth-userpass)
password=xxx
username=6000
[6000](aor-single-reg)
[6001](endpoint-basic)
auth=6001
aors=6001
outbound_auth=6001
[6001](auth-userpass)
password=xxx
username=6001
[6001](aor-single-reg)
[6002](endpoint-basic)
auth=6002
aors=6002
outbound_auth=6002
[6002](auth-userpass)
password=xxx
username=6002
[6002](aor-single-reg)
[6003](endpoint-basic)
auth=6003
aors=6003
outbound_auth=6003
[6003](auth-userpass)
password=xxx
username=6003
[6003](aor-single-reg)
[6004](endpoint-basic)
auth=6004
aors=6004
outbound_auth=6004
[6004](auth-userpass)
password=xxx
username=6004
[6004](aor-single-reg)
[6005](endpoint-basic)
auth=6005
aors=6005
outbound_auth=6005
[6005](auth-userpass)
password=xxx
username=6005
[6005](aor-single-reg)