Incoming Call Hangup for TimeCondition/RingGroup

I have a Raspbian install with FreePBX 13.0.195.4. For a particular inbound route based on Caller ID, I (sometimes) get an immediate hangup on the first call, while a successive call works fine. The route utilizes a time condition, time group, and ring group. Here is the portion of the log with the hangup:

[2018-07-29 14:06:14] VERBOSE[4139][C-0000001a] app_dial.c: SIP/231-0000007c is ringing
[2018-07-29 14:06:14] VERBOSE[4139][C-0000001a] app_dial.c: SIP/234-0000007f is ringing
[2018-07-29 14:06:14] VERBOSE[4139][C-0000001a] app_dial.c: SIP/230-0000007b is ringing
[2018-07-29 14:06:15] VERBOSE[4139][C-0000001a] app_macro.c: Spawn extension (macro-dial, s, 22) exited non-zero on 'SIP/vitel-inbound-0000007a' in macro 'dial'
[2018-07-29 14:06:15] VERBOSE[4139][C-0000001a] pbx.c: Spawn extension (ext-group, 242, 14) exited non-zero on 'SIP/vitel-inbound-0000007a'
[2018-07-29 14:06:15] VERBOSE[4139][C-0000001a] pbx.c: Executing [[email protected]:1] Macro("SIP/vitel-inbound-0000007a", "hangupcall,") in new stack
[2018-07-29 14:06:15] VERBOSE[4139][C-0000001a] pbx.c: Executing [[email protected]:1] GotoIf("SIP/vitel-inbound-0000007a", "1?theend") in new stack
[2018-07-29 14:06:15] VERBOSE[4139][C-0000001a] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2018-07-29 14:06:15] VERBOSE[4139][C-0000001a] pbx.c: Executing [[email protected]:3] ExecIf("SIP/vitel-inbound-0000007a", "0?Set(CDR(recordingfile)=)") in new stack
[2018-07-29 14:06:15] VERBOSE[4139][C-0000001a] pbx.c: Executing [[email protected]:4] Hangup("SIP/vitel-inbound-0000007a", "") in new stack
[2018-07-29 14:06:15] VERBOSE[4139][C-0000001a] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/vitel-inbound-0000007a' in macro 'hangupcall'
[2018-07-29 14:06:15] VERBOSE[4139][C-0000001a] pbx.c: Spawn extension (ext-group, h, 1) exited non-zero on 'SIP/vitel-inbound-0000007a'

I’m not sure how to interpret this? The incoming call is part of an automated system. Did the incoming call hangup or was there an error handling the call on my side?

This sounds like the dial application is failing on your first attempt, but once the dial has been tried, the calls start working. That makes is sound like your Vitelity trunk is disconnecting and not reconnecting until you try to make a call.

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