Skip to content

Fix for issue 1041 Call Waiting Tone Missing#191

Open
julien-celya wants to merge 1 commit into
FreePBX:release/17.0from
julien-celya:issues/1041
Open

Fix for issue 1041 Call Waiting Tone Missing#191
julien-celya wants to merge 1 commit into
FreePBX:release/17.0from
julien-celya:issues/1041

Conversation

@julien-celya

Copy link
Copy Markdown
Contributor

See the issue here : FreePBX/issue-tracker#1041

I'm using a regex : ^(RING|HOLD)?INUSE$ to test the EXTENSION_STATE instead of testing if it is equal to INUSE.

Tested with macro-dial-one but not macro-dial :

root@freepbx17-dev:/var/log/asterisk# tail -f /var/log/asterisk/full|grep -B1 CWRING
[2026-06-16 14:34:15.846] VERBOSE[3212392][C-00000019] pbx.c: Executing [s@macro-dial-one:60] NoOp("Local/102@from-queue-00000019;2", "debug cwtone enabled : enabled aaaaaa extension state : NOT_INUSE") in new stack
[2026-06-16 14:34:15.846] VERBOSE[3212392][C-00000019] pbx.c: Executing [s@macro-dial-one:61] ExecIf("Local/102@from-queue-00000019;2", "0?Set(CWRING=r(callwaiting)):Set(CWRING=)") in new stack
--
[2026-06-16 14:34:17.556] VERBOSE[3212415][C-0000001a] pbx.c: Executing [s@macro-dial-one:60] NoOp("Local/102@from-queue-0000001b;2", "debug cwtone enabled : enabled aaaaaa extension state : INUSE") in new stack
[2026-06-16 14:34:17.557] VERBOSE[3212415][C-0000001a] pbx.c: Executing [s@macro-dial-one:61] ExecIf("Local/102@from-queue-0000001b;2", "1?Set(CWRING=r(callwaiting)):Set(CWRING=)") in new stack
--
[2026-06-16 14:34:21.101] VERBOSE[3212436][C-0000001b] pbx.c: Executing [s@macro-dial-one:60] NoOp("PJSIP/38205-00000027", "debug cwtone enabled : enabled aaaaaa extension state : RINGINUSE") in new stack
[2026-06-16 14:34:21.102] VERBOSE[3212436][C-0000001b] pbx.c: Executing [s@macro-dial-one:61] ExecIf("PJSIP/38205-00000027", "1?Set(CWRING=r(callwaiting)):Set(CWRING=)") in new stack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant