I've looked all over, and I can't seem to find any HOWTO's that cover this:
How can I configure a unique dialplan addition at the extension level? I have a shared Trixbox that I have several different business customers using out of different area codes. To date, I have edited the dialplan of the local ATA or equipment to prepend the area code, but I want to do this centrally, and eliminate the step with the equipment!
How can I prepend area code per extension? I guessed that somehow I could do it by creating a custom context, so maybe I'm part of the way there...
I have created a context in extensions_custom.conf called "from-areacode" that doesn't do anything at the moment:
[from-areacode]
**insert cool "add area code to string" line here**
include => from-internal
I then changed the context of the extension from "from-internal" to "from-areacode".
Am I on the right track? And what exten => ... etc. line would I use to add an area code? I'm not too experienced in the dialplan side of things. Any help would be appreciated.
Thanks in advance!!
Member Since:
2007-12-05