I am trying to include a call to an agi-bin when any external number is being dialed (or when any call is being placed). I created a custom context like this:
The problem I think is that the dialplan priority keeps increasing. In your example it would be at 2 after the last line of from-internal-custom, and would then carry on to from-internal at priority 3, skipping whatever was at 1 and 2.
But this effectively renders the entire idea of the -custom contexts useless, which I don’t see being the case.