<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; ">hi,</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">thanks so much for great help</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">but while dialing my umber using extensino:1000 that register on myfreeswitch server the error is as follow:</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div><div>2012-05-13 20:23:55.098050 [NOTICE] switch_channel.c:669 New Channel sofia/internal/1000@192.168.1.100 [5c057400-2be8-4080-a401-25b5dc402dd0]</div><div>2012-05-13 20:23:55.106289 [INFO] mod_dialplan_xml.c:418 Processing 1000->00989191949637 in context default</div><div>2012-05-13 20:23:55.111170
[NOTICE] switch_ivr.c:1447 Transfer sofia/internal/1000@192.168.1.100 to enum[00989191949637@default]</div><div>2012-05-13 20:23:55.248259 [INFO] switch_core_state_machine.c:142 No Route, Aborting</div><div>2012-05-13 20:23:55.248259 [NOTICE] switch_core_state_machine.c:143 Hangup sofia/internal/1000@192.168.1.100 [CS_ROUTING] [NO_ROUTE_DESTINATION]</div><div>2012-05-13 20:23:55.257505 [NOTICE] switch_core_session.c:1182 Session 59 (sofia/internal/1000@192.168.1.100) Ended</div><div>2012-05-13 20:23:55.257505 [NOTICE] switch_core_session.c:1184 Close Channel sofia/internal/1000@192.168.1.100 [CS_DESTROY]</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></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; ">1:</div><div style="font-family: 'times new roman',
'new york', times, serif; font-size: 12pt; ">---------------------------------------------------------</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div>cat /usr/local/freeswitch/conf/dialplan/default/01_shatel.xml <br></div><div><br></div></div><div><div><include></div><div><span class="Apple-style-span" style="background-color: rgb(0, 127, 127);"><context name="default"></span></div><div><extension name="Dial Out Custom Gateway"></div><div><condition field="destination_number" expression="^00(98/d{10})$"></div><div><action application="bridge" data="sofia/gateway/shatel/$1"/></div><div></condition></div><div></extension></div><div></context></div><div></include></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; ">2:cat /usr/local/freeswitch/conf/directory/default/1000.xml</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">--------------------------------------------------</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div><div><include></div><div> <user id="1000"></div><div> <params></div><div> <param name="password" value="$${default_password}"/></div><div> <param name="vm-password" value="1000"/></div><div> </params></div><div> <variables></div><div> <variable name="toll_allow" value="domestic,international,local"/></div><div><span class="Apple-style-span" style="background-color: rgb(0, 127, 127);"> <variable name="accountcode"
value="1000"/></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);"> </span><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);"> </span><variable name="user_context" value="default"/></div><div> <variable name="effective_caller_id_name" value="Extension 1000"/></div><div> <variable name="effective_caller_id_number" value="1000"/></div><div> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/></div><div> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/></div><div> <variable name="callgroup" value="techsupport"/></div><div> </variables></div><div> </user></div><div></include></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; "><br></div></div></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) <erkan@speedingtrade.com><br> <b><span style="font-weight: bold;">To:</span></b> 'Samira Mh' <saami_mh@ymail.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, May 14, 2012 3:09 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> AW: [Freeswitch-users] configuring gateway for making calls<br> </font> </div> <br><div id="yiv1469913646"><style><!--
#yiv1469913646
_filtered #yiv1469913646 {font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;}
_filtered #yiv1469913646 {font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;}
_filtered #yiv1469913646 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
_filtered #yiv1469913646 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv1469913646
#yiv1469913646 p.yiv1469913646MsoNormal, #yiv1469913646 li.yiv1469913646MsoNormal, #yiv1469913646 div.yiv1469913646MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"serif";}
#yiv1469913646 a:link, #yiv1469913646 span.yiv1469913646MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1469913646 a:visited, #yiv1469913646 span.yiv1469913646MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1469913646 p.yiv1469913646MsoAcetate, #yiv1469913646 li.yiv1469913646MsoAcetate, #yiv1469913646 div.yiv1469913646MsoAcetate
        {margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;font-family:"sans-serif";}
#yiv1469913646 p.yiv1469913646MsoListParagraph, #yiv1469913646 li.yiv1469913646MsoListParagraph, #yiv1469913646 div.yiv1469913646MsoListParagraph
        {margin-top:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt;font-size:12.0pt;font-family:"serif";}
