<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span>hi erkan;</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span>thanks so much for your reply;</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">i think your mean is:</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">&nbsp;i must configure file&nbsp;<span style="font-size: 12pt; ">&nbsp;01_custom.xml like</span><span style="font-size: 12pt; ">&nbsp;:</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><div><div class="yiv578801844MsoNormal"
 style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><br></div></div><div><div><div class="yiv578801844MsoNormal" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; ">&lt;include&gt;</div></div><div><div class="yiv578801844MsoNormal" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; ">&lt;extension name="Dial Out Custom Gateway"&gt;</div></div><div><div class="yiv578801844MsoNormal" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span style="color: rgb(255, 0, 0); font-family: sans-serif; font-size: 15px; ">&lt;context name="samira"&gt;</span>&nbsp;<br></div><div
 class="yiv578801844MsoNormal" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; ">&lt;condition field="destination_number"</div></div><div><div class="yiv578801844MsoNormal" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; ">&nbsp;expression="^9(1\d{10})$"&gt;</div></div><div><div class="yiv578801844MsoNormal" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; ">&lt;action application="bridge"</div></div><div><div class="yiv578801844MsoNormal" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; ">data="sofia/gateway/custom/$1"/&gt;</div></div><div><div class="yiv578801844MsoNormal"
 style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; ">&lt;/condition&gt;</div></div><div><div class="yiv578801844MsoNormal" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span style="background-color: white; font-size: 12pt; ">&lt;/context&gt;</span></div><div class="yiv578801844MsoNormal" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span style="background-color: white; font-size: 12pt; ">&lt;/extension&gt;</span><br></div></div><div><div class="yiv578801844MsoNormal" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; ">&lt;/include&gt;</div></div></div></div><div
 style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">and because i registered via extension:1000 on freeswitch so :</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">&nbsp;must configure file 1000.xml &nbsp;like &nbsp;:</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089197" style="font-size: 11pt; color: rgb(31, 73, 125); ">&lt;include&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089199" style="font-size:
 11pt; color: rgb(31, 73, 125); ">&nbsp; &lt;user id="1000"&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089201" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp; &lt;params&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089203" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="password" value="yourpass" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089205" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="vm-password" value="1000" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089207" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp; &lt;/params&gt;</span></div><div class="yiv578801844MsoNormal"><span
 lang="EN-US" class="yui_3_2_0_23_1336986016089209" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp; &lt;variables&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089211" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="toll_allow" value="domestic,international,local" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089213" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="accountcode" value="1000" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089215" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span lang="EN-US" class="yui_3_2_0_23_1336986016089217" style="font-size: 11pt; color: red; ">&lt;variable name="user_context"
 value="linktoyourdialplan" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089219" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="effective_caller_id_name" value="0000" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089221" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="effective_caller_id_number" value="0000" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089223" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="outbound_caller_id_name" value="$${outbound_caller_name}" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089225" style="font-size: 11pt; color: rgb(31, 73, 125);
 ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="outbound_caller_id_number" value="$${outbound_caller_id}" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089227" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="callgroup" value="techsupport" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089229" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp; &lt;/variables&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089231" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp; &lt;/user&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" class="yui_3_2_0_23_1336986016089233" style="font-size: 11pt; color: rgb(31, 73, 125); ">&lt;/include&gt;</span></div></div><div style="font-family: 'times new roman', 'new
 york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">but i on't know what to be set as&nbsp;<span lang="EN-US" class="yui_3_2_0_23_1336986016089215" style="font-size: 11pt; color: rgb(31, 73, 125); ">&nbsp;</span><span lang="EN-US" class="yui_3_2_0_23_1336986016089217" style="font-size: 11pt; color: red; ">&lt;variable name="user_context" value="linktoyourdialplan" /&gt; &nbsp; in the 1000.xml?</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span lang="EN-US" class="yui_3_2_0_23_1336986016089217" style="font-size: 11pt; color: red; ">please help, i am new in freeswitch&nbsp;</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span lang="EN-US" class="yui_3_2_0_23_1336986016089217" style="font-size: 11pt; color: red; ">sorry for my english ;;</span></div><div
 style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span lang="EN-US" class="yui_3_2_0_23_1336986016089217" style="font-size: 11pt; color: red; "><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div>  <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Erkan Ünlü (simalube) &lt;erkan@speedingtrade.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> 'FreeSWITCH Users Help' &lt;freeswitch-users@lists.freeswitch.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, May 14, 2012 2:01 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users] configuring gateway for
 making calls<br> </font> </div> <br>
