Trunk Registration timed out

Hello, community!
I am looking for your help:
We are using FreePBX 14.0.3.19 with Asterisk 15.5.0 (we’ve tried 13 and 14 also) after 8 concurrent incoming calls placed in a queue the trunk looses the registration and (obviously drops all the calls). It takes about 20 to 50 retries to re-register. Please find below the Peer details, Register string.
Thanks in advance.

PEER Details:
canreinvite=nonat
nat=yes
context=from-trunk
host=158.85.70.151
username=YYYYYYYYY
fromuser=YYYYYYYYY
secret=XXXXXXXX
type=peer
disallow=all
allow=ulaw
trustrpid=yes
sendrpid=yes
insecure=invite
qualify=yes

Register String:
YYYYYYYYY:[email protected]:5060

Log:

       > 0x7f632804da30 -- Strict RTP switching to RTP target address 158.85.70.151:17730 as source
       > 0x7f632804da30 -- Strict RTP learning complete - Locking on source address 158.85.70.151:17730
freepbx*CLI>
freepbx*CLI>
freepbx*CLI>
freepbx*CLI>
[2018-10-05 19:06:15] NOTICE[2506]: chan_sip.c:29611 check_rtp_timeout: Disconnecting call 'SIP/YYYYYYYYY-00000001' for lack of RTP act          ivity in 31 seconds
[2018-10-05 19:06:15] NOTICE[2506]: chan_sip.c:29611 check_rtp_timeout: Disconnecting call 'SIP/YYYYYYYYY-00000003' for lack of RTP act          ivity in 31 seconds
    -- Stopped music on hold on SIP/YYYYYYYYY-00000001
[2018-10-05 19:06:15] NOTICE[2506]: chan_sip.c:29611 check_rtp_timeout: Disconnecting call 'SIP/YYYYYYYYY-00000006' for lack of RTP act          ivity in 31 seconds
[2018-10-05 19:06:15] NOTICE[2506]: chan_sip.c:29611 check_rtp_timeout: Disconnecting call 'SIP/YYYYYYYYY-00000005' for lack of RTP act          ivity in 31 seconds
    -- Stopped music on hold on SIP/YYYYYYYYY-00000003
