<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Vitalie,</span></div><div><br><span></span></div><div><span>I asked my provider to switch up to port 5080 and everything is negotiating perfectly. thanks for your help.</span></div><div><br><span></span></div><div><span><br></span></div><div><br></div>  <div style="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;"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> "freeswitch-users-request@lists.freeswitch.org" &lt;freeswitch-users-request@lists.freeswitch.org&gt;<br> <b><span style="font-weight: bold;">To:</span></b> freeswitch-users@lists.freeswitch.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, January 6, 2012 11:54 PM<br> <b><span
 style="font-weight: bold;">Subject:</span></b> FreeSWITCH-users Digest, Vol 67, Issue 58<br> </font> <br>----- Forwarded Message -----<br><br>
Send FreeSWITCH-users mailing list submissions to<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>&nbsp;&nbsp;&nbsp; http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>or, via email, send a message with subject or body 'help' to<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:freeswitch-users-request@lists.freeswitch.org" href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a><br><br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:freeswitch-users-owner@lists.freeswitch.org" href="mailto:freeswitch-users-owner@lists.freeswitch.org">freeswitch-users-owner@lists.freeswitch.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re:
 Contents of FreeSWITCH-users digest..."<br><br>Today's Topics:<br><br>&nbsp;  1. 407 undefined? sip port 5060 (Rodney)<br>&nbsp;  2.&nbsp; Why database is locked? (Valery Kalinin)<br>&nbsp;  3. Re: Why database is locked? (Ken Rice)<br>&nbsp;  4. Re: 407 undefined? sip port 5060 (Vitalie Colosov)<br><div id="yiv1486299367"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div style="font-family:times, serif;font-size:12pt;">I currently have external profile ipkall working on port 5080 but now i am testing RNK carrier services and they are sending to me on port 5060. I do not notice anything on the console but they are saying they are sending to my server and getting this response:&nbsp;</div><div style="font-family:times, serif;font-size:12pt;"><br></div><div style="font-family:times, serif;font-size:12pt;"><a rel="nofollow" style="color:rgb(17, 85, 204);font-family:Calibri,
 sans-serif;font-size:15px;">2012-01-06 21</a><span style="color:rgb(31, 73, 125);font-family:Calibri, sans-serif;font-size:15px;">:52:46.0 000000000&nbsp;&nbsp; 614??????? &nbsp; &nbsp;&nbsp;&nbsp;</span><a rel="nofollow" style="color:rgb(17, 85, 204);font-family:Calibri, sans-serif;font-size:15px;">6174530953</a><span style="color:rgb(31, 73, 125);font-family:Calibri, sans-serif;font-size:15px;">&nbsp;(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DID-IN:RNK) (H1 usinteractive-nextdi)&nbsp;&nbsp; 407&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; undefined</span>&nbsp;<br></div><div style="font-family:times, serif;font-size:12pt;"><br></div><div style="font-family:times, serif;font-size:12pt;"><br></div><div style="font-family:times, serif;font-size:12pt;"><br></div><div style="font-family:times, serif;font-size:12pt;">I have the following gateway setup in&nbsp;C:\Program Files\FreeSWITCH\conf\sip_profiles\external</div><div style="font-family:times,
 serif;font-size:12pt;"><br></div><div style="font-family:times, serif;font-size:12pt;"><br></div><div><div><font face="'times new roman', 'new york', times, serif">&lt;include&gt;</font></div><div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &lt;gateway name="RNK_Test"&gt;</font></div><div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &lt;param name="username" value="superadmin"/&gt;</font></div><div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &lt;param name="password" value="fusionpbx"/&gt;</font></div><div><font face="'times new roman', 'new york', times,
 serif">&nbsp; &nbsp; &nbsp; &lt;param name="proxy" value="76.181.53.231:5060"/&gt;</font></div><div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &lt;param name="expire-seconds" value="800"/&gt;</font></div><div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &lt;param name="register" value="false"/&gt;</font></div><div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &lt;param name="retry-seconds" value="60"/&gt;</font></div><div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &lt;param name="context" value="default"/&gt;</font></div><div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &lt;/gateway&gt;</font></div><div><font face="'times new roman', 'new york', times, serif">&lt;/include&gt;</font></div><div><font face="'times new roman', 'new york', times, serif"><br></font></div><div><font face="'times new
 roman', 'new york', times, serif">It is exactly the same as my IPkall except for the gateway name and proxy port. How do I make sure I can accept on this port. Is there somewhere else I need to be adding this 5060 port information.</font></div><div><font face="'times new roman', 'new york', times, serif"><br></font></div><div><font face="'times new roman', 'new york', times, serif">thank you.</font></div></div><div style="font-family:times, serif;font-size:12pt;"><br></div><div style="font-family:times, serif;font-size:12pt;"><br></div></div></div></div><div id="yiv2101751592">&gt; Are you running the latest version of FS?<br><br>FreeSWITCH Version 1.0.head (git-4cd616c 2011-12-15 23-36-20 -0500)<br><br>&gt; Also are you doing anything externally to mess with the sql db files?<br><br>No.<br><br>
&gt; Another possibility is a slow filesystem, we used to have people get this<br>problem on suse linux.<br><br>CentOS release 5.5 (Final)<br><br>&gt; You could try running your db dir in a ramdisk.<br><br>These problems appeared after the upgrade version of FS.<br>
<br><br>Thank you in advance...<br>
</div><div id="yiv751563739">

<title>Re: [Freeswitch-users] &nbsp;Why database is locked?</title>

