Disable Session progress on incoming calls - no ringing tone

Hi all,

FreePBX 16 with Asterisk 20 sends no ringing tone when routed to extension or ring group. in previous versions, for Ring Groups, setting Send Progress to No would resolve the issue, but now does not seem to resolve it. Please advise. Thanks

Please provide logs.

Hi David,

please find the logs: Call Logs - FreePBX Pastebin

Call triggers Ring Group 400.

Regards.

This doesn’t show a call hitting a ring group at all. It shows the call hitting a Queue

-- Executing [s@from-trunk:18] Goto("SIP/BHT-00000080", "ext-queues,305,1") in new stack

More so, I’m seeing the Progress being set in the macro-user-callerid Macro, which I can’t find one any of my v16 systems. So I’m not sure where it is coming from.

-- Executing [s@macro-user-callerid:3] Progress("SIP/BHT-00000080", "") in new stack

Do you have any commercial modules installed that you are using?

Hi Tom,

sorry, you are correct. Please find the correct logs, with the inbound call hitting the ring group 400, taken by the ext. 2001.

https://pastebin.freepbx.org/view/b52ac8c9

Regards.

As for the commercial modules, there are none installed.

Same as before the Progress is coming from

-- Executing [s@macro-user-callerid:3] Progress("SIP/BHT-00000018", "") in new stack

Log into the system, go into the asterisk console with asterisk -r and then do dialplan show macro-user-callerid and paste bin the output.

The output from CLI is as follows:

