I'm having intermittent issues with inbound calling. Calls to PBX just sort of hang. They never connect, the caller never hears the IVR. This can happen one to fie times and then the next call just works fine. Sometimes the calls connect on the first try.
I have the logs for both failure and successful calls and I noticed in the failure log these lines:
abd80ca7-16de-4247-ba42-cb956e598996 Dialplan: sofia/external/CALLER_NUMBER@SERVER_IP parsing [public->caller-details] continue=true
abd80ca7-16de-4247-ba42-cb956e598996 Dialplan: sofia/external/CALLER_NUMBER@SERVER_IP Regex (PASS) [caller-details] () =~ // break=never
abd80ca7-16de-4247-ba42-cb956e598996 Dialplan: sofia/external/CALLER_NUMBER@SERVER_IP Action export(call_direction=inbound) INLINE
abd80ca7-16de-4247-ba42-cb956e598996 EXECUTE [depth=0] sofia/external/CALLER_NUMBER@SERVER_IP export(call_direction=inbound)
abd80ca7-16de-4247-ba42-cb956e598996 2021-09-09 16:50:28.205021 [DEBUG] sofia.c:7406 Channel sofia/external/CALLER_NUMBER@SERVER_IP entering state [terminated][487]
abd80ca7-16de-4247-ba42-cb956e598996 2021-09-09 16:50:28.205021 [NOTICE] sofia.c:8641 Hangup sofia/external/CALLER_NUMBER@SERVER_IP [CS_ROUTING] [ORIGINATOR_CANCEL]
abd80ca7-16de-4247-ba42-cb956e598996 2021-09-09 16:50:28.205021 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_direction]=[inbound]
abd80ca7-16de-4247-ba42-cb956e598996 2021-09-09 16:50:28.205021 [DEBUG] switch_core_session.c:2914 sofia/external/CALLER_NUMBER@SERVER_IP skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
abd80ca7-16de-4247-ba42-cb956e598996 Dialplan: sofia/external/CALLER_NUMBER@SERVER_IP Action set(caller_destination=${sip_to_user}) INLINE
abd80ca7-16de-4247-ba42-cb956e598996 EXECUTE [depth=0] sofia/external/CALLER_NUMBER@SERVER_IP set(caller_destination=6478125411)
abd80ca7-16de-4247-ba42-cb956e598996 2021-09-09 16:50:28.205021 [DEBUG] switch_core_session.c:2898 sofia/external/CALLER_NUMBER@SERVER_IP skip receive message [APPLICATION_EXEC] (channel is hungup already)
Does anyone have any ideas?
Jeff
I have the logs for both failure and successful calls and I noticed in the failure log these lines:
abd80ca7-16de-4247-ba42-cb956e598996 Dialplan: sofia/external/CALLER_NUMBER@SERVER_IP parsing [public->caller-details] continue=true
abd80ca7-16de-4247-ba42-cb956e598996 Dialplan: sofia/external/CALLER_NUMBER@SERVER_IP Regex (PASS) [caller-details] () =~ // break=never
abd80ca7-16de-4247-ba42-cb956e598996 Dialplan: sofia/external/CALLER_NUMBER@SERVER_IP Action export(call_direction=inbound) INLINE
abd80ca7-16de-4247-ba42-cb956e598996 EXECUTE [depth=0] sofia/external/CALLER_NUMBER@SERVER_IP export(call_direction=inbound)
abd80ca7-16de-4247-ba42-cb956e598996 2021-09-09 16:50:28.205021 [DEBUG] sofia.c:7406 Channel sofia/external/CALLER_NUMBER@SERVER_IP entering state [terminated][487]
abd80ca7-16de-4247-ba42-cb956e598996 2021-09-09 16:50:28.205021 [NOTICE] sofia.c:8641 Hangup sofia/external/CALLER_NUMBER@SERVER_IP [CS_ROUTING] [ORIGINATOR_CANCEL]
abd80ca7-16de-4247-ba42-cb956e598996 2021-09-09 16:50:28.205021 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_direction]=[inbound]
abd80ca7-16de-4247-ba42-cb956e598996 2021-09-09 16:50:28.205021 [DEBUG] switch_core_session.c:2914 sofia/external/CALLER_NUMBER@SERVER_IP skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
abd80ca7-16de-4247-ba42-cb956e598996 Dialplan: sofia/external/CALLER_NUMBER@SERVER_IP Action set(caller_destination=${sip_to_user}) INLINE
abd80ca7-16de-4247-ba42-cb956e598996 EXECUTE [depth=0] sofia/external/CALLER_NUMBER@SERVER_IP set(caller_destination=6478125411)
abd80ca7-16de-4247-ba42-cb956e598996 2021-09-09 16:50:28.205021 [DEBUG] switch_core_session.c:2898 sofia/external/CALLER_NUMBER@SERVER_IP skip receive message [APPLICATION_EXEC] (channel is hungup already)
Does anyone have any ideas?
Jeff