AllStarLink / app_rpt

Refactoring and upgrade of AllStarLink's app_rpt, etc.
8 stars 6 forks source link

Permanent Connects don't Reestablish #35

Closed tsawyer closed 1 year ago

tsawyer commented 2 years ago

A permanent connect ilink13 should reconnect if the network or far end node goes down and recovers. Below shows a reconnect attempting but failing. This issue is easily reproduced by disconnecting and reconnecting the test unit cat5 cable.

[Aug 19 06:03:10] WARNING[945]: app_rpt.c:16524 attempt_reconnect: Reconnect Attempt to 2530 in process
[Aug 19 06:03:10]     -- Call accepted by 104.153.109.212:4569 (format ulaw)
[Aug 19 06:03:10]     -- Format for call is (ulaw)
[Aug 19 06:03:10]     -- Hungup 'IAX2/104.153.109.212:4569-13027'
[Aug 19 06:03:17] DEBUG[945]: app_rpt.c:16508 attempt_reconnect: Requested channel IAX2/104.153.109.212:4569-4430
[Aug 19 06:03:17]     -- rpt (attempt_reconnect) initiating call to IAX2/radio@104.153.109.212:4569/2530 on IAX2/104.153.109.212:4569-4430
[Aug 19 06:03:17] WARNING[945]: app_rpt.c:16524 attempt_reconnect: Reconnect Attempt to 2530 in process
[Aug 19 06:03:17]     -- Call accepted by 104.153.109.212:4569 (format ulaw)
[Aug 19 06:03:17]     -- Format for call is (ulaw)
[Aug 19 06:03:17]     -- Hungup 'IAX2/104.153.109.212:4569-4430'
[Aug 19 06:03:24] DEBUG[945]: app_rpt.c:16508 attempt_reconnect: Requested channel IAX2/104.153.109.212:4569-2424
[Aug 19 06:03:24]     -- rpt (attempt_reconnect) initiating call to IAX2/radio@104.153.109.212:4569/2530 on IAX2/104.153.109.212:4569-2424
[Aug 19 06:03:24] WARNING[945]: app_rpt.c:16524 attempt_reconnect: Reconnect Attempt to 2530 in process
[Aug 19 06:03:24]     -- Call accepted by 104.153.109.212:4569 (format ulaw)
[Aug 19 06:03:24]     -- Format for call is (ulaw)
[Aug 19 06:03:24]     -- Hungup 'IAX2/104.153.109.212:4569-2424'
[Aug 19 06:03:25]        > Received OK from Echolink server server1.echolink.org
[Aug 19 06:03:25]        > Directory pgm done downloading(partial,compressed), 217 records
[Aug 19 06:03:32] DEBUG[945]: app_rpt.c:16508 attempt_reconnect: Requested channel IAX2/104.153.109.212:4569-12733
[Aug 19 06:03:32]     -- rpt (attempt_reconnect) initiating call to IAX2/radio@104.153.109.212:4569/2530 on IAX2/104.153.109.212:4569-12733
[Aug 19 06:03:32] WARNING[945]: app_rpt.c:16524 attempt_reconnect: Reconnect Attempt to 2530 in process
[Aug 19 06:03:32]     -- Call accepted by 104.153.109.212:4569 (format ulaw)
[Aug 19 06:03:32]     -- Format for call is (ulaw)
[Aug 19 06:03:32]     -- Hungup 'IAX2/104.153.109.212:4569-12733'
NewASL*CLI> 
tsawyer commented 2 years ago

@InterLinked1 If you want to work on this one I'll need to be here to simulate an outage by disconnecting the cat5 cable.