pbx*CLI> dialplan show macro-user-callerid
[ Context ‘macro-user-callerid’ created by ‘pbx_config’ ]
‘en’ => 1. Playback(im-sorry&an-error-has-occurred&with&call-forwarding) [extensions_additional.conf:18545]
2. Return() [extensions_additional.conf:18546]
[hook_1] 3. Playback(beep&im-sorry&your&simul-call-limit-reached&goodbye) [extensions_additional.conf:18547]
4. Return() [extensions_additional.conf:18548]
[hook_2] 5. Playback(im-sorry&an-error-has-occurred) [extensions_additional.conf:18549]
6. Return() [extensions_additional.conf:18550]
‘h’ => 1. Macro(hangupcall,) [extensions_additional.conf:18543]
‘ja’ => 1. Playback(im-sorry&call-forwarding&jp-no&an-error-has-occured) [extensions_additional.conf:18552]
2. Return() [extensions_additional.conf:18553]
[hook_1] 3. Playback(beep&im-sorry&simul-call-limit-reached) [extensions_additional.conf:18554]
4. Return() [extensions_additional.conf:18555]
[hook_2] 5. Playback(im-sorry&an-error-has-occured) [extensions_additional.conf:18556]
6. Return() [extensions_additional.conf:18557]
‘lang-playback’ => 1. GosubIf($[${DIALPLAN_EXISTS(macro-user-callerid,${CHANNEL(language)})}]?macro-user-callerid,${CHANNEL(language)},${ARG1}():macro-user-callerid,en,${ARG1}()) [extensions_additional.conf:18480]
2. Return() [extensions_additional.conf:18481]
‘s’ => 1. Set(TOUCH_MONITOR=${UNIQUEID}) [extensions_additional.conf:18483]
2. Set(CHANCONTEXT=${CUT(CHANNEL,@,2)}) [extensions_additional.conf:18484]
3. Progress() [extensions_additional.conf:18485]
4. Set(CHANCONTEXT=${CUT(CHANCONTEXT,-,1)}) [extensions_additional.conf:18486]
5. Set(CHANEXTENCONTEXT=${CUT(CHANNEL,/,2)}) [extensions_additional.conf:18487]
6. Set(CHANEXTEN=${CUT(CHANEXTENCONTEXT,@,1)}) [extensions_additional.conf:18488]
7. Set(CALLERID(number)=${IF($[“${CHANCONTEXT}” = “webcallback”]?${CHANEXTEN}:${CALLERID(number)})}) [extensions_additional.conf:18489]
8. Set(AMPUSER=${IF($[“${AMPUSER}” = “”]?${CALLERID(number)}:${AMPUSER})}) [extensions_additional.conf:18490]
9. Set(HOTDESCKCHAN=${CUT(CHANNEL,/,2)}) [extensions_additional.conf:18491]
10. Set(HOTDESKEXTEN=${CUT(HOTDESCKCHAN,-,1)}) [extensions_additional.conf:18492]
11. Set(HOTDESKCALL=0) [extensions_additional.conf:18493]
12. ExecIf($[“${DB(EDEVICE/${HOTDESKEXTEN}/user)}”=“DummyUser”]?Set(HOTDESKCALL=1)) [extensions_additional.conf:18494]
13. ExecIf($[${HOTDESKCALL}=1]?Set(CALLERID(name)=${DB(EDEVICE/${HOTDESKEXTEN}/location)})) [extensions_additional.conf:18495]
14. GotoIf($[“${CUT(CHANNEL,@,2):5:5}”=“queue” | ${LEN(${AMPUSERCIDNAME})}]?report) [extensions_additional.conf:18496]
15. ExecIf($[“${REALCALLERIDNUM:1:2}” = “”]?Set(REALCALLERIDNUM=${CALLERID(number)})) [extensions_additional.conf:18497]
16. Set(AMPUSER=${DB(DEVICE/${REALCALLERIDNUM}/user)}) [extensions_additional.conf:18498]
17. GotoIf($[“${AMPUSER}” = “none”]?limit) [extensions_additional.conf:18499]
18. Set(AMPUSERCIDNAME=${DB(AMPUSER/${AMPUSER}/cidname)}) [extensions_additional.conf:18500]
19. ExecIf($[“${ARG2}” != “EXTERNAL” & ${DB_EXISTS(AMPUSER/${AMPUSER}/cidnum)} & “${AMPUSER}” != “${DB(AMPUSER/${AMPUSER}/cidnum)}”]?Set(__CIDMASQUERADING=TRUE)) [extensions_additional.conf:18501]
20. GotoIf($[“${AMPUSERCIDNAME:1:2}” = “”]?report) [extensions_additional.conf:18502]
21. Set(AMPUSERCID=${IF($[“${ARG2}” != “EXTERNAL” & “${DB_EXISTS(AMPUSER/${AMPUSER}/cidnum)}” = “1”]?${DB_RESULT}:${AMPUSER})}) [extensions_additional.conf:18503]
22. Set(__DIAL_OPTIONS=${IF($[“${DB_EXISTS(AMPUSER/${AMPUSER}/dialopts)}” = “1”]?${DB_RESULT}:${DIAL_OPTIONS})}) [extensions_additional.conf:18504]
23. Set(CALLERID(all)=“${AMPUSERCIDNAME}” <${AMPUSERCID}>) [extensions_additional.conf:18505]
24. ExecIf($[“${DB(DEVICE/${ARG2}/tech)}”=“custom”]?Set(CUSDIAL=${CUT(CUT(DB(DEVICE/${ARG2}/dial),/,2),@,1)})) [extensions_additional.conf:18506]
25. ExecIf($[“${DB(DEVICE/${ARG2}/tech)}”=“custom” & “${DB(DEVICE/${CUSDIAL}/type)}” =“”]?Set(CALLERID(all)=${IF($[${LEN(${DB(AMPUSER/${ARG2}/outboundcid)})}]?${DB(AMPUSER/${ARG2}/outboundcid)}:${CALLERID(all)})})) [extensions_additional.conf:18507]
26. GotoIf($[“${ARG1}”=“LIMIT” & ${LEN(${AMPUSER})} & ${DB_EXISTS(AMPUSER/${AMPUSER}/concurrency_limit)} & ${DB(AMPUSER/${AMPUSER}/concurrency_limit)}>0 & ${GROUP_COUNT(${AMPUSER}@concurrency_limit)}>=${DB(AMPUSER/${AMPUSER}/concurrency_limit)}]?limit) [extensions_additional.conf:18508]
27. ExecIf($[“${ARG1}”=“LIMIT” & ${LEN(${AMPUSER})}]?Set(GROUP(concurrency_limit)=${AMPUSER})) [extensions_additional.conf:18509]
28. ExecIf($[“${DB(AMPUSER/${AMPUSER}/language)}” != “”]?Set(CHANNEL(language)=${DB(AMPUSER/${AMPUSER}/language)})) [extensions_additional.conf:18510]
[report] 29. Noop(Macro Depth is ${MACRO_DEPTH}) [extensions_additional.conf:18511]
30. GotoIf($[“${MACRO_DEPTH}” = “” | ${MACRO_DEPTH} < 6 ]?report2:macroerror) [extensions_additional.conf:18512]
[report2] 31. GotoIf($[ “${ARG1}” = “SKIPTTL” | “${ARG1}” = “LIMIT” ]?continue) [extensions_additional.conf:18513]
32. ExecIf($[“${CALLEE_ACCOUNCODE}” = “”]?Set(__CALLEE_ACCOUNCODE=${DB(AMPUSER/${IF($[“${MACRO_CONTEXT}”=“macro-exten-vm”]?${ARG2}:${MACRO_EXTEN})}/accountcode)})) [extensions_additional.conf:18514]
[report3] 33. Set(__TTL=${IF($[“foo${TTL}” = “foo”]?64:$[ ${TTL} - 1 ])}) [extensions_additional.conf:18515]
34. GotoIf($[ ${TTL} > 0 ]?continue) [extensions_additional.conf:18516]
35. Wait(${RINGTIMER}) [extensions_additional.conf:18517]
36. Answer() [extensions_additional.conf:18518]
37. Wait(1) [extensions_additional.conf:18519]
38. Gosub(macro-user-callerid,lang-playback,1(hook_0)) [extensions_additional.conf:18520]
39. Macro(hangupcall,) [extensions_additional.conf:18521]
[macroerror] 40. Noop(Macro Limit Reached. Aborting Call) [extensions_additional.conf:18522]
41. Answer() [extensions_additional.conf:18523]
42. Wait(1) [extensions_additional.conf:18524]
43. Gosub(macro-user-callerid,lang-playback,1(hook_2)) [extensions_additional.conf:18525]
44. Macro(hangupcall,) [extensions_additional.conf:18526]
[limit] 45. Answer() [extensions_additional.conf:18527]
46. Wait(1) [extensions_additional.conf:18528]
47. Gosub(macro-user-callerid,lang-playback,1(hook_1)) [extensions_additional.conf:18529]
48. Macro(hangupcall,) [extensions_additional.conf:18530]
49. Congestion(20) [extensions_additional.conf:18531]
[continue] 50. Set(CALLERID(number)=${CALLERID(number):0:40}) [extensions_additional.conf:18532]
51. Set(CALLERID(name)=${CALLERID(name):0:40}) [extensions_additional.conf:18533]
52. GotoIf($[“${CALLERID(name)}” = “”]?cnum) [extensions_additional.conf:18534]
53. Set(__MCNUM=${CALLERID(num)}) [extensions_additional.conf:18535]
54. Set(__MCNAME=${CALLERID(name)}) [extensions_additional.conf:18536]
55. Set(__MCEXTEN=${AMPUSER}) [extensions_additional.conf:18537]
56. Set(__MCORGCHAN=${CHANNEL}) [extensions_additional.conf:18538]
57. Set(CDR(cnam)=${CALLERID(name)}) [extensions_additional.conf:18539]
[cnum] 58. Set(CDR(cnum)=${CALLERID(num)}) [extensions_additional.conf:18540]
59. Set(CHANNEL(language)=${MASTER_CHANNEL(CHANNEL(language))}) [extensions_additional.conf:18541]
Include => ‘macro-user-callerid-custom’ [pbx_config]

