Symptom
++ All recording sessions are disconnecting when primary (but OPTIONAL) recorder does not answer to mid-call re-INVITEs (SIP session refresh) which is caused by network problems.
Conditions
++ CUBE Media Proxy configured with multiple recorders - all optional
++ CUCM is refreshing SIP session via re-INVITE (mid-call singaling)
++ CUBE is sending that re-INVITE to primary recorder (by default it goes to primary ONLY) via UDP, but this is never reaching recorder. CUBE detects that via ICMP. Then it disconnects all recording legs (to all recorders and to CUCM). In debugs:
After that reason in BYE (to CUCM): Reason: Q.850;cause=38
032315: *Sep 23 11:33:33.804: //-1/xxxxxxxxxxxx/SIP/Info/info/4096/ccsip_process_sipspi_queue_event: ccsip_spi_get_msg_type returned: 2 for event 54
032316: *Sep 23 11:33:33.804: //46130/3FB96D000000/SIP/Error/act_mid_invite_send_msg_failure:
Send Error to 10.128.48.93:5060 for transport UDP
032317: *Sep 23 11:33:33.804: //46130/3FB96D000000/SIP/Info/critical/4096/ccsip_set_cc_cause_for_spi_err: Categorized cause:38, category:186
032318: *Sep 23 11:33:33.804: //46130/3FB96D000000/SIP/Info/verbose/4096/ccsip_set_release_source_for_peer: ownCallId[46130], src[6]
032319: *Sep 23 2020 11:33:33.804 UTC: %VOICE_IEC-3-GW: SIP: Internal Error (Socket conn refused): IEC=1.1.186.7.102.1 on callID 46130 GUID=3FB96D0000010000000022AB690D15AC
032320: *Sep 23 11:33:33.804: //46130/3FB96D000000/SIP/Info/critical/4096/sipSPIInitiateDisconnect: Initiate call disconnect(38) for outgoing call
++ BYE to recorders is sent with cause code 16.