#yiv1469913646 span.yiv1469913646yui320231336986016089197
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089199
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089201
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089203
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089205
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089207
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089209
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089211
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089213
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089215
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089217
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089219
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089221
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089223
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089225
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089227
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089229
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089231
        {}
#yiv1469913646 span.yiv1469913646yui320231336986016089233
        {}
#yiv1469913646 p.yiv1469913646msonormal, #yiv1469913646 li.yiv1469913646msonormal, #yiv1469913646 div.yiv1469913646msonormal
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"serif";}
#yiv1469913646 p.yiv1469913646msochpdefault, #yiv1469913646 li.yiv1469913646msochpdefault, #yiv1469913646 div.yiv1469913646msochpdefault
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"serif";}
#yiv1469913646 span.yiv1469913646msohyperlink
        {}
#yiv1469913646 span.yiv1469913646msohyperlinkfollowed
        {}
#yiv1469913646 span.yiv1469913646e-mailformatvorlage17
        {}
#yiv1469913646 p.yiv1469913646msonormal1, #yiv1469913646 li.yiv1469913646msonormal1, #yiv1469913646 div.yiv1469913646msonormal1
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"serif";}
#yiv1469913646 span.yiv1469913646msohyperlink1
        {color:blue;text-decoration:underline;}
#yiv1469913646 span.yiv1469913646msohyperlinkfollowed1
        {color:purple;text-decoration:underline;}