-= 5 extensions (74 priorities) in 1 context. =-

1 Like

There’s the culprit. You’re running the most current versions of Core and Framework, correct? I found it on one box…not sure why it exists there…seems odd. I can’t find it on other v16 boxes

1 Like

Yes Sir, that is correct. I recently made some upgrade on modules where it was suggested in Module Admin.

Core is on version 16.0.68.30, whereas FreePBX Framework is 16.0.40.11.

1 Like

@kgupta Can you explain why a Progress is being set in the macro-user-callerid on v16? That isn’t a place to be setting that considering it ignores any option to not use Progress in other modules.

exten => s,1,Set(TOUCH_MONITOR=${UNIQUEID})
exten => s,n,Set(CHANCONTEXT=${CUT(CHANNEL,@,2)})
exten => s,n,Progress
exten => s,n,Set(CHANCONTEXT=${CUT(CHANCONTEXT,-,1)})
exten => s,n,Set(CHANEXTENCONTEXT=${CUT(CHANNEL,/,2)})
1 Like

Hi @BlazeStudios , @BreakOnThru

We have created the ticket [bug]: Progress() is call on macro-user-callerid context · Issue #653 · FreePBX/issue-tracker · GitHub to fix the issue

2 Likes

Why was it added to begin with?

1 Like

Hi Gents,

I disabled the sangomaconnect on Module Admin, and now we are receiving proper signaling and proper ring tone. Of course we will keep on following Bug Tracking anf this thread up untik final resolution. Many thanks, again :slightly_smiling_face:

Cheers

1 Like

Yup that is the problem. Why it was added there to be spliced into user-callerid, I have no idea.

1 Like

I do not intend to use this module. Should I proceed with anything such as Uninstall or Remove it, or Disable is sufficient?

1 Like

Sorry to jump in here but this ticks me off. I’ve been troubleshooting a signaling issue related to SIP 183 being sent when I don’t want it and have scoured the GUI for every progress indicator toggle and have them all turned off and it was still happening. I guess “my bad” for not going and examining the dialplan but it is reasonable to expect that Progress() won’t randomly appear in some part of the dialplan where it just doesn’t belong.

1 Like

It apparently was breaking queues for the OP as well as highlighted here Asterisk 20 . incoming calls failing to reach the queue

Disabling sangomaconnect fixed both issues for them. I’m still wondering why unlicensed modules are having dialplan written out when it A) never will be used or B) seems to be messing with how calls are processed with no one expecting that behaviour.

1 Like

Oh I have guesses.

1 Like

And that’s why I have a problem with the distro automatically installing all modules by default, even if they aren’t licensed. But I could go on all day about that…

1 Like