<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Samira,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>please build first of all them in the directory/default folder a XML file like this.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><include><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <user id="1000"><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <params><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <param name="password" value="yourpass" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <param name="vm-password" value="1000" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </params><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <variables><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <variable name="toll_allow" value="domestic,international,local" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <variable name="accountcode" value="1000" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:red'><variable name="user_context" value="linktoyourdialplan" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <variable name="effective_caller_id_name" value="0000" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <variable name="effective_caller_id_number" value="0000" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <variable name="callgroup" value="techsupport" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </variables><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </user><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'></include><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The dialing plan is located in dialing plan folder.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>My simple dialing plan looks like this.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><include><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:red'><context name="theNameOfDialingplan"></span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <extension name="Worldwide"><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <condition field="destination_number" expression="^00 (\d+)$"><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <action application="set" data="hangup_after_bridge=true" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <action application="bridge" data="sofia/gateway/gateway/00$1|sofia/gateway/gateway2/00$1" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </condition><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </extension><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'></context><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The context name of the dialing plan must be the same in the directory XML user_context<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I color it in red.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I hope that this info are usefully for you.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Kind regards.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","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<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>hi guys;<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>i have configured gateway for making calls but it dosn't work;<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>my config files are as follow:<o:p></o:p></span></p></div><div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p> </o:p></span></p></div><div><div><p class=MsoNormal style='background:white'><span style='color:black'>first create file that name " iptel.org.xml " in the below path:<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> /usr/local/freeswitch/conf/sip_profiles/external/<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>i have an account on iptel.org like :(username:aimas;password:mypass)<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div></div><div><p class=MsoNormal style='background:white'><span style='color:black'><include><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><gateway name="custom"><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><param name="username" value="arimas"/><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><param name="password" value="mypass"/><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><param name="realm" value="iptel.org"/><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><!-- iptel.org requires a 'proxy' parameter --><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><param name="proxy" value="sip.iptel.org"/><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'></gateway>--><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'></include><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>the run :<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>sofia profile external restart reloadxml reloxm<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>and sofia status:<o:p></o:p></span></p></div><div><div><p class=MsoNormal style='background:white'><span style='color:black'> Name Type Data State<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>=================================================================================================<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> external profile <a href="sip:mod_sofia@10.0.3.15:5080">sip:mod_sofia@10.0.3.15:5080</a> RUNNING (0)<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> external::example.com gateway <a href="sip:joeuser@example.com">sip:joeuser@example.com</a> NOREG<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> external::custom gateway <a href="sip:arimas@sip.iptel.org">sip:arimas@sip.iptel.org</a> REGED<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> internal profile <a href="sip:mod_sofia@10.0.3.15:5060">sip:mod_sofia@10.0.3.15:5060</a> RUNNING (0)<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> 10.0.3.15 alias internal ALIASED<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>=================================================================================================<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>then create file name "01_custom.xml " in the below path :<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>/usr/local/freeswitch/conf/dialplan/default<o:p></o:p></span></p></div><div><div><p class=MsoNormal style='background:white'><span style='color:black'>the content of the files 01_custom.xml are:<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><include><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><extension name="Dial Out Custom Gateway"><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><condition field="destination_number"<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'> expression="^9(1\d{10})$"><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><action application="bridge"<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>data="sofia/gateway/custom/$1"/><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'></condition><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'></extension><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'></include><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>.<o:p></o:p></span></p></div></div><div><p class=MsoNormal 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 <o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>please help;<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>thanks <o:p></o:p></span></p></div></div></div></div></div></body></html>