[Freeswitch-users] Combining two dialplans
David Ponzone
david.ponzone at ipeva.fr
Tue Sep 28 06:12:40 PDT 2010
Why do you want to combine them ?
You are going to decrease readability.
It's quite logical to have a specific extension(s) at the beginning of
the dialplan doing format normalization, and then your real stuff.
It's readable, easy to manage, harder to make mistakes.
David Ponzone Direction Technique
email: david.ponzone at ipeva.fr
tel: 01 74 03 18 97
gsm: 06 66 98 76 34
Service Client IPeva
tel: 0811 46 26 26
www.ipeva.fr - www.ipeva-studio.com
Ce message et toutes les pièces jointes sont confidentiels et établis
à l'intention exclusive de ses destinataires. Toute utilisation ou
diffusion non autorisée est interdite. Tout message électronique est
susceptible d'altération. IPeva décline toute responsabilité au
titre de ce message s'il a été altéré, déformé ou falsifié. Si
vous n'êtes pas destinataire de ce message, merci de le détruire
immédiatement et d'avertir l'expéditeur.
Le 28/09/2010 à 14:53, mazilo a écrit :
>
> I have the following working outbound dialplan for http://
> gizmo5.com Gizmo5
> that is capable of processing certain patterns of dialed numbers, i.e.
> 1747XXXXXXX and 0088351007XXXXXXX.
> <condition field="destination_number"
> expression="(1747\d{7}|0088351007\d{7})$">
> Also, I would like to add the following to the above Gizmo5 outbound
> dialplan so that it will be able to strip off some leading digits,
> i.e. 010,
> of the dialed numbers before processing them.
> <condition field="destination_number" expression="^010(\d+)$">
> Is it possible to combine the above two dialplans into a single
> dialplan in
> a single line? If not, how can one go about writing a dialplan that
> can
> filter all of the above?
>
> -----
> don't and stop are the ONLY two 4-letter words considered offensive
> to men,
> but not when used together.
> --
> View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Combining-two-dialplans-tp5579289p5579289.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100928/78b418d3/attachment.html
More information about the FreeSWITCH-users
mailing list