Good afternoon, I’m just learning asterisk.
I am using FreePBX Distro 14.0.5.25. All extention work on pjsip.
I was able to configure everything so that my 200 phones (snom D715) would work fine.
I also have 2 phones nortel 1200 with which there are problems.
These phones are registered on asterisk and work normally for some time.
after about an hour, asterisk stops seeing them.
It looks like this:
Phones and FeePbx are on the same network but on different subnets. NAT is not used.
In the subnet where the problem device is located (nortel) there are also devices (snom) which do not have such problems.
Here is how it looks in the logs:
Why the device(nortel) does not want to re-register.
[2019-02-06 13:18:59] VERBOSE[7706] res_pjsip/pjsip_configuration.c: Endpoint 9999 is now Reachable
[2019-02-06 13:18:59] VERBOSE[7706] res_pjsip/pjsip_options.c: Contact 9999/sip:[email protected]:5060 is now Reachable. RTT: 92.178 msec
[2019-02-06 15:18:59] VERBOSE[22498] res_pjsip/pjsip_options.c: Contact 9999/sip:[email protected]:5060 has been deleted
[2019-02-06 15:18:59] VERBOSE[22498] res_pjsip/pjsip_configuration.c: Endpoint 9999 is now Unreachable
Just to be on the safe side, have you tried connecting the nortel on the same subnet as the freepbx server to check if it behaves the same or differently?
MAX_LOGINS 1
USB_HEADSET LOCK
EXP_MODULE_ENABLE NO
ENABLE_SERVICE_PACKAGE NO
IM_MODE DISABLED
AVAYA_AUTOMATIC_QoS NO
VQMON_PUBLISH NO
SIP_TLS_PORT 0
ENABLE_BT NO
Enable SSH
SSH YES
SSHID admin
SSHPWD password
#SERVER_RETRIES1 30 #DEF_USER1 user1
BANNER COMPANY NAME
AUTOLOGIN_ENABLE USE_AUTOLOGIN_ID
#DEF_AUDIO_QUALITY Low Medium High
DEF_LANG Russian
DST_ENABLED NO
TIMEZONE_OFFSET 10800
SNTP_ENABLE YES
SNTP_SERVER 192.168.z.w
SIP LOGGING
LOGSIP_ENABLE NO
with this config in the logs wrote:
[2019-02-05 11:59:39] VERBOSE[22498] res_pjsip_registrar.c: Added contact ‘sip:[email protected]:5060’ to AOR ‘9999’ with expiration of 7200 seconds
[2019-02-05 11:59:39] VERBOSE[4983] res_pjsip/pjsip_configuration.c: Endpoint 9999 is now Reachable
[2019-02-05 11:59:39] VERBOSE[4983] res_pjsip/pjsip_options.c: Contact 9999/sip:[email protected]:5060 is now Reachable. RTT: 110.658 msec
[2019-02-05 13:59:50] VERBOSE[7706] res_pjsip/pjsip_options.c: Contact 9999/sip:[email protected]:5060 has been deleted
[2019-02-05 13:59:50] VERBOSE[7706] res_pjsip/pjsip_configuration.c: Endpoint 9999 is now Unreachable
I tried to play with the parameter REG_REFRESH_INTERVAL set it to 1500.
with this parameter, the logs look like this:
[2019-02-07 11:24:18] VERBOSE[31690] res_pjsip_registrar.c: Added contact ‘sip:[email protected]:5060’ to AOR ‘9999’ with expiration of 1500 seconds
[2019-02-07 11:24:18] VERBOSE[31690] res_pjsip/pjsip_configuration.c: Endpoint 9999 is now Reachable
[2019-02-07 11:24:18] VERBOSE[31690] res_pjsip/pjsip_options.c: Contact 9999/sip:[email protected]:5060 is now Reachable. RTT: 145.096 msec
[2019-02-07 11:49:26] VERBOSE[12571] res_pjsip/pjsip_options.c: Contact 9999/sip:[email protected]:5060 has been deleted
[2019-02-07 11:49:26] VERBOSE[12571] res_pjsip/pjsip_configuration.c: Endpoint 9999 is now Unreachable