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">&lt;<a href="mailto:saami_mh@ymail.com" target="_blank">saami_mh@ymail.com</a>&gt;</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:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt"><span><br></span></div><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt">
hi guys;</div><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt">i have configured gateway for making calls but it dosn&#39;t work;</div><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt">
my config files are as follow:</div><div><div><br></div><div><div>first create file that name &quot; iptel.org.xml &quot; 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>&lt;include&gt;</div><div>&lt;gateway
 name=&quot;custom&quot;&gt;</div><div>&lt;param name=&quot;username&quot; value=&quot;arimas&quot;/&gt;</div><div>&lt;param name=&quot;password&quot; value=&quot;mypass&quot;/&gt;</div><div>&lt;param name=&quot;realm&quot; value=&quot;<a href="http://iptel.org" target="_blank">iptel.org</a>&quot;/&gt;</div>
<div>&lt;!-- <a href="http://iptel.org" target="_blank">iptel.org</a> requires a &#39;proxy&#39; parameter --&gt;</div><div>&lt;param name=&quot;proxy&quot; value=&quot;<a href="http://sip.iptel.org" target="_blank">sip.iptel.org</a>&quot;/&gt;</div>
<div>&lt;/gateway&gt;--&gt;</div><div>&lt;/include&gt;</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 &quot;01_custom.xml &quot; 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>&lt;include&gt;</div><div>&lt;extension name=&quot;Dial Out Custom Gateway&quot;&gt;</div><div>&lt;condition field=&quot;destination_number&quot;</div>
<div> expression=&quot;^9(1\d{10})$&quot;&gt;</div><div>&lt;action application=&quot;bridge&quot;</div><div>data=&quot;sofia/gateway/custom/$1&quot;/&gt;</div><div>&lt;/condition&gt;</div><div>&lt;/extension&gt;</div><div>
&lt;/include&gt;</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>