calls are made from extension 8000 or 800 respectively to an external number XXXXX025, no CID defined on the extensions nor the ISP SIP Trunk, CID is defined only on outbound route.
What are the content of your from-internal-custom dialplan? It seems like that breaks it. Your calls are missing the entire internal caller ID builder.
asterisk -x"dialplan show from-internal-custom" | pastebin
It’s not doing anything useful, and as it is priority it is making every possible extension number appear valid, and may confuse exception handling as it will match all the special extensions.
The h extension starts at priority 5, so that will not be reached.
I’d actually be more concerned that there is no priority 1 for extension 418. As the first defined priority is 3, the above mentioned line will accept it, but then it will fall off the end of the dialplan at priority 2, which may not result in the intended rejection cause.
418 will sort of work in your first example, as it starts at 2, and the _. line will get it there. h is still broken, as that starts at 3, so execution will end at 2.
Your h extension wouldn’t do anything useful, anyway, as the call is already hung-up.
You are right, it actually works without it ! Thanks !
the priorities just got messed up with all the testing and commenting of lines ;). I’ll fix that.
So, why it doesn’t mess up the dialplan with 14.0.13 but it makes such a difference with 14.0.16 ?
Is there a better way to insert a comment during operations for debugging ?
The dialplan hook seems to achieve the same result, but also seems to be over and above what i’m trying to achieve. I’ll read up on it and see how to implement it for my purpose.
Still there is the question why it worked on 14.0.13 (same noop command) but doesn’t work on 14.0.16.
The question is not why it is not working in .16. Rather, the question is, how come it was working in .13 considering that you removed a crucial part of the FreePBX dialplan…
And to be honest, I am pretty confident that there are definitely stuff that weren’t working correctly on .13.