[Freeswitch-users] Outgoing fax issue.
Nathan Neulinger
nneul at mst.edu
Thu Apr 11 02:45:17 MSD 2013
You've told it to match "7" followed by any number of digits...
I'm surprised your actually getting as far into the pattern match as you are.
Can you match on specific number plan lengths? i.e. ^7(\d{7}|1\d{10})$ instead?
-- Nathan
> <extension name=”bridge-FXS-to-FXO” continue=”true”>
> < condition field=”destination_number” expression=”^7(.+)$”/>
> < condition field=”channel_name” expression=”FreeTDM/1:1/”>
> < action application=”bridge” data=”freetdm/1/1/${destination_number}|freetdm/2/3/${destination_number}”/> </condition>
> < /extension>
--
------------------------------------------------------------
Nathan Neulinger nneul at mst.edu
Missouri S&T Information Technology (573) 612-1412
System Administrator - Architect
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list