<div id="yiv578801844"><style><!--
#yiv578801844  
 _filtered #yiv578801844 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv578801844 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv578801844  
#yiv578801844 p.yiv578801844MsoNormal, #yiv578801844 li.yiv578801844MsoNormal, #yiv578801844 div.yiv578801844MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"serif";}
#yiv578801844 a:link, #yiv578801844 span.yiv578801844MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv578801844 a:visited, #yiv578801844 span.yiv578801844MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv578801844 span.yiv578801844E-MailFormatvorlage17
        {font-family:"sans-serif";color:#1F497D;}
#yiv578801844 .yiv578801844MsoChpDefault
        {font-size:10.0pt;}
 _filtered #yiv578801844 {margin:70.85pt 70.85pt 2.0cm 70.85pt;}
#yiv578801844 div.yiv578801844WordSection1
        {}
--></style><div><div class="yiv578801844WordSection1"><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">Hi Samira,</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> &nbsp;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">please build first of all them in the directory/default folder a XML file like this.</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> &nbsp;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&lt;include&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size:
 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp; &lt;user id="1000"&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp; &lt;params&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="password" value="yourpass" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name="vm-password" value="1000" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp; &lt;/params&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size:
 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp; &lt;variables&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="toll_allow" value="domestic,international,local" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="accountcode" value="1000" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span lang="EN-US" style="font-size: 11pt; color: red; font-family: sans-serif; ">&lt;variable name="user_context" value="linktoyourdialplan" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US"
 style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="effective_caller_id_name" value="0000" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="effective_caller_id_number" value="0000" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="outbound_caller_id_name" value="$${outbound_caller_name}" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="outbound_caller_id_number" value="$${outbound_caller_id}" /&gt;</span></div><div
 class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name="callgroup" value="techsupport" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp; &lt;/variables&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp; &lt;/user&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&lt;/include&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> &nbsp;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color:
 rgb(31, 73, 125); font-family: sans-serif; ">Now you can register with your softphone to FS. See the user_context area in this section you must link it to your dialing plan</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">The dialing plan is located in dialing plan folder.</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> &nbsp;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">My simple dialing plan looks like this.</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> &nbsp;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125);
 font-family: sans-serif; ">&lt;include&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp; </span><span lang="EN-US" style="font-size: 11pt; color: red; font-family: sans-serif; ">&lt;context name="theNameOfDialingplan"&gt;</span><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "></span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp; &lt;extension name="Worldwide"&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^00 (\d+)$"&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125);
 font-family: sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="hangup_after_bridge=true" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="sofia/gateway/gateway/00$1|sofia/gateway/gateway2/00$1" /&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&nbsp;&nbsp; &lt;/extension&gt;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">&lt;/context&gt;</span></div><div
 class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> &nbsp;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> &nbsp;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">The context name of the dialing plan must be the same in the directory XML user_context</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">I color it in red.</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> &nbsp;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">I
 hope that this info are usefully for you.</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> &nbsp;</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">Kind regards.</span></div><div class="yiv578801844MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> &nbsp;</span></div><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;"><div class="yiv578801844MsoNormal"><b><span style="font-size: 10pt; font-family: sans-serif; ">Von:</span></b><span style="font-size: 10pt; font-family: sans-serif; "> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>Im Auftrag von </b>Samira Mh<br><b>Gesendet:</b> Montag, 14. Mai 2012 11:11<br><b>An:</b> Free
 SWITCH Users Help<br><b>Betreff:</b> [Freeswitch-users] configuring gateway for making calls</span></div></div></div><div class="yiv578801844MsoNormal"> &nbsp;</div><div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;"> &nbsp;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">hi guys;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">i have configured gateway for making calls but it dosn't work;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">my config files are as follow:</span></div></div><div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;"> &nbsp;</span></div></div><div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">first create file
 that name " iptel.org.xml&nbsp;" in the below path:</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&nbsp;/usr/local/freeswitch/conf/sip_profiles/external/</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">i have an account on&nbsp;<a target="_blank" href="http://iptel.org">iptel.org</a> like :(username:aimas;password:mypass)</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&nbsp;&nbsp;</span></div></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&lt;include&gt;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&lt;gateway name="custom"&gt;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span
 style="color:black;">&lt;param name="username" value="arimas"/&gt;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&lt;param name="password" value="mypass"/&gt;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&lt;param name="realm" value="iptel.org"/&gt;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&lt;!-- iptel.org requires a 'proxy' parameter --&gt;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&lt;param name="proxy" value="<a target="_blank" href="http://sip.iptel.org">sip.iptel.org</a>"/&gt;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&lt;/gateway&gt;--&gt;</span></div></div><div><div class="yiv578801844MsoNormal"
 style="background:white;"><span style="color:black;">&lt;/include&gt;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">the run :</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">sofia profile external restart reloadxml reloxm</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">and sofia status:</span></div></div><div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&nbsp;Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Type &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Data &nbsp; &nbsp;
 &nbsp;State</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">=================================================================================================</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;external &nbsp; &nbsp; &nbsp; profile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a rel="nofollow">sip:mod_sofia@10.0.3.15:5080</a> &nbsp; &nbsp; &nbsp;RUNNING (0)</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&nbsp; &nbsp; external::example.com &nbsp; &nbsp; &nbsp; gateway &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a rel="nofollow">sip:joeuser@example.com</a> &nbsp; &nbsp; &nbsp;NOREG</span></div></div><div><div class="yiv578801844MsoNormal"
 style="background:white;"><span style="color:black;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;external::custom &nbsp; &nbsp; &nbsp; gateway &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a rel="nofollow">sip:arimas@sip.iptel.org</a> &nbsp; &nbsp; &nbsp;REGED</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;internal &nbsp; &nbsp; &nbsp; profile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a rel="nofollow">sip:mod_sofia@10.0.3.15:5060</a> &nbsp; &nbsp; &nbsp;RUNNING (0)</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 10.0.3.15 &nbsp; &nbsp; &nbsp; &nbsp; alias &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; internal &nbsp; &nbsp;
 &nbsp;ALIASED</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">=================================================================================================</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">then create file name "01_custom.xml " in the below path :</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">/usr/local/freeswitch/conf/dialplan/default</span></div></div><div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">the content of the files &nbsp;01_custom.xml &nbsp; are:</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&lt;include&gt;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span
 style="color:black;">&lt;extension name="Dial Out Custom Gateway"&gt;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&lt;condition field="destination_number"</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&nbsp;expression="^9(1\d{10})$"&gt;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&lt;action application="bridge"</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">data="sofia/gateway/custom/$1"/&gt;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&lt;/condition&gt;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&lt;/extension&gt;</span></div></div><div><div
 class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">&lt;/include&gt;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">.</span></div></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">now when i dial&nbsp;9, 1-800-555-1212 on eyebeam that register on freeswitch server the call is failed&nbsp;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;"> &nbsp;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">please help;</span></div></div><div><div class="yiv578801844MsoNormal" style="background:white;"><span style="color:black;">thanks&nbsp;</span></div></div></div></div></div></div></div></div><br>_________________________________________________________________________<br>Professional FreeSWITCH
 Consulting Services:<br><a ymailto="mailto:consulting@freeswitch.org" 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 ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" 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><br> </div> </div>  </div></body></html>