Hi,
I have a problem with contacts, from my pjsip accounts. When you register an endpoint, the contact is created and then deleted.
-- Added contact 'sip:1000@192.168.72.229:51020;user=phone;transport=tcp' to AOR '1000' with expiration of 3600 seconds
-- Contact 1000/sip:1000@192.168.72.229:51020;user=phone;transport=tcp is now Unknown.
== Endpoint 1000 is now Reachable
== Contact 1000/sip:1000@192.168.72.229:51020;user=phone;transport=tcp has been deleted
== Endpoint 1000 is now Unreachable
my configuration of sorcery and extconfig is as follows
[res_pjsip]
endpoint=realtime,ps_endpoints
auth=realtime,ps_auths
aor=realtime,ps_aors
domain_alias=realtime,ps_domain_aliases
contact=realtime,ps_contacts
[res_pjsip_endpoint_identifier_ip]
identify=realtime,ps_endpoint_id_ips
[res_pjsip_outbound_registration]
registration=realtime,ps_registration
[settings]
ps_endpoints => odbc,asterisk
ps_aors => odbc,asterisk
ps_auths => odbc,asterisk
ps_domain_aliases => odbc,asterisk
ps_endpoint_id_ips => odbc,asterisk
ps_contacts => odbc,asterisk
ps_globals => odbc,asterisk
ps_registrations => odbc,asterisk
ps_subscription_persistence => odbc,asterisk
ps_systems => odbc,asterisk,ps_systems
ps_transports => odbc,asterisk,ps_transports
extensions => odbc,asterisk,extensions
voicemail => odbc,asterisk,voicemails
realtime_extensions => odbc,asterisk,extensions
realtime_ivr => odbc,asterisk,numivr
meetme => mysql,general
queues => odbc,asterisk
queue_members => odbc,asterisk
queue_rules => odbc,asterisk
musiconhold => odbc,asterisk,musiconholds
queue_log => odbc,asterisk
;http => odbc,asterisk
;manager.conf => odbc,asterisk,managers
ari.conf => odbc,asterisk,aris
acls => odbc,asterisk,acl_pbx
agent => odbc,asterisk
extensions_ivr_ara.conf => odbc,asterisk,contexto_ivr
extensions_did_ara.conf => odbc,asterisk,contexto_did
extensions_companys_ara.conf => odbc,asterisk,contexto_company
extensions_queues_ara.conf => odbc,asterisk,contexto_queue
extensions_ext_ara.conf => odbc,asterisk,contexto_ext
extensions_action_ara.conf => odbc,asterisk,contexto_acc
If I comment in sorcery.conf the line of contact
;contact=realtime,ps_contacts
so the contacts work but I can’t have them in the mysql table
pbx*CLI> pjsip show endpoints
Endpoint: <Endpoint/CID.....................................> <State.....> <Channels.>
I/OAuth: <AuthId/UserName...........................................................>
Aor: <Aor............................................> <MaxContact>
Contact: <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..>
Transport: <TransportId........> <Type> <cos> <tos> <BindAddress..................>
Identify: <Identify/Endpoint.........................................................>
Match: <criteria.........................>
Channel: <ChannelId......................................> <State.....> <Time.....>
Exten: <DialedExten...........> CLCID: <ConnectedLineCID.......>
==========================================================================================
Endpoint: 1000 Not in use 0 of inf
InAuth: 1000/1000
Aor: 1000 1
Contact: 1000/sip:1000@192.168.72.229:50451;user=ph 0f089162e1 Unknown nan
Transport: transport-tcp tcp 0 0 0.0.0.0:5060