So, everything run perfect (well almost) for about a year, when we had a network problem and were forced to change the modem/router. Freepbx worked fine for about half a day, when suddenly none of the extensions can make outgoing calls, except one (1), for a reason that doesn’t make sense. Checked logs for the extension that works, versus extensions that don’t work and everything is fine (and the same) except hangup - cause 41. Log:
[2020-08-18 22:00:49] VERBOSE[21016][C-00000004] pbx.c: Executing [[email protected]:5] While(“DAHDI/i1/1234567890-4”, “0”) in new stack
[2020-08-18 22:00:49] VERBOSE[21016][C-00000004] pbx.c: Executing [[email protected]:14] Return(“DAHDI/i1/1234567890-4”, “”) in new stack
[2020-08-18 22:00:49] VERBOSE[21016][C-00000004] app_stack.c: Spawn extension (from-digital, 01234567890, 1) exited non-zero on ‘DAHDI/i1/1234567890-4’
[2020-08-18 22:00:49] VERBOSE[21016][C-00000004] app_stack.c: DAHDI/i1/1234567890-4 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
[2020-08-18 22:00:49] VERBOSE[21016][C-00000004] sig_pri.c: Requested transfer capability: 0x00 - SPEECH
[2020-08-18 22:00:49] VERBOSE[21016][C-00000004] app_dial.c: Called DAHDI/g0/1234567890
[2020-08-18 22:00:49] VERBOSE[9165][C-00000004] sig_pri.c: Span 1: Channel 0/1 got hangup, cause 41
[2020-08-18 22:00:49] VERBOSE[21016][C-00000004] app_dial.c: DAHDI/i1/1234567890-4 is circuit-busy
[2020-08-18 22:00:49] VERBOSE[21016][C-00000004] chan_dahdi.c: Hungup ‘DAHDI/i1/1234567890-4’
[2020-08-18 22:00:49] VERBOSE[21016][C-00000004] app_dial.c: Everyone is busy/congested at this time (1:0/1/0)
[2020-08-18 22:00:49] VERBOSE[21016][C-00000004] pbx.c: Executing [[email protected]:35] NoOp(“PJSIP/999-00000003”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 41”) in new stack
[2020-08-18 22:00:49] VERBOSE[21016][C-00000004] pbx.c: Executing [[email protected]:36] GotoIf(“PJSIP/999-00000003”, “0?continue,1:s-CONGESTION,1”) in new stack
[2020-08-18 22:00:49] VERBOSE[21016][C-00000004] pbx_builtins.c: Goto (macro-dialout-trunk,s-CONGESTION,1)
[2020-08-18 22:00:49] VERBOSE[21016][C-00000004] pbx.c: Executing [[email protected]:1] Set(“PJSIP/999-00000003”, “RC=41”) in new stack
[2020-08-18 22:00:49] VERBOSE[21016][C-00000004] pbx.c: Executing [[email protected]:2] Goto(“PJSIP/999-00000003”, “41,1”) in new stack