Problem
On some outbound calls when getting put on hold by the “callee” we are hearing our own MOH.
Is there a way to disable the re-invite? I believe this is what is causing our MOH to start playing.
Solution
Here at the Total IP laboratory (Brazil) we have been investigating a way to fix this solution for a long time. And thanks to the understanding of our Expert Renan Costa, we found the solution. Our IT Manager Giovane Oliveira asked us to share this solution here.
[context-dial]
…
same => n,Set(HOLD_INTERCEPT(set=))
same => n,Dial(TECHNOLOGY/${EXTEN},45,TI)
What happens when the caller puts the call on hold? Since that will catch any hold frames on the channel. Was that also tested with this? Which tech was used for testing this? Chan_pjsip has some rules about how to set variables on the callee channel when dialing.
same => n,Set(HOLD_INTERCEPT(set)) there is no need for the = after set.