I modified the 01_example.com.xml with the code below and I am still getting "Invalid Gateway". I tried creating a file 01_flowroute.com.xml and placed the code below and had the same unfortunate result. On flowroute site I have placed my IP in the outbound allowed IPs and also inbound routes. Is there something else that I should do to try to get things to work?
Sorry, for asking for so much help. ~Alex -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Chris Fowler Sent: Monday, April 20, 2009 4:49 PM To: [email protected] Subject: Re: [Freeswitch-users] Configure FS using Flowroute.com Hi Alex, DialPlan is in /usr/local/freeswitch/conf/dialplan/default Edit the example (I think 01_ prefix); should look like this: <include> <extension name="local.example.com"> <condition field="${toll_allow}" expression="local"/> <condition field="destination_number" expression="^(\d{7})$"> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="bridge" data="sofia/gateway/sip.flowroute.com/${default_provider_username}#1${defaul t_areacode}$1"/> </condition> </extension> <extension name="threedigits.example.com"> <condition field="${toll_allow}" expression="domestic"/> <condition field="destination_number" expression="^(\d{3})$"> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="bridge" data="sofia/gateway/inphonex/$1"/> </condition> </extension> <extension name="domestic.example.com"> <condition field="${toll_allow}" expression="domestic"/> <condition field="destination_number" expression="^(\d{11})$"> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="bridge" data="sofia/gateway/sip.flowroute.com/${default_provider_username}#$1"/> </condition> </extension> <extension name="international.example.com"> <condition field="${toll_allow}" expression="international"/> <condition field="destination_number" expression="^(011\d+)$"> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="bridge" data="sofia/gateway/sip.flowroute.com/${default_provider_username}#$1"/> </condition> </extension> </include> _______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