#yiv1469913646 span.yiv1469913646e-mailformatvorlage171
        {font-family:"sans-serif";color:#1F497D;}
#yiv1469913646 p.yiv1469913646msochpdefault1, #yiv1469913646 li.yiv1469913646msochpdefault1, #yiv1469913646 div.yiv1469913646msochpdefault1
        {margin-right:0cm;margin-left:0cm;font-size:10.0pt;font-family:"serif";}
#yiv1469913646 span.yiv1469913646SprechblasentextZchn
        {font-family:"sans-serif";}
#yiv1469913646 span.yiv1469913646E-MailFormatvorlage48
        {font-family:"sans-serif";color:#1F497D;}
#yiv1469913646 .yiv1469913646MsoChpDefault
        {font-size:10.0pt;}
_filtered #yiv1469913646 {margin:70.85pt 70.85pt 2.0cm 70.85pt;}
#yiv1469913646 div.yiv1469913646WordSection1
        {}
#yiv1469913646
_filtered #yiv1469913646 {}
_filtered #yiv1469913646 {}
_filtered #yiv1469913646 {}
_filtered #yiv1469913646 {}
_filtered #yiv1469913646 {}
_filtered #yiv1469913646 {}
_filtered #yiv1469913646 {}
_filtered #yiv1469913646 {}
_filtered #yiv1469913646 {}
_filtered #yiv1469913646 {}
#yiv1469913646 ol
        {margin-bottom:0cm;}
#yiv1469913646 ul
        {margin-bottom:0cm;}
--></style><div><div class="yiv1469913646WordSection1"><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">Hi Samira,</span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">you need 3 xml files.</span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoListParagraph" style=""><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "><span style="">1.<span style="font:7.0pt "Times New Roman";"> </span></span></span><span
lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">Xml file is located at the directory/default</span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal" style="margin-left:35.4pt;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">Here put this xml sample and try after reloadxml to register your softphone</span></div><div class="yiv1469913646MsoNormal" style="margin-left:35.4pt;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089197"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"><include></span></span><span
style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089199"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <user id="1000"></span></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089201"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <params></span></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089203"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <param name="password" value="yourpass" /></span></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span
class="yiv1469913646yui320231336986016089205"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <param name="vm-password" value="1000" /></span></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089207"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> </params></span></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089209"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <variables></span></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089211"><span lang="EN-US"
style="font-size:11.0pt;color:#1F497D;"> <variable name="toll_allow" value="domestic,international,local" /></span></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089213"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <variable name="accountcode" value="1000" /></span></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089215"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> </span></span><span class="yiv1469913646yui320231336986016089217"><span lang="EN-US" style="font-size:11.0pt;color:red;"><variable name="user_context" value="myWorldWideDialingPlan" /></span></span><span lang="EN-US"
style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089219"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <variable name="effective_caller_id_name" value="0000" /></span></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089221"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <variable name="effective_caller_id_number" value="0000" /></span></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089223"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <variable name="outbound_caller_id_name"
value="$${outbound_caller_name}" /></span></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089225"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}" /></span></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089227"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <variable name="callgroup" value="techsupport" /></span></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089229"><span lang="EN-US"
style="font-size:11.0pt;color:#1F497D;"> </variables></span></span><span style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089231"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> </user></span></span><span style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089233"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"></include></span></span><span style="color:black;"></span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoListParagraph"
style=""><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "><span style="">2.<span style="font:7.0pt "Times New Roman";"> </span></span></span><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">Build your dialingplan </span></div><div class="yiv1469913646MsoListParagraph"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">The dialingplan is located in the dialingplan folder. Create here a new xml and put this sample inside the file.</span></div><div class="yiv1469913646MsoListParagraph"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">In the future you can study the default.xml in dialingplan folder to learn more about the dialingplan.</span></div><div class="yiv1469913646MsoListParagraph"><span lang="EN-US" style="font-size:
11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">In this section you see that the user_context in the directory folder XML file is the same with context_name</span></div><div class="yiv1469913646MsoListParagraph"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">So the user account is in association with the dialingplan. If you need you can build more different dialingplans for other requirements.</span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "><include></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color:
rgb(31, 73, 125); font-family: sans-serif; "> </span><span lang="EN-US" style="font-size: 11pt; color: red; font-family: sans-serif; "><context name="</span><span class="yiv1469913646yui320231336986016089217"><span lang="EN-US" style="font-size:11.0pt;color:red;"> myWorldWideDialingPlan</span></span><span lang="EN-US" style="font-size: 11pt; color: red; font-family: sans-serif; ">"></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <extension name="Worldwide"></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <condition field="destination_number" expression="^00
(\d+)$"></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <action application="set" data="hangup_after_bridge=true" /></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <action application="bridge" data="sofia/gateway/gateway/00$1|sofia/gateway/gateway2/00$1" /></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">
</condition></span><span style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </extension></span><span style="color:black;"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "></context></span><span style="color:black;"></span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoListParagraph" style=""><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif;
"><span style="">3.<span style="font:7.0pt "Times New Roman";"> </span></span></span><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">The last step is the gateway</span></div><div class="yiv1469913646MsoListParagraph"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">Your gateway looks good and is reged correctly</span></div><div class="yiv1469913646MsoListParagraph"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoListParagraph"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">You see the gateway name you written “custom”</span></div><div class="yiv1469913646MsoListParagraph"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">You can
change it to gateway1 or myfavoriteGW or what you want.</span></div><div class="yiv1469913646MsoListParagraph"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoListParagraph"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">But the name of the gatewayname must be the same like this line in section 2 of my description</span></div><div class="yiv1469913646MsoListParagraph"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "><action application="bridge" data="sofia/gateway/</span><b><span lang="EN-US" style="font-size: 11pt; color: red; font-family: sans-serif; ">gateway</span></b><span lang="EN-US"
style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">/00$1|sofia/gateway/gateway2/00$1" /></span><span lang="EN-US" style="color:black;"></span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">Change the red </span><b><span lang="EN-US" style="font-size: 11pt; color: red; font-family: sans-serif; ">gateway</span></b><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> to the right gatewayname in your sip profiles external folder located XML</span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal"><span
lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">You see in my sample </span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">"sofia/gateway/</span><b><span lang="EN-US" style="font-size: 11pt; color: red; font-family: sans-serif; ">gateway</span></b><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">/00$1|sofia/gateway/gateway2/00$1”</span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">I have 2
gateways for failover if one gateway is down or gives errors.</span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">| </span><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: Wingdings; ">ß</span><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> these character is an OR and mean if the first gateway gives an error so try the second gateway</span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">You can use also only 1 gateway so delete the second gateway until to “ character</span></div><div class="yiv1469913646MsoNormal"><span
lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">Hope that is now clear for you.</span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">Kind regards</span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">Erkan</span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1469913646MsoNormal"><span lang="EN-US" style="font-size:
11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;"><div class="yiv1469913646MsoNormal"><b><span style="font-size: 10pt; font-family: sans-serif; ">Von:</span></b><span style="font-size: 10pt; font-family: sans-serif; "> Samira Mh [mailto:saami_mh@ymail.com] <br><b>Gesendet:</b> Montag, 14. Mai 2012 12:26<br><b>An:</b> FreeSWITCH Users Help<br><b>Cc:</b> erkan@speedingtrade.com<br><b>Betreff:</b> Re: [Freeswitch-users] configuring gateway for making calls</span></div></div></div><div class="yiv1469913646MsoNormal"> </div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">hi erkan;</span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">thanks so much for your reply;</span></div></div><div><div class="yiv1469913646MsoNormal"
style="background:white;"><span style="color:black;"> </span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">i think your mean is:</span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> i must configure file 01_custom.xml like :</span></div></div><div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> </span></div></div></div><div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><include></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><extension name="Dial Out Custom Gateway"></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="font-size: 11.5pt; color: red;
font-family: sans-serif; "><context name="samira"></span><span style="color:black;"> </span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><condition field="destination_number"</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> expression="^9(1\d{10})$"></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><action application="bridge"</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">data="sofia/gateway/custom/$1"/></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"></condition></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span
style="color:black;background:white;"></context></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;background:white;"></extension></span><span style="color:black;"></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"></include></span></div></div></div></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> </span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">and because i registered via extension:1000 on freeswitch so :</span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> must configure file 1000.xml like :</span></div></div><div><div class="yiv1469913646MsoNormal"
style="background:white;"><span style="color:black;"> </span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> </span></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089197"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"><include></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089199"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <user id="1000"></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089201"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <params></span></span><span
style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089203"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <param name="password" value="yourpass" /></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089205"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <param name="vm-password" value="1000" /></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089207"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> </params></span></span><span style="color:black;"></span></div></div><div><div
class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089209"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <variables></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089211"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <variable name="toll_allow" value="domestic,international,local" /></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089213"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <variable name="accountcode" value="1000" /></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal"
style="background:white;"><span class="yiv1469913646yui320231336986016089215"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> </span></span><span class="yiv1469913646yui320231336986016089217"><span lang="EN-US" style="font-size:11.0pt;color:red;"><variable name="user_context" value="linktoyourdialplan" /></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089219"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <variable name="effective_caller_id_name" value="0000" /></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089221"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;">
<variable name="effective_caller_id_number" value="0000" /></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089223"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}" /></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089225"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}" /></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089227"><span lang="EN-US"
style="font-size:11.0pt;color:#1F497D;"> <variable name="callgroup" value="techsupport" /></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089229"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> </variables></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089231"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> </user></span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089233"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"></include></span></span><span
style="color:black;"></span></div></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> </span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">but i on't know what to be set as </span><span class="yiv1469913646yui320231336986016089215"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D;"> </span></span><span class="yiv1469913646yui320231336986016089217"><span lang="EN-US" style="font-size:11.0pt;color:red;"><variable name="user_context" value="linktoyourdialplan" /> in the 1000.xml?</span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089217"><span lang="EN-US" style="font-size:11.0pt;color:red;">please help, i am new in freeswitch </span></span><span
style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span class="yiv1469913646yui320231336986016089217"><span lang="EN-US" style="font-size:11.0pt;color:red;">sorry for my english ;;</span></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> </span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> </span></div></div><div><div><div><div class="yiv1469913646MsoNormal" align="center" style="text-align:center;background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; "><hr size="1" width="100%" align="center"></span></div><div class="yiv1469913646MsoNormal" style="background:white;"><b><span style="font-size: 10pt; color: black; font-family: sans-serif; ">From:</span></b><span style="font-size: 10pt; color: black;
font-family: sans-serif; "> Erkan Ünlü (simalube) <<a rel="nofollow" ymailto="mailto:erkan@speedingtrade.com" target="_blank" href="mailto:erkan@speedingtrade.com">erkan@speedingtrade.com</a>><br><b>To:</b> 'FreeSWITCH Users Help' <<a rel="nofollow" ymailto="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>> <br><b>Sent:</b> Monday, May 14, 2012 2:01 PM<br><b>Subject:</b> Re: [Freeswitch-users] configuring gateway for making calls</span><span style="color:black;"></span></div></div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> </span></div><div id="yiv1469913646"><div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">Hi Samira,</span><span
style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><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><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif;
"><include></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <user id="1000"></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <params></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <param name="password" value="yourpass" /></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt;
color: rgb(31, 73, 125); font-family: sans-serif; "> <param name="vm-password" value="1000" /></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </params></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <variables></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <variable name="toll_allow" value="domestic,international,local" /></span><span
style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <variable name="accountcode" value="1000" /></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span><span lang="EN-US" style="font-size: 11pt; color: red; font-family: sans-serif; "><variable name="user_context" value="linktoyourdialplan" /></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <variable
name="effective_caller_id_name" value="0000" /></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <variable name="effective_caller_id_number" value="0000" /></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}" /></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <variable
name="outbound_caller_id_number" value="$${outbound_caller_id}" /></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <variable name="callgroup" value="techsupport" /></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </variables></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </user></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal"
style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "></include></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><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><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><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><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><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><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "><include></span><span
style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span><span lang="EN-US" style="font-size: 11pt; color: red; font-family: sans-serif; "><context name="theNameOfDialingplan"></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <extension name="Worldwide"></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <condition field="destination_number" expression="^00 (\d+)$"></span><span
style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <action application="set" data="hangup_after_bridge=true" /></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> <action application="bridge" data="sofia/gateway/gateway/00$1|sofia/gateway/gateway2/00$1" /></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </condition></span><span
style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </extension></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "></context></span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span><span
style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><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><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">I color it in red.</span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><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><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">Kind regards.</span><span style="color:black;"></span></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span lang="EN-US" style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span><span style="color:black;"></span></div></div><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;"><div><div class="yiv1469913646MsoNormal" style="background:white;"><b><span style="font-size: 10pt; color: black;
font-family: sans-serif; ">Von:</span></b><span style="font-size: 10pt; color: black; font-family: sans-serif; "> <a rel="nofollow" ymailto="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> <a rel="nofollow" ymailto="mailto:[mailto:freeswitch-users-bounces@lists.freeswitch.org]" target="_blank" href="mailto:[mailto:freeswitch-users-bounces@lists.freeswitch.org]">[mailto:freeswitch-users-bounces@lists.freeswitch.org]</a> <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><span style="color:black;"></span></div></div></div></div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> </span></div></div><div><div><div><div
class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> </span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">hi guys;</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">i have configured gateway for making calls but it dosn't work;</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">my config files are as follow:</span></div></div></div><div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> </span></div></div></div><div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">first create file that name " iptel.org.xml " in the below path:</span></div></div></div><div><div><div class="yiv1469913646MsoNormal"
style="background:white;"><span style="color:black;"> /usr/local/freeswitch/conf/sip_profiles/external/</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">i have an account on <a rel="nofollow" target="_blank" href="http://iptel.org">iptel.org</a> like :(username:aimas;password:mypass)</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> </span></div></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><include></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><gateway name="custom"></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><param name="username"
value="arimas"/></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><param name="password" value="mypass"/></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><param name="realm" value="iptel.org"/></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><!-- iptel.org requires a 'proxy' parameter --></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><param name="proxy" value="<a rel="nofollow" target="_blank" href="http://sip.iptel.org">sip.iptel.org</a>"/></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"></gateway>--></span></div></div></div><div><div><div
class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"></include></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> </span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">the run :</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">sofia profile external restart reloadxml reloxm</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">and sofia status:</span></div></div></div><div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> Name Type
Data State</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">=================================================================================================</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> external profile <a rel="nofollow">sip:mod_sofia@10.0.3.15:5080</a> RUNNING (0)</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> external::example.com gateway <a
rel="nofollow">sip:joeuser@example.com</a> NOREG</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> external::custom gateway <a rel="nofollow">sip:arimas@sip.iptel.org</a> REGED</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> internal profile <a rel="nofollow">sip:mod_sofia@10.0.3.15:5060</a> RUNNING (0)</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> 10.0.3.15
alias internal ALIASED</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">=================================================================================================</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">then create file name "01_custom.xml " in the below path :</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">/usr/local/freeswitch/conf/dialplan/default</span></div></div></div><div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">the content of the files 01_custom.xml
are:</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><include></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><extension name="Dial Out Custom Gateway"></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><condition field="destination_number"</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"> expression="^9(1\d{10})$"></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"><action application="bridge"</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span
style="color:black;">data="sofia/gateway/custom/$1"/></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"></condition></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"></extension></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;"></include></span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">.</span></div></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">now when i dial 9, 1-800-555-1212 on eyebeam that register on freeswitch server the call is failed </span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span
style="color:black;"> </span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">please help;</span></div></div></div><div><div><div class="yiv1469913646MsoNormal" style="background:white;"><span style="color:black;">thanks </span></div></div></div></div></div></div></div></div></div><div class="yiv1469913646MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="color:black;"><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a rel="nofollow" target="_blank"
href="http://www.cudatel.com">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://www.cluecon.com">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a rel="nofollow" target="_blank"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><br></span></div></div></div></div></div></div></div><br><br> </div> </div> </div></body></html>