<div>
<font face="Monaco, Courier New"><span style="font-size:11pt;">Blow away all the files in freeswitch/db and restart freeswitch<br>
<br>
Save the voicemail.db file if you don’t wanna lose all the voicemails and give that a try.<br>
<br>
That will force a reset of the all the databases and should clear any errors... <br>
<br>
<br>
On 1/6/12 10:00 PM, "Valery Kalinin" &lt;<a rel="nofollow">valery.kalinin@gmail.com</a>&gt; wrote:<br>
<br>
</span></font><blockquote><font face="Monaco, Courier New"><span style="font-size:11pt;">&gt; Are you running the latest version of FS?<br>
<br>
FreeSWITCH Version 1.0.head (git-4cd616c 2011-12-15 23-36-20 -0500)<br>
<br>
&gt; Also are you doing anything externally to mess with the sql db files?<br>
<br>
No.<br>
<br>
&gt; Another possibility is a slow filesystem, we used to have people get this<br>
problem on suse linux.<br>
<br>
CentOS release 5.5 (Final)<br>
<br>
&gt; You could try running your db dir in a ramdisk.<br>
<br>
These problems appeared after the upgrade version of FS.<br>
<br>
<br>
Thank you in advance...<br>
<br>
<hr size="3" width="95%" align="CENTER"></span></font><font size="2"><font face="Consolas, Courier New, Courier"><span style="font-size:10pt;">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow">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">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>
</span></font></font></blockquote>
</div>


</div><div id="yiv302736191"><div>Ask your provider to send sip packets to 5080, instead of 5060.</div><div>Every good provider should allow you to select the port YOU want, and not THEY want.</div><div><br></div><div>If it will not help, then&nbsp;you need to make&nbsp;external&nbsp;profile listen to 5060, instead of 5080.</div>
<div>So, you will be sending and receiving sip messages between you and provider, using port 5060 (which is usually used only for your internal profile and your clients).</div><div><br></div><div>To change this, you need to modify conf/sip_profiles/external.xml</div>
<div>&lt;param name="sip-port" value="5080"/&gt; replace to "5060"</div><div><br></div><div>In this case, you will have to reconfigure internal profile to be on a different port, say 5062, and ask your clients to add :5062 to the sip server address when they configure their softphone/sip adapter.</div>
<div><br></div><div>Maybe another option would be to consider provider as one of your internal clients, and allow password-less communication from his IP, but this is way too crazy to consider as a good option.</div><div>
<br></div><div>Vitalie</div><div><br></div><div><br></div><div><br><br><br><div class="yiv302736191gmail_quote">2012/1/6 Rodney <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:notlikeme75@yahoo.com" target="_blank" href="mailto:notlikeme75@yahoo.com">notlikeme75@yahoo.com</a>&gt;</span><br><blockquote class="yiv302736191gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><div style="font-size:12pt;">I currently have external profile ipkall working on port 5080 but now i am testing RNK carrier services and they are sending to me on port 5060. I do not notice anything on the console but they are saying they are sending to my server and getting this response:&nbsp;</div>
<div style="font-size:12pt;"><br></div><div style="font-size:12pt;"><a rel="nofollow">2012-01-06 21</a><span>:52:46.0 000000000&nbsp;&nbsp; 614??????? &nbsp; &nbsp;&nbsp;&nbsp;</span><a rel="nofollow">6174530953</a><span>&nbsp;(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DID-IN:RNK) (H1 usinteractive-nextdi)&nbsp;&nbsp; 407&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; undefined</span>&nbsp;<br>
</div><div style="font-size:12pt;"><br></div><div style="font-size:12pt;"><br></div><div style="font-size:12pt;">
<br></div><div style="font-size:12pt;">I have the following gateway setup in&nbsp;C:\Program Files\FreeSWITCH\conf\sip_profiles\external</div><div style="font-size:12pt;">
<br></div><div style="font-size:12pt;"><br></div><div><div><font face="'times new roman', 'new york', times, serif">&lt;include&gt;</font></div>
<div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &lt;gateway name="RNK_Test"&gt;</font></div><div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &lt;param name="username" value="superadmin"/&gt;</font></div>
<div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &lt;param name="password" value="fusionpbx"/&gt;</font></div><div><font face="'times new roman', 'new york', times,
 serif">&nbsp; &nbsp; &nbsp; &lt;param name="proxy" value="<a rel="nofollow" target="_blank"  href="http://76.181.53.231:5060">76.181.53.231:5060</a>"/&gt;</font></div><div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &lt;param name="expire-seconds" value="800"/&gt;</font></div>
<div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &lt;param name="register" value="false"/&gt;</font></div><div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &lt;param name="retry-seconds" value="60"/&gt;</font></div>
<div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &lt;param name="context" value="default"/&gt;</font></div><div><font face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &lt;/gateway&gt;</font></div>
<div><font face="'times new roman', 'new york', times, serif">&lt;/include&gt;</font></div><div><font face="'times new roman', 'new york', times, serif"><br></font></div><div><font face="'times new
 roman', 'new york', times, serif">It is exactly the same as my IPkall except for the gateway name and proxy port. How do I make sure I can accept on this port. Is there somewhere else I need to be adding this 5060 port information.</font></div>
<div><font face="'times new roman', 'new york', times, serif"><br></font></div><div><font face="'times new roman', 'new york', times, serif">thank you.</font></div></div><div style="font-size:12pt;">
<br></div><div style="font-size:12pt;"><br></div></div></div><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></blockquote></div><br></div>
</div><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>