Register impossible after 1 day

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) 

How check for registre parameter

after 1 day, did you catch the sip packet?
if there’s no sip packet. check the network first!

I reload my configuration in CLI and I have any error?

Asterisk*CLI> reload
    -- Reloading module 'extconfig' (Configuration)
    -- Reloading module 'logger' (Logger)
 Asterisk Queue Logger restarted
    -- Reloading module 'res_odbc.so' (ODBC resource)
    -- Reloading module 'res_config_pgsql.so' (PostgreSQL RealTime Configuration Driver)
[Nov 20 12:32:56] WARNING[798]: res_config_pgsql.c:1445 parse_config: PostgreSQL RealTime: Not connected
    -- Reloading module 'res_config_ldap.so' (LDAP realtime interface)
[Nov 20 12:32:56] NOTICE[798]: res_config_ldap.c:1830 parse_config: No directory user found, anonymous binding as default.
[Nov 20 12:32:56] ERROR[798]: res_config_ldap.c:1856 parse_config: No directory URL or host found.
[Nov 20 12:32:56] NOTICE[798]: res_config_ldap.c:1774 reload: Cannot reload LDAP RealTime driver.
    -- Reloading module 'res_config_sqlite3.so' (SQLite 3 realtime config engine)
    -- Reloading module 'res_config_curl.so' (Realtime Curl configuration)
    -- Reloading module 'res_config_odbc.so' (Realtime ODBC configuration)
    -- Reloading module 'res_statsd.so' (Statsd client support)
    -- Reloading module 'cdr' (CDR Engine)
[Nov 20 12:32:56] NOTICE[798]: cdr.c:4485 cdr_toggle_runtime_options: CDR simple logging enabled.
    -- Reloading module 'cel' (CEL Engine)
    -- CEL logging disabled.
    -- Reloading module 'dnsmgr' (DNS Manager)
    -- Reloading module 'dsp' (DSP)
    -- Reloading module 'enum' (ENUM Support)
    -- Reloading module 'features' (Call Features)
    -- Reloading module 'http' (Built-in HTTP Server)
    -- Reloading module 'indications' (Indication Tone Handling)
    -- Reloading module 'acl' (Named ACL system)
    -- Reloading module 'manager' (Asterisk Manager Interface)
    -- Reloading module 'plc' (PLC)
    -- Reloading module 'udptl' (UDPTL)
    -- Reloading module 'res_pjproject.so' (PJPROJECT Log and Utility Support)
    -- Reloading module 'res_pjsip.so' (Basic SIP resource)
[Nov 20 12:32:56] NOTICE[828]: sorcery.c:1266 sorcery_object_load: Type 'system' is not reloadable, maintaining previous values
    -- Reloading module 'res_pjsip_authenticator_digest.so' (PJSIP authentication resource)
    -- Reloading module 'res_resolver_unbound.so' (Unbound DNS Resolver Support)
    -- Reloading module 'res_pjsip_endpoint_identifier_ip.so' (PJSIP IP endpoint identifier)
    -- Reloading module 'res_phoneprov.so' (HTTP Phone Provisioning)
[Nov 20 12:32:56] WARNING[798]: res_phoneprov.c:1230 get_defaults: Unable to find a valid server address or name.
    -- Reloading module 'res_crypto.so' (Cryptographic Digital Signatures)
    -- Reloading module 'res_xmpp.so' (Asterisk XMPP Interface)
    -- Reloading module 'res_stun_monitor.so' (STUN Network Monitor)
    -- Reloading module 'res_smdi.so' (Simplified Message Desk Interface (SMDI) Resource)
    -- Reloading module 'res_rtp_asterisk.so' (Asterisk RTP Stack)
    -- Reloading module 'res_pjsip_outbound_publish.so' (PJSIP Outbound Publish Support)
    -- Reloading module 'res_musiconhold.so' (Music On Hold Resource)
    -- Reloading module 'res_pjsip_publish_asterisk.so' (PJSIP Asterisk Event PUBLISH Support)
    -- Reloading module 'res_pjsip_mwi.so' (PJSIP MWI resource)
    -- Reloading module 'chan_mgcp.so' (Media Gateway Control Protocol (MGCP))
    -- Reloading module 'chan_iax2.so' (Inter Asterisk eXchange (Ver 2))
    -- Reloading module 'chan_sip.so' (Session Initiation Protocol (SIP))
    -- Reloading module 'chan_motif.so' (Motif Jingle Channel Driver)
    -- Reloading module 'res_adsi.so' (ADSI Resource)
    -- Reloading module 'res_fax.so' (Generic FAX Applications)
    -- Reloading module 'res_ari.so' (Asterisk RESTful Interface)
[Nov 20 12:32:56] ERROR[798]: ari/config.c:312 process_config: No configured users for ARI
    -- Reloading module 'res_pjsip_phoneprov_provider.so' (PJSIP Phoneprov Provider)
    -- Reloading module 'res_pjsip_outbound_registration.so' (PJSIP Outbound Registration Support)
    -- Reloading module 'res_pjsip_notify.so' (CLI/AMI PJSIP NOTIFY Support)
    -- Reloading module 'res_parking.so' (Call Parking Resource)
    -- Reloading module 'res_calendar.so' (Asterisk Calendar integration)
    -- Reloading module 'app_agent_pool.so' (Call center agent pool applications)
 Reloading MGCP
    -- Reloading module 'codec_speex.so' (Speex Coder/Decoder)
