<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><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">hi guys;</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">i have configured gateway for making calls but it dosn't work;</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">my config files are as follow:</div><div><div><br></div><div><div>first create file that name " iptel.org.xml " in the below path:</div><div> /usr/local/freeswitch/conf/sip_profiles/external/<br></div><div>i have an account on iptel.org like :(username:aimas;password:mypass)</div><div> <br></div></div><div><include></div><div><gateway
name="custom"></div><div><param name="username" value="arimas"/></div><div><param name="password" value="mypass"/></div><div><param name="realm" value="iptel.org"/></div><div><!-- iptel.org requires a 'proxy' parameter --></div><div><param name="proxy" value="sip.iptel.org"/></div><div></gateway>--></div><div></include></div><div> </div><div>the run :</div><div>sofia profile external restart reloadxml reloxm<br></div><div>and sofia status:</div><div><div> Name Type Data State</div><div>=================================================================================================</div><div> external
profile sip:mod_sofia@10.0.3.15:5080 RUNNING (0)</div><div> external::example.com gateway sip:joeuser@example.com NOREG</div><div> external::custom gateway sip:arimas@sip.iptel.org REGED</div><div> internal profile sip:mod_sofia@10.0.3.15:5060 RUNNING (0)</div><div> 10.0.3.15 alias
internal ALIASED</div><div>=================================================================================================</div><div>then create file name "01_custom.xml " in the below path :</div><div>/usr/local/freeswitch/conf/dialplan/default<br></div><div><div>the content of the files 01_custom.xml are:</div><div><include></div><div><extension name="Dial Out Custom Gateway"></div><div><condition field="destination_number"</div><div> expression="^9(1\d{10})$"></div><div><action application="bridge"</div><div>data="sofia/gateway/custom/$1"/></div><div></condition></div><div></extension></div><div></include></div><div>.<br></div></div><div>now when i dial 9, 1-800-555-1212 on eyebeam that register on freeswitch server the call is failed </div><div><br></div><div>please help;</div><div>thanks </div></div></div> </div></body></html>