Hi samira,<br>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 ? .<br><br>Thanks And Regards <br><br>
Andrew<br><br><br><br><br><div class="gmail_quote">On Mon, May 14, 2012 at 2:40 PM, Samira Mh <span dir="ltr"><<a href="mailto:saami_mh@ymail.com" target="_blank">saami_mh@ymail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div style="font-family:'times new roman','new york',times,serif;font-size:12pt"><span><br></span></div><div style="font-family:'times new roman','new york',times,serif;font-size:12pt">
hi guys;</div><div style="font-family:'times new roman','new york',times,serif;font-size:12pt">i have configured gateway for making calls but it dosn't work;</div><div style="font-family:'times new roman','new york',times,serif;font-size:12pt">
my config files are as follow:</div><div><div><br></div><div><div>first create file that name " iptel.org.xml " in the below path:</div><div> /usr/local/freeswitch/conf/sip_profiles/external/<br></div><div>i have an account on <a href="http://iptel.org" target="_blank">iptel.org</a> like :(username:aimas;password:mypass)</div>
<div> <br></div></div><div><include></div><div><gateway
name="custom"></div><div><param name="username" value="arimas"/></div><div><param name="password" value="mypass"/></div><div><param name="realm" value="<a href="http://iptel.org" target="_blank">iptel.org</a>"/></div>
<div><!-- <a href="http://iptel.org" target="_blank">iptel.org</a> requires a 'proxy' parameter --></div><div><param name="proxy" value="<a href="http://sip.iptel.org" target="_blank">sip.iptel.org</a>"/></div>
<div></gateway>--></div><div></include></div><div> </div><div>the run :</div><div>sofia profile external restart reloadxml reloxm<br></div><div>and sofia status:</div><div><div> Name Type Data State</div>
<div>=================================================================================================</div><div> external
profile <a href="http://sip:mod_sofia@10.0.3.15:5080" target="_blank">sip:mod_sofia@10.0.3.15:5080</a> RUNNING (0)</div><div> external::<a href="http://example.com" target="_blank">example.com</a> gateway <a href="mailto:sip%3Ajoeuser@example.com" target="_blank">sip:joeuser@example.com</a> NOREG</div>
<div> external::custom gateway <a href="mailto:sip%3Aarimas@sip.iptel.org" target="_blank">sip:arimas@sip.iptel.org</a> REGED</div><div> internal profile <a href="http://sip:mod_sofia@10.0.3.15:5060" target="_blank">sip:mod_sofia@10.0.3.15:5060</a> RUNNING (0)</div>
<div> 10.0.3.15 alias
internal ALIASED</div><div>=================================================================================================</div><div>then create file name "01_custom.xml " in the below path :</div><div>
/usr/local/freeswitch/conf/dialplan/default<br></div><div><div>the content of the files 01_custom.xml are:</div><div><include></div><div><extension name="Dial Out Custom Gateway"></div><div><condition field="destination_number"</div>
<div> expression="^9(1\d{10})$"></div><div><action application="bridge"</div><div>data="sofia/gateway/custom/$1"/></div><div></condition></div><div></extension></div><div>
</include></div><div>.<br></div></div><div>now when i dial 9, 1-800-555-1212 on eyebeam that register on freeswitch server the call is failed </div><div><br></div><div>please help;</div><div>thanks </div></div></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>