[VoIP] Asterisk Dialplan Question
Richard Lane
richardlane at exemail.com.au
Sun Apr 27 00:46:50 CDT 2008
Hi All,
This is more of a general asterisk question but has a slight connection
to my CNET implementation.
Description of system.
I have my CNET asterisk server which has the Digium TDM400P card
installed in it with 2 modules. One module is a FXS and the other is a FXO.
The FXO is connected to the PSTN network (telstra) and the FXS is
connected to my telephones.
I have 2 sip providers, the first being free world dial up and the other
being exetel voip which is a voip provider here in Australia.
I also have dial plan configurations to dial CNET.
Description of Dial plan
To dial out via telstra currently I dial the full national number with a
leading 1 in the front. i.e. 10394354150
To dial out via exetel currently I dial the full national number with a
leading 2 in the front i.e. 20394354150
To dial out via freeworlddialup currently I dial the number with a
leading 393 in the front i.e. 393123456
To dial out via CNET I dial the local, national or international number
i.e. 194 or 271194 or 060271194 or 00116160271194
What I would like to do.
Basically I would like to set an order of preference on my trunk lines
so I can just dial the required number. What this do is basically look
at the trunks and use exetel as preference 1 and telstra as preference
2. Is this possible? This would eliminate the need for the leading 1 or 2.
Also I would like to have a simple menu on my dial plan so that you need
to a leading number to get into CNET which then give you CNET dial tone.
Is this possible? This would simplify my exetel and telstra dial plans
because at the moment a lot of my numbers could be either PSTN or CNET
calls from the same number. I hope this makes sense. Essentially by
entering a number (say 1) it would pop you into CNET dial tone mode and
you dial your number from there. In the future when I have more FXS
ports on my system some may or may not have access to the PSTN and or CNET.
I reckon it would be possible to do this but thought I would throw this
out to the masses who may or may not have already implemented such
facilities.
Cheers
Richard
More information about the VoIP
mailing list