I wrote a generic dialplan that can be localized via user variables and would like people to customize it by creating variable definitions for their respective countries/regions. r6852 contains SRC/scripts/contrib/trixter/dialplan dialplan.nanpa.xml dialplan.nl.xml localized.dialplan.xml localized.dialplan.xml is a dialplan include dialplan.*.xml is a localized USER DIRECTORY variable definition To use, include localized.dialplan.xml into your dialplan. For each user (or global if you want) include the dialplan.*.xml appropriate for your locality into the user variable section. This should give you the ability to call international, domestic out of area, local - same area, and emergency. In the case on NANPA I have made the emergency regexp a little looser so that all X11 services are direct route to the provider (eg 411, 611, 911, etc). Most of the EU/EEA countries only need to adjust the country code variable and the local area (do not prefix 0 eg amsterdam NL is 20 not 020, London england is 20[7|8] not 020[7|8]). This is so that ENUM routing will work properly. If anyone finds a situation where this does not work properly I would appreciate it if they would let me know so that I can try to make something better that does work universally everywhere, however I think it should generally work most places. I see this more for multi-national providers to allow their customers to dial in a way they are more familiar with, giving the users easy choice in how their profile is built, as well as end users dealing with providers that generally have a single fixed dialplan but as a user you want to be able to dial like you would with the PSTN. It would be a nice touch for a provider to allow their users to dial as though they were on the pstn without requiring the UA to do a lot of the work, especially when the provider doesnt exactly control the UA. This is a feature I see missing from a great many providers on multiple continents. -- Trixter http://www.0xdecafbad.com Bret McDanel Belfast +44 28 9099 6461 US +1 516 687 5200 http://www.trxtel.com the phone company that pays you!
wow, that's a great idea..... as a matter of fact, it sounds just as good as when i mentioned it in this post http://lists.freeswitch.org/pipermail/freeswitch-users/2007-October/001644.h... I'm sure you probably elaborated on what was there a bit, but isn't it the same basic idea -ilm trixter aka Bret McDanel wrote:
I wrote a generic dialplan that can be localized via user variables and would like people to customize it by creating variable definitions for their respective countries/regions.
r6852 contains SRC/scripts/contrib/trixter/dialplan dialplan.nanpa.xml dialplan.nl.xml localized.dialplan.xml
localized.dialplan.xml is a dialplan include dialplan.*.xml is a localized USER DIRECTORY variable definition
To use, include localized.dialplan.xml into your dialplan. For each user (or global if you want) include the dialplan.*.xml appropriate for your locality into the user variable section.
This should give you the ability to call international, domestic out of area, local - same area, and emergency. In the case on NANPA I have made the emergency regexp a little looser so that all X11 services are direct route to the provider (eg 411, 611, 911, etc).
Most of the EU/EEA countries only need to adjust the country code variable and the local area (do not prefix 0 eg amsterdam NL is 20 not 020, London england is 20[7|8] not 020[7|8]). This is so that ENUM routing will work properly.
If anyone finds a situation where this does not work properly I would appreciate it if they would let me know so that I can try to make something better that does work universally everywhere, however I think it should generally work most places.
I see this more for multi-national providers to allow their customers to dial in a way they are more familiar with, giving the users easy choice in how their profile is built, as well as end users dealing with providers that generally have a single fixed dialplan but as a user you want to be able to dial like you would with the PSTN.
It would be a nice touch for a provider to allow their users to dial as though they were on the pstn without requiring the UA to do a lot of the work, especially when the provider doesnt exactly control the UA. This is a feature I see missing from a great many providers on multiple continents.
On Tue, 2007-12-18 at 09:30 -0500, Raymond Chandler wrote:
wow, that's a great idea..... as a matter of fact, it sounds just as good as when i mentioned it in this post http://lists.freeswitch.org/pipermail/freeswitch-users/2007-October/001644.h... I'm sure you probably elaborated on what was there a bit, but isn't it the same basic idea
not really because I wasnt paying attention to the list on that day/hour/whenever. I did use your US (NANPA dont omit the other 17 or 18 countries :) one as a template originally to write the NL one, and just got to looking at it and it seemed much better to just do it where the dialplan is more or less fixed, and the variables are the only thing that changes. I got to thinking that if I cloned the US one for 5 countries I would have 6 dialplans that were 99% identical aside from some variable data. After more discussions about this I think a 5th section may be nice to add and that would be premium numbers, which would work as a blacklist regexp if set. Granted this would only work local, but if you have TDM plugged in that may be a nice block (except here where even to order the latest time life christmas music CD or call the incumbant phone company about service problems you end up calling a premium :/ ) -- Trixter http://www.0xdecafbad.com Bret McDanel Belfast +44 28 9099 6461 US +1 516 687 5200 http://www.trxtel.com the phone company that pays you!
I'd love to help, I'm in Spain and can do Venezuela as well. Could you give us a complete example? thanks david On Dec 18, 2007 2:54 AM, trixter aka Bret McDanel < trixternospam@0xdecafbad.com> wrote:
I wrote a generic dialplan that can be localized via user variables and would like people to customize it by creating variable definitions for their respective countries/regions.
r6852 contains SRC/scripts/contrib/trixter/dialplan dialplan.nanpa.xml dialplan.nl.xml localized.dialplan.xml
localized.dialplan.xml is a dialplan include dialplan.*.xml is a localized USER DIRECTORY variable definition
To use, include localized.dialplan.xml into your dialplan. For each user (or global if you want) include the dialplan.*.xml appropriate for your locality into the user variable section.
This should give you the ability to call international, domestic out of area, local - same area, and emergency. In the case on NANPA I have made the emergency regexp a little looser so that all X11 services are direct route to the provider (eg 411, 611, 911, etc).
Most of the EU/EEA countries only need to adjust the country code variable and the local area (do not prefix 0 eg amsterdam NL is 20 not 020, London england is 20[7|8] not 020[7|8]). This is so that ENUM routing will work properly.
If anyone finds a situation where this does not work properly I would appreciate it if they would let me know so that I can try to make something better that does work universally everywhere, however I think it should generally work most places.
I see this more for multi-national providers to allow their customers to dial in a way they are more familiar with, giving the users easy choice in how their profile is built, as well as end users dealing with providers that generally have a single fixed dialplan but as a user you want to be able to dial like you would with the PSTN.
It would be a nice touch for a provider to allow their users to dial as though they were on the pstn without requiring the UA to do a lot of the work, especially when the provider doesnt exactly control the UA. This is a feature I see missing from a great many providers on multiple continents. -- Trixter http://www.0xdecafbad.com Bret McDanel Belfast +44 28 9099 6461 US +1 516 687 5200 http://www.trxtel.com the phone company that pays you!
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- DVG -- Imagination is more important than knowledge Albert Einstein
participants (3)
-
David Villasmil Govea
-
Raymond Chandler
-
trixter aka Bret McDanel