Neither do I. Why is it so complex ? Because the guy who was working on this before I came in this company was a messy worker.
So now I try to work as good as possible to make our phoning system much more adapted to our needs.
So I’ll need to create an context for external calls in addition to a context for internal calls ?
Yes the best practice is to separate these even though it can add some complexity to the dialplan. Debugging in a broken out environment sometimes can lead to finding a solution faster
I think the OP is asking how to use 0 for external lines, so instead of dialing 1234 he would dial 01234 to call 1234 on some trunk. If I understand the question correctly it should be something like:
But, the 0 in “_0X.” doesn’t work for me.
What does the “:1” mean in “EXTEN:1” ?
Because I don’t have this on my dialplan…
EDIT : That worked for me, but still, I tried on only one phone. is the “:1” a unique number or is it just here to make these types of call possible ?
Ok, I’ve found that it’s the string position for the call number.
:1 means skip the first digit in the the value of ${EXTEN}. More generally you can have :n:m, where n is the number of digits to skip and m the number to include, after that.
If this is what you wanted to do, it wasn’t at all clear from the original question.
Maybe it’s not all clear, but you helped me anyway.
I can mention that I’m french and I may have a good english for a normal conversation, explaining my problem with technical terms was not easy at all.