[2018-10-05 19:06:15] NOTICE[2506]: chan_sip.c:29611 check_rtp_timeout: Disconnecting call 'SIP/YYYYYYYYY-00000004' for lack of RTP act          ivity in 31 seconds
[2018-10-05 19:06:15] NOTICE[2506]: chan_sip.c:29611 check_rtp_timeout: Disconnecting call 'SIP/YYYYYYYYY-00000007' for lack of RTP act          ivity in 31 seconds
[2018-10-05 19:06:15] NOTICE[2506]: chan_sip.c:29611 check_rtp_timeout: Disconnecting call 'SIP/YYYYYYYYY-00000002' for lack of RTP act          ivity in 31 seconds
[2018-10-05 19:06:15] NOTICE[2506]: chan_sip.c:29611 check_rtp_timeout: Disconnecting call 'SIP/YYYYYYYYY-00000000' for lack of RTP act          ivity in 31 seconds
    -- Stopped music on hold on SIP/YYYYYYYYY-00000006
  == Spawn extension (ext-queues, 1011, 50) exited non-zero on 'SIP/YYYYYYYYY-00000001'
    -- Stopped music on hold on SIP/YYYYYYYYY-00000002
    -- Executing [[email protected]:1] Macro("SIP/YYYYYYYYY-00000001", "hangupcall,") in new stack
    -- Stopped music on hold on SIP/YYYYYYYYY-00000004
    -- Stopped music on hold on SIP/YYYYYYYYY-00000000
  == Spawn extension (ext-queues, 1011, 50) exited non-zero on 'SIP/YYYYYYYYY-00000002'
    -- Executing [[email protected]:1] Macro("SIP/YYYYYYYYY-00000002", "hangupcall,") in new stack
  == Spawn extension (ext-queues, 1011, 50) exited non-zero on 'SIP/YYYYYYYYY-00000004'
    -- Executing [[email protected]:1] Macro("SIP/YYYYYYYYY-00000004", "hangupcall,") in new stack
  == Spawn extension (ext-queues, 1011, 50) exited non-zero on 'SIP/YYYYYYYYY-00000000'
    -- Executing [[email protected]:1] Macro("SIP/YYYYYYYYY-00000000", "hangupcall,") in new stack
    -- Executing [[email protected]:1] GotoIf("SIP/YYYYYYYYY-00000002", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [[email protected]:1] GotoIf("SIP/YYYYYYYYY-00000004", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Stopped music on hold on SIP/YYYYYYYYY-00000005
    -- Executing [[email protected]:1] GotoIf("SIP/YYYYYYYYY-00000000", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
  == Spawn extension (ext-queues, 1011, 50) exited non-zero on 'SIP/YYYYYYYYY-00000005'
    -- Executing [[email protected]:1] Macro("SIP/YYYYYYYYY-00000005", "hangupcall,") in new stack
    -- Stopped music on hold on SIP/YYYYYYYYY-00000007
    -- Executing [[email protected]:1] GotoIf("SIP/YYYYYYYYY-00000001", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
  == Spawn extension (ext-queues, 1011, 50) exited non-zero on 'SIP/YYYYYYYYY-00000006'
    -- Executing [[email protected]:1] Macro("SIP/YYYYYYYYY-00000006", "hangupcall,") in new stack
    -- Executing [[email protected]:1] GotoIf("SIP/YYYYYYYYY-00000005", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [[email protected]:1] GotoIf("SIP/YYYYYYYYY-00000006", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
  == Spawn extension (ext-queues, 1011, 50) exited non-zero on 'SIP/YYYYYYYYY-00000003'
    -- Executing [[email protected]:1] Macro("SIP/YYYYYYYYY-00000003", "hangupcall,") in new stack
  == Spawn extension (ext-queues, 1011, 50) exited non-zero on 'SIP/YYYYYYYYY-00000007'
    -- Executing [[email protected]:1] Macro("SIP/YYYYYYYYY-00000007", "hangupcall,") in new stack
    -- Executing [[email protected]:1] GotoIf("SIP/YYYYYYYYY-00000003", "1?theend") in new stack
    -- Executing [[email protected]:1] GotoIf("SIP/YYYYYYYYY-00000007", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Goto (macro-hangupcall,s,3)
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000002", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000004", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000001", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000002", " monior file= ") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000005", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [[email protected]:5] AGI("SIP/YYYYYYYYY-00000002", "attendedtransfer-rec-restart.php,,") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000007", "0?Set(CDR(recordingfile)=)") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000000", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000004", " monior file= ") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000003", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000000", " monior file= ") in new stack
    -- Executing [[email protected]hangupcall:3] ExecIf("SIP/YYYYYYYYY-00000006", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000001", " monior file= ") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000005", " monior file= ") in new stack
    -- Executing [[email protected]:5] AGI("SIP/YYYYYYYYY-00000005", "attendedtransfer-rec-restart.php,,") in new stack
    -- Executing [[email protected]:5] AGI("SIP/YYYYYYYYY-00000000", "attendedtransfer-rec-restart.php,,") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000003", " monior file= ") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
    -- Executing [[email protected]:5] AGI("SIP/YYYYYYYYY-00000004", "attendedtransfer-rec-restart.php,,") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000006", " monior file= ") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000007", " monior file= ") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
    -- Executing [[email protected]:5] AGI("SIP/YYYYYYYYY-00000003", "attendedtransfer-rec-restart.php,,") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
    -- Executing [[email protected]:5] AGI("SIP/YYYYYYYYY-00000001", "attendedtransfer-rec-restart.php,,") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
    -- Executing [[email protected]:5] AGI("SIP/YYYYYYYYY-00000006", "attendedtransfer-rec-restart.php,,") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
    -- Executing [[email protected]:5] AGI("SIP/YYYYYYYYY-00000007", "attendedtransfer-rec-restart.php,,") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
    -- <SIP/YYYYYYYYY-00000002>AGI Script attendedtransfer-rec-restart.php completed, returning 0
    -- Executing [[email protected]:6] Hangup("SIP/YYYYYYYYY-00000002", "") in new stack
  == Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/YYYYYYYYY-00000002' in macro 'hangupcall'
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000002'
    -- SIP/YYYYYYYYY-00000002 Internal Gosub(crm-hangup,s,1) start
    -- Executing [[email protected]:1] NoOp("SIP/YYYYYYYYY-00000002", "Sending Hangup to CRM") in new stack
    -- Executing [[email protected]:2] NoOp("SIP/YYYYYYYYY-00000002", "HANGUP CAUSE: 44") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000002", "0?Set(__CRM_VOICEMAIL=)") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000002", "MASTER CHANNEL: 1538766295.2 = 1538766295.2") in new stack
    -- Executing [[email protected]:5] GotoIf("SIP/YYYYYYYYY-00000002", "0?return") in new stack
    -- Executing [[email protected]:6] Set("SIP/YYYYYYYYY-00000002", "__CRM_HANGUP=1") in new stack
    -- Executing [[email protected]:7] AGI("SIP/YYYYYYYYY-00000002", "sangomacrm.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
    -- <SIP/YYYYYYYYY-00000005>AGI Script attendedtransfer-rec-restart.php completed, returning 0
    -- <SIP/YYYYYYYYY-00000000>AGI Script attendedtransfer-rec-restart.php completed, returning 0
    -- Executing [[email protected]:6] Hangup("SIP/YYYYYYYYY-00000005", "") in new stack
  == Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/YYYYYYYYY-00000005' in macro 'hangupcall'
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000005'
    -- SIP/YYYYYYYYY-00000005 Internal Gosub(crm-hangup,s,1) start
    -- Executing [[email protected]:1] NoOp("SIP/YYYYYYYYY-00000005", "Sending Hangup to CRM") in new stack
    -- Executing [[email protected]:2] NoOp("SIP/YYYYYYYYY-00000005", "HANGUP CAUSE: 44") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000005", "0?Set(__CRM_VOICEMAIL=)") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000005", "MASTER CHANNEL: 1538766327.5 = 1538766327.5") in new stack
    -- Executing [[email protected]:5] GotoIf("SIP/YYYYYYYYY-00000005", "0?return") in new stack
    -- Executing [[email protected]:6] Set("SIP/YYYYYYYYY-00000005", "__CRM_HANGUP=1") in new stack
    -- Executing [[email protected]:7] AGI("SIP/YYYYYYYYY-00000005", "sangomacrm.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
    -- Executing [[email protected]:6] Hangup("SIP/YYYYYYYYY-00000000", "") in new stack
  == Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/YYYYYYYYY-00000000' in macro 'hangupcall'
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000000'
    -- SIP/YYYYYYYYY-00000000 Internal Gosub(crm-hangup,s,1) start
    -- Executing [[email protected]:1] NoOp("SIP/YYYYYYYYY-00000000", "Sending Hangup to CRM") in new stack
    -- Executing [[email protected]:2] NoOp("SIP/YYYYYYYYY-00000000", "HANGUP CAUSE: 44") in new stack
    -- <SIP/YYYYYYYYY-00000004>AGI Script attendedtransfer-rec-restart.php completed, returning 0
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000000", "0?Set(__CRM_VOICEMAIL=)") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000000", "MASTER CHANNEL: 1538766233.0 = 1538766233.0") in new stack
    -- Executing [[email protected]:6] Hangup("SIP/YYYYYYYYY-00000004", "") in new stack
  == Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/YYYYYYYYY-00000004' in macro 'hangupcall'
    -- Executing [[email protected]:5] GotoIf("SIP/YYYYYYYYY-00000000", "0?return") in new stack
    -- Executing [[email protected]:6] Set("SIP/YYYYYYYYY-00000000", "__CRM_HANGUP=1") in new stack
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000004'
    -- SIP/YYYYYYYYY-00000004 Internal Gosub(crm-hangup,s,1) start
    -- Executing [[email protected]:7] AGI("SIP/YYYYYYYYY-00000000", "sangomacrm.agi") in new stack
    -- Executing [[email protected]:1] NoOp("SIP/YYYYYYYYY-00000004", "Sending Hangup to CRM") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
    -- <SIP/YYYYYYYYY-00000003>AGI Script attendedtransfer-rec-restart.php completed, returning 0
    -- Executing [[email protected]:2] NoOp("SIP/YYYYYYYYY-00000004", "HANGUP CAUSE: 44") in new stack
    -- Executing [[email protected]:6] Hangup("SIP/YYYYYYYYY-00000003", "") in new stack
  == Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/YYYYYYYYY-00000003' in macro 'hangupcall'
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000003'
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000004", "0?Set(__CRM_VOICEMAIL=)") in new stack
    -- SIP/YYYYYYYYY-00000003 Internal Gosub(crm-hangup,s,1) start
    -- Executing [[email protected]:1] NoOp("SIP/YYYYYYYYY-00000003", "Sending Hangup to CRM") in new stack
    -- Executing [[email protected]:2] NoOp("SIP/YYYYYYYYY-00000003", "HANGUP CAUSE: 44") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000004", "MASTER CHANNEL: 1538766326.4 = 1538766326.4") in new stack
    -- Executing [[email protected]:5] GotoIf("SIP/YYYYYYYYY-00000004", "0?return") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000003", "0?Set(__CRM_VOICEMAIL=)") in new stack
    -- Executing [[email protected]:6] Set("SIP/YYYYYYYYY-00000004", "__CRM_HANGUP=1") in new stack
    -- Executing [[email protected]:7] AGI("SIP/YYYYYYYYY-00000004", "sangomacrm.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
    -- <SIP/YYYYYYYYY-00000001>AGI Script attendedtransfer-rec-restart.php completed, returning 0
    -- Executing [[email protected]:6] Hangup("SIP/YYYYYYYYY-00000001", "") in new stack
  == Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/YYYYYYYYY-00000001' in macro 'hangupcall'
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000001'
    -- SIP/YYYYYYYYY-00000001 Internal Gosub(crm-hangup,s,1) start
    -- Executing [[email protected]:1] NoOp("SIP/YYYYYYYYY-00000001", "Sending Hangup to CRM") in new stack
    -- Executing [[email protected]:2] NoOp("SIP/YYYYYYYYY-00000001", "HANGUP CAUSE: 44") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000001", "0?Set(__CRM_VOICEMAIL=)") in new stack
    -- <SIP/YYYYYYYYY-00000007>AGI Script attendedtransfer-rec-restart.php completed, returning 0
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000003", "MASTER CHANNEL: 1538766314.3 = 1538766314.3") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000001", "MASTER CHANNEL: 1538766293.1 = 1538766293.1") in new stack
    -- <SIP/YYYYYYYYY-00000006>AGI Script attendedtransfer-rec-restart.php completed, returning 0
    -- Executing [[email protected]:5] GotoIf("SIP/YYYYYYYYY-00000003", "0?return") in new stack
    -- Executing [[email protected]:6] Set("SIP/YYYYYYYYY-00000003", "__CRM_HANGUP=1") in new stack
    -- Executing [[email protected]:7] AGI("SIP/YYYYYYYYY-00000003", "sangomacrm.agi") in new stack
    -- Executing [[email protected]:5] GotoIf("SIP/YYYYYYYYY-00000001", "0?return") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
    -- Executing [[email protected]:6] Hangup("SIP/YYYYYYYYY-00000006", "") in new stack
  == Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/YYYYYYYYY-00000006' in macro 'hangupcall'
    -- Executing [[email protected]:6] Set("SIP/YYYYYYYYY-00000001", "__CRM_HANGUP=1") in new stack
    -- Executing [[email protected]:7] AGI("SIP/YYYYYYYYY-00000001", "sangomacrm.agi") in new stack
    -- Executing [[email protected]:6] Hangup("SIP/YYYYYYYYY-00000007", "") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000006'
    -- SIP/YYYYYYYYY-00000006 Internal Gosub(crm-hangup,s,1) start
    -- Executing [[email protected]:1] NoOp("SIP/YYYYYYYYY-00000006", "Sending Hangup to CRM") in new stack
    -- Executing [[email protected]:2] NoOp("SIP/YYYYYYYYY-00000006", "HANGUP CAUSE: 44") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000006", "0?Set(__CRM_VOICEMAIL=)") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000006", "MASTER CHANNEL: 1538766339.6 = 1538766339.6") in new stack
  == Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/YYYYYYYYY-00000007' in macro 'hangupcall'
    -- Executing [[email protected]:5] GotoIf("SIP/YYYYYYYYY-00000006", "0?return") in new stack
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000007'
    -- SIP/YYYYYYYYY-00000007 Internal Gosub(crm-hangup,s,1) start
    -- Executing [[email protected]:1] NoOp("SIP/YYYYYYYYY-00000007", "Sending Hangup to CRM") in new stack
    -- Executing [[email protected]:2] NoOp("SIP/YYYYYYYYY-00000007", "HANGUP CAUSE: 44") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/YYYYYYYYY-00000007", "0?Set(__CRM_VOICEMAIL=)") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/YYYYYYYYY-00000007", "MASTER CHANNEL: 1538766342.7 = 1538766342.7") in new stack
    -- Executing [[email protected]:5] GotoIf("SIP/YYYYYYYYY-00000007", "0?return") in new stack
    -- Executing [[email protected]:6] Set("SIP/YYYYYYYYY-00000007", "__CRM_HANGUP=1") in new stack
    -- Executing [[email protected]:7] AGI("SIP/YYYYYYYYY-00000007", "sangomacrm.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
    -- Executing [[email protected]:6] Set("SIP/YYYYYYYYY-00000006", "__CRM_HANGUP=1") in new stack
    -- Executing [[email protected]:7] AGI("SIP/YYYYYYYYY-00000006", "sangomacrm.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
    -- <SIP/YYYYYYYYY-00000002>AGI Script sangomacrm.agi completed, returning 0
    -- <SIP/YYYYYYYYY-00000000>AGI Script sangomacrm.agi completed, returning 0
    -- <SIP/YYYYYYYYY-00000005>AGI Script sangomacrm.agi completed, returning 0
    -- <SIP/YYYYYYYYY-00000004>AGI Script sangomacrm.agi completed, returning 0
    -- Executing [[email protected]:8] Return("SIP/YYYYYYYYY-00000005", "") in new stack
    -- Executing [[email protected]:8] Return("SIP/YYYYYYYYY-00000000", "") in new stack
    -- Executing [[email protected]:8] Return("SIP/YYYYYYYYY-00000002", "") in new stack
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000005'
    -- SIP/YYYYYYYYY-00000005 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000000'
    -- SIP/YYYYYYYYY-00000000 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000002'
    -- SIP/YYYYYYYYY-00000002 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
    -- Executing [[email protected]:8] Return("SIP/YYYYYYYYY-00000004", "") in new stack
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000004'
    -- SIP/YYYYYYYYY-00000004 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
    -- <SIP/YYYYYYYYY-00000003>AGI Script sangomacrm.agi completed, returning 0
    -- <SIP/YYYYYYYYY-00000001>AGI Script sangomacrm.agi completed, returning 0
    -- Executing [[email protected]:8] Return("SIP/YYYYYYYYY-00000003", "") in new stack
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000003'
    -- SIP/YYYYYYYYY-00000003 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
    -- Executing [[email protected]:8] Return("SIP/YYYYYYYYY-00000001", "") in new stack
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000001'
    -- SIP/YYYYYYYYY-00000001 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
    -- <SIP/YYYYYYYYY-00000007>AGI Script sangomacrm.agi completed, returning 0
    -- <SIP/YYYYYYYYY-00000006>AGI Script sangomacrm.agi completed, returning 0
    -- Executing [[email protected]:8] Return("SIP/YYYYYYYYY-00000007", "") in new stack
    -- Executing [[email protected]:8] Return("SIP/YYYYYYYYY-00000006", "") in new stack
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000007'
    -- SIP/YYYYYYYYY-00000007 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/YYYYYYYYY-00000006'
    -- SIP/YYYYYYYYY-00000006 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
[2018-10-05 19:06:19] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #2)
[2018-10-05 19:06:33] NOTICE[2506]: chan_sip.c:30172 sip_poke_noanswer: Peer 'YYYYYYYYY' is now UNREACHABLE!  Last qualify: 2
[2018-10-05 19:06:39] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #3)
[2018-10-05 19:06:59] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #4)
[2018-10-05 19:07:19] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #5)
[2018-10-05 19:07:39] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #6)
[2018-10-05 19:07:59] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #7)
[2018-10-05 19:08:19] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #8)
[2018-10-05 19:08:39] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #9)
[2018-10-05 19:08:59] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #10)
[2018-10-05 19:09:19] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #11)
[2018-10-05 19:09:39] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #12)
[2018-10-05 19:09:59] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #13)
[2018-10-05 19:10:19] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #14)
[2018-10-05 19:10:39] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #15)
[2018-10-05 19:10:59] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #16)
[2018-10-05 19:11:19] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #17)
[2018-10-05 19:11:39] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #18)
[2018-10-05 19:11:59] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #19)
[2018-10-05 19:12:19] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #20)
[2018-10-05 19:12:39] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #21)
[2018-10-05 19:12:59] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #22)
[2018-10-05 19:13:19] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #23)
[2018-10-05 19:13:39] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #24)
[2018-10-05 19:13:59] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #25)
[2018-10-05 19:14:19] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #26)
[2018-10-05 19:14:39] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #27)
[2018-10-05 19:14:59] NOTICE[2506]: chan_sip.c:15890 sip_reg_timeout:    -- Registration for '[email protected]' timed out, tryin          g again (Attempt #28)
[2018-10-05 19:15:07] NOTICE[2506]: chan_sip.c:24654 handle_response_peerpoke: Peer 'YYYYYYYYY' is now Reachable. (2ms / 2000ms)

Solved the issue. Fail2Ban caused disconnect. Added server IP to the whitelist.

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