Hi samira, Try to give some freeswitch errors and give some idea about trunk details .If the proxy is different just try with outbound-proxy parameter . R u able to get incoming calls ? . Thanks And Regards Andrew On Mon, May 14, 2012 at 2:40 PM, Samira Mh <saami_mh@ymail.com> wrote:
hi guys; i have configured gateway for making calls but it dosn't work; my config files are as follow:
first create file that name " iptel.org.xml " in the below path: /usr/local/freeswitch/conf/sip_profiles/external/ i have an account on iptel.org like :(username:aimas;password:mypass)
<include> <gateway name="custom"> <param name="username" value="arimas"/> <param name="password" value="mypass"/> <param name="realm" value="iptel.org"/> <!-- iptel.org requires a 'proxy' parameter --> <param name="proxy" value="sip.iptel.org"/> </gateway>--> </include>
the run : sofia profile external restart reloadxml reloxm and sofia status: Name Type Data State
================================================================================================= external profile sip:mod_sofia@10.0.3.15:5080 RUNNING (0) external::example.com gateway sip:joeuser@example.com NOREG external::custom gateway sip:arimas@sip.iptel.org REGED internal profile sip:mod_sofia@10.0.3.15:5060 RUNNING (0) 10.0.3.15 alias internal ALIASED
================================================================================================= then create file name "01_custom.xml " in the below path : /usr/local/freeswitch/conf/dialplan/default the content of the files 01_custom.xml are: <include> <extension name="Dial Out Custom Gateway"> <condition field="destination_number" expression="^9(1\d{10})$"> <action application="bridge" data="sofia/gateway/custom/$1"/> </condition> </extension> </include> . now when i dial 9, 1-800-555-1212 on eyebeam that register on freeswitch server the call is failed
please help; thanks
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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