[Nov 20 12:32:56] NOTICE[397]: chan_mgcp.c:4707 reload_config: Unable to load config mgcp.conf, MGCP disabled
    -- Reloading module 'app_confbridge.so' (Conference Bridge Application)
 Reloading SIP
    -- Reloading module 'cdr_adaptive_odbc.so' (Adaptive ODBC CDR backend)
    -- Reloading module 'cel_pgsql.so' (PostgreSQL CEL Backend)
    -- Reloading module 'cdr_odbc.so' (ODBC CDR Backend)
    -- Reloading module 'cel_manager.so' (Asterisk Manager Interface CEL Backend)
    -- Reloading module 'cdr_custom.so' (Customizable Comma Separated Values CDR Backend)
    -- Reloading module 'cel_odbc.so' (ODBC CEL backend)
    -- Reloading module 'cdr_manager.so' (Asterisk Manager Interface CDR Backend)
    -- Reloading module 'cel_custom.so' (Customizable Comma Separated Values CEL Backend)
[Nov 20 12:32:56] NOTICE[798]: cel_custom.c:95 load_config: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
 Added CEL CSV mapping for 0 files.
    -- Reloading module 'cdr_csv.so' (Comma Separated Values CDR Backend)
    -- Reloading module 'app_voicemail.so' (Comedian Mail (Voicemail System))
    -- Reloading module 'app_minivm.so' (Mini VoiceMail (A minimal Voicemail e-mail System))
    -- Reloading module 'app_followme.so' (Find-Me/Follow-Me Application)
    -- Reloading module 'pbx_lua.so' (Lua PBX Switch)
    -- Including switch 'Lua/' in context 'default'
    -- Including switch 'Lua/' in context 'public'
    -- Including switch 'Lua/' in context 'demo'
    -- Including switch 'Lua/' in context 'local'
    -- Including switch 'DUNDi/e164' in context 'ael-dundi-e164-switch'
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000197 sec
    -- Time to restore hints and swap in new dialplan: 0.000007 sec
    -- Time to delete the old dialplan: 0.000064 sec
    -- Total time merge_contexts_delete: 0.000268 sec
    -- pbx_lua successfully loaded 28 contexts (enable debug for details).
    -- Reloading module 'res_clialiases.so' (CLI Aliases)
    -- Reloading module 'res_http_post.so' (HTTP POST support)
    -- Reloading module 'app_amd.so' (Answering Machine Detection Application)
    -- Reloading module 'pbx_config.so' (Text Extension Configuration)
[Nov 20 12:32:56] WARNING[798]: pbx_config.c:1806 pbx_load_config: Can't use 'next' priority on the first entry at line 22 of extensions.conf!
[Nov 20 12:32:56] WARNING[798]: pbx_config.c:1806 pbx_load_config: Can't use 'next' priority on the first entry at line 23 of extensions.conf!
    -- Including switch 'DUNDi/e164' in context 'ael-dundi-e164-switch'
    -- Including switch 'Lua/' in context 'local'
    -- Including switch 'Lua/' in context 'demo'
    -- Including switch 'Lua/' in context 'public'
    -- Including switch 'Lua/' in context 'default'
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000215 sec
    -- Time to restore hints and swap in new dialplan: 0.000004 sec
    -- Time to delete the old dialplan: 0.000055 sec
    -- Total time merge_contexts_delete: 0.000274 sec
    -- pbx_config successfully loaded 28 contexts (enable debug for details).
    -- Reloading module 'app_alarmreceiver.so' (Alarm Receiver for Asterisk)
    -- Reloading module 'app_playback.so' (Sound File Playback Application)
    -- Reloading module 'func_odbc.so' (ODBC lookups)
    -- Reloading module 'pbx_ael.so' (Asterisk Extension Language Compiler)
  == Setting global variable 'CONSOLE-AEL' to '"Console/dsp"'
  == Setting global variable 'IAXINFO-AEL' to 'guest'
  == Setting global variable 'OUTBOUND-TRUNK' to '"Zap/g2"'
  == Setting global variable 'OUTBOUND-TRUNKMSD' to '1'
    -- Including switch 'DUNDi/e164' in context 'ael-dundi-e164-switch'
    -- Including switch 'Lua/' in context 'default'
    -- Including switch 'Lua/' in context 'public'
    -- Including switch 'Lua/' in context 'demo'
    -- Including switch 'Lua/' in context 'local'
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000176 sec
    -- Time to restore hints and swap in new dialplan: 0.000004 sec
    -- Time to delete the old dialplan: 0.000063 sec
    -- Total time merge_contexts_delete: 0.000243 sec
    -- pbx_ael successfully loaded 28 contexts (enable debug for details).
    -- Reloading module 'app_queue.so' (True Call Queueing)
[Nov 20 12:32:56] NOTICE[798]: app_queue.c:9096 reload_queue_rules: queuerules.conf has not changed since it was last loaded. Not taking any action.

How view register requested in CLI

https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information#CollectingDebugInformation-Enablechanneltechorfeaturespecificdebug

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