[Freeswitch-users] Combining two dialplans

mazilo Nabble at slickdeals.endjunk.com
Tue Sep 28 05:53:25 PDT 2010


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.



More information about the FreeSWITCH-users mailing list