<div dir="ltr">According to <a href="https://wiki.freeswitch.org/wiki/Provider_Configuration:_DIDLogic" target="_blank">https://wiki.freeswitch.org/wiki/Provider_Configuration:_DIDLogic</a> nothing particularly special is required. What you have should work.<div>


<div><br></div><div>Does this gateway ever register successfully - does it register fine then start getting the 401 later, or does it never register at all. If the latter perhaps the username/password is incorrect? If it works at first then starts to fail then it might be an error at DIDLogic&#39;s end and I suggest you contact them to find out what is causing the 401.</div>


<div><br></div><div>Also any modifications to the gateway (eg changing password) take more than reloadxml to take effect. You need to run &#39;sofia profile &lt;profilename&gt; killgw &lt;gateway&gt;&#39;, wait for the gateway to be removed (gives a log message or check via &#39;sofia status gateway&#39;)&nbsp;then &#39;sofia profile &lt;name&gt; rescan&#39; to add the gateway with the new settings. Or restart FreeSWITCH.</div>


<div><br></div><div>By the way&nbsp;sip_cid_type is a variable not a parameter. See <a href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Variables" target="_blank">http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Variables</a> - but unknown parameters are ignored so it should make no difference to registration; ping, ping-max and caller-id-in-from should&nbsp;also&nbsp;have no effect on registration.</div>

<div><br></div><div>-Steve</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 6 April 2014 03:37, Snabel Kabiya <span dir="ltr">&lt;<a href="mailto:snabel@lexifone.com" target="_blank">snabel@lexifone.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Hi All,<br><br></div>I&#39;m still getting this error:<br>

<br>[ERR] sofia_reg.c:2110 DIDLogic Registration Failed with status Unauthorized [401]. failure #72 <br>
<div><div><div class="gmail_extra"><br></div>
<div class="gmail_extra">I&#39;ve looked at SIP trace and freeswitch logs but i can&#39;t figure out what&#39;s causing the registration failure. <br></div><div class="gmail_extra"><br></div><div class="gmail_extra">here is more info on the issue, i would really appreciate your help guys.<br>



<br></div><div class="gmail_extra"><u><b>Server: </b></u><br>Linux Ubuntu-1204-precise-64-minimal 3.5.0-34-generic #55~precise1-Ubuntu SMP Fri Jun 7 16:25:50 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux<br><br></div><div class="gmail_extra">



<u><b>freeswitch version:</b></u><br></div><div class="gmail_extra">FreeSWITCH Version 1.2.23+git~20140317T213443Z~769a03a629~64bit (git 769a03a 2014-03-17 21:34:43Z 64bit)<br><br><u><b>Gateway configuration:</b></u><br>


</div>
<div class="gmail_extra">&nbsp;&nbsp;&nbsp; &lt;gateway name=&quot;DIDLogic&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name=&quot;username&quot; value=&quot;username&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name=&quot;realm&quot; value=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;/&gt;<br>



&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name=&quot;password&quot; value=&quot;password&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;<br>



&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name=&quot;caller-id-in-from&quot; value=&quot;true&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name=&quot;sip_cid_type&quot; value=&quot;none&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name=&quot;ping&quot; value=&quot;30&quot;/&gt;<br>



&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;ping-max&quot; value=&quot;3&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/gateway&gt;<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><u><b><br>SIP trace:</b></u><br><br>2014-04-06 09:32:05.472850 [NOTICE] sofia_reg.c:423 Registering DIDLogic<br>



send 894 bytes to udp/[46.165.252.40]:5060 at 06:32:05.492557:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>&nbsp;&nbsp; REGISTER sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp SIP/2.0<br>



&nbsp;&nbsp; Via: SIP/2.0/UDP 144.76.98.11:5080;rport;branch=z9hG4bKUZ0p2Fjget1KN<br>&nbsp;&nbsp; Max-Forwards: 70<br>&nbsp;&nbsp; From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net" target="_blank">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>


&nbsp;&nbsp; To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net" target="_blank">sip:95299@sip.de.didlogic.net</a>&gt;<br>
&nbsp;&nbsp; Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>&nbsp;&nbsp; CSeq: 57892398 REGISTER<br>&nbsp;&nbsp; Contact: &lt;sip:gw+DIDLogic@144.76.98.11:5080;transport=udp;gw=DIDLogic&gt;<br>&nbsp;&nbsp; Expires: 3600<br>&nbsp;&nbsp; User-Agent: FreeSWITCH-mod_sofia/1.2.23+git~20140317T213443Z~769a03a629~64bit<br>



&nbsp;&nbsp; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>&nbsp;&nbsp; Supported: path, replaces<br>&nbsp;&nbsp; Authorization: Digest username=&quot;username&quot;, realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;U0DtvVNA7JFDwqn/iKN2y0i7jjJF/xDpK+45ZYA=&quot;, cnonce=&quot;tZUwATUmEjKDKHBU0sVf8A&quot;, algorithm=MD5, uri=&quot;sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp&quot;, response=&quot;8aaadef8769d2234def69a699c53f95c&quot;, qop=auth, nc=0000018e<br>



&nbsp;&nbsp; Content-Length: 0<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>recv 446 bytes from udp/[46.165.252.40]:5060 at 06:32:05.520506:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>



&nbsp;&nbsp; SIP/2.0 401 Unauthorized<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 144.76.98.11:5080;rport=5080;branch=z9hG4bKUZ0p2Fjget1KN<br>&nbsp;&nbsp; From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net" target="_blank">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>



&nbsp;&nbsp; To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net" target="_blank">sip:95299@sip.de.didlogic.net</a>&gt;;tag=b27e1a1d33761e85846fc98f5f3a7e58.437e<br>&nbsp;&nbsp; Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>&nbsp;&nbsp; CSeq: 57892398 REGISTER<br>



&nbsp;&nbsp; WWW-Authenticate: Digest realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;U0D2EVNA9OVIqS6bUrch5649kHnuK6PXK/Fii4A=&quot;, qop=&quot;auth&quot;<br>&nbsp;&nbsp; Content-Length: 0<br>


&nbsp;&nbsp; <br>
&nbsp;&nbsp; ------------------------------------------------------------------------<br>send 894 bytes to udp/[46.165.252.40]:5060 at 06:32:05.520845:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>



&nbsp;&nbsp; REGISTER sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp SIP/2.0<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 144.76.98.11:5080;rport;branch=z9hG4bKv8SF4a3KB3Q6g<br>&nbsp;&nbsp; Max-Forwards: 70<br>&nbsp;&nbsp; From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net" target="_blank">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>



&nbsp;&nbsp; To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net" target="_blank">sip:95299@sip.de.didlogic.net</a>&gt;<br>&nbsp;&nbsp; Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>&nbsp;&nbsp; CSeq: 57892399 REGISTER<br>&nbsp;&nbsp; Contact: &lt;sip:gw+DIDLogic@144.76.98.11:5080;transport=udp;gw=DIDLogic&gt;<br>



&nbsp;&nbsp; Expires: 3600<br>&nbsp;&nbsp; User-Agent: FreeSWITCH-mod_sofia/1.2.23+git~20140317T213443Z~769a03a629~64bit<br>&nbsp;&nbsp; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>&nbsp;&nbsp; Supported: path, replaces<br>



&nbsp;&nbsp; Authorization: Digest username=&quot;username&quot;, realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;U0D2EVNA9OVIqS6bUrch5649kHnuK6PXK/Fii4A=&quot;, cnonce=&quot;tZUwATUmEjKDKHBU0sVf8A&quot;, algorithm=MD5, uri=&quot;sip:<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>;transport=udp&quot;, response=&quot;3dc99375cf925ad9af145899dcf83b1a&quot;, qop=auth, nc=0000018f<br>



&nbsp;&nbsp; Content-Length: 0<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>recv 446 bytes from udp/[46.165.252.40]:5060 at 06:32:05.536657:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>



&nbsp;&nbsp; SIP/2.0 401 Unauthorized<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 144.76.98.11:5080;rport=5080;branch=z9hG4bKv8SF4a3KB3Q6g<br>&nbsp;&nbsp; From: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net" target="_blank">sip:95299@sip.de.didlogic.net</a>&gt;;tag=XK0KSD17jemDN<br>



&nbsp;&nbsp; To: &lt;<a href="mailto:sip%3A95299@sip.de.didlogic.net" target="_blank">sip:95299@sip.de.didlogic.net</a>&gt;;tag=b27e1a1d33761e85846fc98f5f3a7e58.b648<br>&nbsp;&nbsp; Call-ID: de332712-ba83-11e3-b33f-0dc96adc5bb0<br>&nbsp;&nbsp; CSeq: 57892399 REGISTER<br>



&nbsp;&nbsp; WWW-Authenticate: Digest realm=&quot;<a href="http://sip.de.didlogic.net" target="_blank">sip.de.didlogic.net</a>&quot;, nonce=&quot;U0D2EVNA9OUTYGscaPkV4MvAB1IDDtpQK/FjjIA=&quot;, qop=&quot;auth&quot;<br>&nbsp;&nbsp; Content-Length: 0<br>


&nbsp;&nbsp; <br>
&nbsp;&nbsp; ------------------------------------------------------------------------<br>2014-04-06 09:32:05.532842 [ERR] sofia_reg.c:2110 DIDLogic Registration Failed with status Unauthorized [401]. failure #72<br>2014-04-06 09:32:06.472844 [WARNING] sofia_reg.c:478 DIDLogic Failed Registration [904], setting retry to 2160 seconds.<br>



<br><br><br><div class="gmail_quote">On Thu, Apr 3, 2014 at 5:08 PM, Snabel Kabiya <span dir="ltr">&lt;<a href="mailto:snabel@lexifone.com" target="_blank">snabel@lexifone.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">



<div dir="ltr"><br><div class="gmail_extra">Hi Brian,<br><br></div><div class="gmail_extra">i know what the error means, but what i don&#39;t understand why i keep getting this error after i upgraded <span>freeswitch</span>.<br>




<br></div><div class="gmail_extra">i keep getting this error almost every day, I&#39;m not sure if i need to change some configuration or add new parameters to the gateway after i upgraded <span>freeswitch</span>.<br>
<br></div><div class="gmail_extra">what could cause it? please let me know if you need me to provide you with more info regarding the environment I&#39;m working on, or any <span>config.</span> files.<br><br>
</div><div class="gmail_extra">i really appreciate your help.<br><br></div><div class="gmail_extra">Thanks,<br></div><div class="gmail_extra"><span>Snabel</span> <br></div><div class="gmail_extra"><br></div>
<div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Apr 3, 2014 at 2:01 PM,  <span dir="ltr">&lt;<a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank"><span>freeswitch</span>-users-request@lists.<span>freeswitch</span>.org</a>&gt;</span> wrote:<br>




</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div>Send FreeSWITCH-users mailing list submissions to<br>


&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a><br>
<br>
You can reach the person managing the list at<br>
&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:freeswitch-users-owner@lists.freeswitch.org" target="_blank">freeswitch-users-owner@lists.freeswitch.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of FreeSWITCH-users digest...&quot;<br>
<br></div></div>Today&#39;s Topics:<br>
<br>
&nbsp; &nbsp;1. Re: [ERR] sofia_reg.c:2110 &quot;some gateway&quot; Registration Failed<br>
&nbsp; &nbsp; &nbsp; with status Unauthorized [401]. failure #37 (Brian West)<br>
&nbsp; &nbsp;2. Audio degrades ON TRANSFER with specific MOH file (Sean Devoy)<br>
&nbsp; &nbsp;3. gateway setup example ? (Jeremy Ardley)<br>
&nbsp; &nbsp;4. No audio stun for a long time! (rockxsj)<br>
&nbsp; &nbsp;5. any tutorial for using video call? (dwi yulianto)<br>
&nbsp; &nbsp;6. Re: can i make all log from console have date &nbsp; &nbsp; stamp (dwi yulianto)<br>
<br><br>---------- Forwarded message ----------<br>From:&nbsp;Brian West &lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;<br>To:&nbsp;FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>




Cc:&nbsp;<br>Date:&nbsp;Wed, 2 Apr 2014 21:23:52 -0500<br>Subject:&nbsp;Re: [Freeswitch-users] [ERR] sofia_reg.c:2110 &quot;some gateway&quot; Registration Failed with status Unauthorized [401]. failure #37<br>You have a gateway called &lsquo;some gateway&rsquo; thats failed to register.<br>





--<br>
Brian West<br>
<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a><br>
FreeSWITCH Solutions, LLC<br>
PO BOX 2531<br>
Brookfield, WI 53008-2531<br>
Twitter: @FreeSWITCH , @briankwest<br>
<a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
<a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br>
<br>
T: <a href="tel:%2B1.918.420.9001" value="+19184209001" target="_blank">+1.918.420.9001</a> &nbsp;| &nbsp;F: <a href="tel:%2B1.918.420.9002" value="+19184209002" target="_blank">+1.918.420.9002</a> &nbsp;| &nbsp;M: +1.918.424.WEST<br>
iNUM: <a href="tel:%2B883%205100%201420%209001" value="+883510014209001" target="_blank">+883 5100 1420 9001</a><br>
ISN: 410*543<br>
Skype:briankwest<br>
PGP Key: <a href="http://www.bkw.org/key.txt" target="_blank">http://www.bkw.org/key.txt</a> (AB93356707C76CED)<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Apr 2, 2014, at 8:56 AM, Snabel Kabiya &lt;<a href="mailto:snabel@lexifone.com" target="_blank">snabel@lexifone.com</a>&gt; wrote:<br>
<br>
&gt;<br>
&gt; [ERR] sofia_reg.c:2110 &quot;some gateway&quot; Registration Failed with status Unauthorized [401]. failure #37<br>
<br>
<br><br>---------- Forwarded message ----------<br>From:&nbsp;Sean Devoy &lt;<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>&gt;<br>To:&nbsp;&quot;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>




Cc:&nbsp;<br>Date:&nbsp;Thu, 3 Apr 2014 04:05:02 +0000<br>Subject:&nbsp;[Freeswitch-users] Audio degrades ON TRANSFER with specific MOH file<br>






<div bgcolor="white" background="cid:image001.gif@01CF4ED0.5C186360" link="#1F86FF" vlink="#005DC9" lang="EN-US">
<img src="cid:image001.gif@01CF4ED0.5C186360" style="width: 0px; min-height: 0px;" height="0" width="0">
<div>
<p class="MsoNormal"><span style="color:rgb(68,84,106)">Hi All,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(68,84,106)"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(68,84,106)">I have a user that has claimed that if she picks up incoming calls, the audio is excellent.&nbsp; However, if someone else picks up the call and transfers it to her, the audio is &ldquo;terrible&rdquo;.<u></u><u></u></span></p>





<p class="MsoNormal"><span style="color:rgb(68,84,106)"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(68,84,106)">While investigating I found that they are using their own custom MOH file.&nbsp; I suspect that the AUDIO configuration is being modified by the MOH feature and leaving her transferred call in a degraded state.&nbsp; But,
 I don&rsquo;t understand enough to actually see if that is the case.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(68,84,106)"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(68,84,106)">Please review the pastebin file:
<a href="http://pastebin.freeswitch.org/22302" target="_blank">http://pastebin.freeswitch.org/22302</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(68,84,106)"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(68,84,106)">I think I have trimmed it down to the relevant data.&nbsp; Ext 302 has answered and is just initiating the transfer.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(68,84,106)"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(68,84,106)">If I am correct in my hypothesis, what is the correct solution?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(68,84,106)"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(68,84,106)">Thanks in advance,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(68,84,106)">Sean<u></u><u></u></span></p>
</div>
</div>

<br><br>---------- Forwarded message ----------<br>From:&nbsp;Jeremy Ardley &lt;<a href="mailto:jeremy.ardley@gmail.com" target="_blank">jeremy.ardley@gmail.com</a>&gt;<br>To:&nbsp;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>




Cc:&nbsp;<br>Date:&nbsp;Thu, 03 Apr 2014 10:54:47 +0800<br>Subject:&nbsp;[Freeswitch-users] gateway setup example ?<br>
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    I&#39;m presently running a partial PBX using Kamailio and SEMS and I am
    interested in changing to freeswitch but I&#39;m a bit overwhelmed by
    the many configuration files. <br>
    <br>
    My present setup is an upstream gateway providing DID services and
    outgoing services based on my IP only - no authentication. My
    internal phone network is based on three digit extensions.<br>
    I need freeswitch to accept incoming DID calls and distributed them
    to mapped internal extensions - and take internal extension outgoing
    calls and send them as full national number calls via the upstream
    gateway.<br>
    <br>
    Is there a reference setup or tutorial somewhere that covers this
    scenario? <br>
    <br>
    Thanks,<br>
    <br>
    <div>-- <br>
      <font size="4">
        <font color="DarkCyan">Jeremy Ardley</font><br>
      </font></div>
  </div>

<br><br>---------- Forwarded message ----------<br>From:&nbsp;rockxsj &lt;<a href="mailto:rockxsj@gmail.com" target="_blank">rockxsj@gmail.com</a>&gt;<br>To:&nbsp;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>




Cc:&nbsp;<br>Date:&nbsp;Thu, 03 Apr 2014 14:11:16 +0800<br>Subject:&nbsp;[Freeswitch-users] No audio stun for a long time!<br>I can see that sometimes my server product some logs like:<br>
<br>
<br>
deb9157a-b9b1-11e3-8ee1-7b004e0e7c32 2014-04-02 00:03:44.083032 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
8c9f55cc-b9b8-11e3-9cca-7b004e0e7c32 2014-04-02 00:21:02.441130 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
a7801e9c-b9ba-11e3-9f47-7b004e0e7c32 2014-04-02 00:32:04.021509 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
a7801e9c-b9ba-11e3-9f47-7b004e0e7c32 2014-04-02 00:32:35.021902 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
a7801e9c-b9ba-11e3-9f47-7b004e0e7c32 2014-04-02 00:33:05.061286 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
a7801e9c-b9ba-11e3-9f47-7b004e0e7c32 2014-04-02 00:33:36.061678 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
a7801e9c-b9ba-11e3-9f47-7b004e0e7c32 2014-04-02 00:34:06.101062 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
a7801e9c-b9ba-11e3-9f47-7b004e0e7c32 2014-04-02 00:34:37.101453 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
a7801e9c-b9ba-11e3-9f47-7b004e0e7c32 2014-04-02 00:35:07.121681 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
a7801e9c-b9ba-11e3-9f47-7b004e0e7c32 2014-04-02 00:35:37.161065 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
a7801e9c-b9ba-11e3-9f47-7b004e0e7c32 2014-04-02 00:36:08.161457 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
74c1f71e-b9fb-11e3-bbbd-7b004e0e7c32 2014-04-02 08:14:35.502605 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
c323e07a-b9fb-11e3-bc46-7b004e0e7c32 2014-04-02 08:15:02.921673 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
fa17e09a-b9fb-11e3-bd18-7b004e0e7c32 2014-04-02 08:16:35.121138 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
fa17e09a-b9fb-11e3-bd18-7b004e0e7c32 2014-04-02 08:17:06.121531 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
43945544-ba03-11e3-8df9-7b004e0e7c32 2014-04-02 09:09:08.621875 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
05e67bae-ba09-11e3-a24c-7b004e0e7c32 2014-04-02 09:50:28.321208 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
b151ab62-ba09-11e3-a4da-7b004e0e7c32 2014-04-02 09:58:45.491465 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
552384de-ba0c-11e3-afc5-7b004e0e7c32 2014-04-02 10:14:03.691235 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
04bc9112-ba0b-11e3-aabc-7b004e0e7c32 2014-04-02 10:16:39.392036 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
04bc9112-ba0b-11e3-aabc-7b004e0e7c32 2014-04-02 10:17:37.411787 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
04bc9112-ba0b-11e3-aabc-7b004e0e7c32 2014-04-02 10:18:07.431169 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
2e316a40-ba10-11e3-8076-7b004e0e7c32 2014-04-02 10:41:28.251996 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
7396150e-ba10-11e3-8186-7b004e0e7c32 2014-04-02 10:43:24.291472 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
388ba6ac-ba12-11e3-8801-7b004e0e7c32 2014-04-02 10:56:48.411568 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
5c7c26d8-ba10-11e3-8125-7b004e0e7c32 2014-04-02 11:10:06.051664 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
5c7c26d8-ba10-11e3-8125-7b004e0e7c32 2014-04-02 11:10:36.091046 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
5c7c26d8-ba10-11e3-8125-7b004e0e7c32 2014-04-02 11:11:06.111419 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
5c7c26d8-ba10-11e3-8125-7b004e0e7c32 2014-04-02 11:11:37.111820 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
5c7c26d8-ba10-11e3-8125-7b004e0e7c32 2014-04-02 11:12:07.151202 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
5c7c26d8-ba10-11e3-8125-7b004e0e7c32 2014-04-02 11:12:38.151594 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
5c7c26d8-ba10-11e3-8125-7b004e0e7c32 2014-04-02 11:13:08.190977 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
5c7c26d8-ba10-11e3-8125-7b004e0e7c32 2014-04-02 11:13:39.191370 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
5c7c26d8-ba10-11e3-8125-7b004e0e7c32 2014-04-02 11:14:10.191752 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
abb38326-ba16-11e3-9cb0-7b004e0e7c32 2014-04-02 11:27:40.391902 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
75cee1e2-ba1b-11e3-b14f-7b004e0e7c32 2014-04-02 12:01:57.731915 [ERR]<br>
switch_rtp.c:749 No audio stun for a long time!<br>
<br>
My server is not behind firewall or router, I want know why the<br>
freeswitch still product these logs? Is something wong with my config?<br>
<br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From:&nbsp;dwi yulianto &lt;<a href="mailto:dwiyulianto.anto@gmail.com" target="_blank">dwiyulianto.anto@gmail.com</a>&gt;<br>To:&nbsp;FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>




Cc:&nbsp;<br>Date:&nbsp;Thu, 3 Apr 2014 17:56:43 +0700<br>Subject:&nbsp;[Freeswitch-users] any tutorial for using video call?<br><div dir="ltr"><div><div><div>i try use freeswitch with video call, <br></div>i already added video codec in vars.xml, but i still cant use video call with linphone as softphone, i am already checked &quot;always start video&quot; in linphone setting<br>





<br></div>is there any other configuration for enable video feature in freeswitch?<br><br></div>thanks.<br></div>
<br><br>---------- Forwarded message ----------<br>From:&nbsp;dwi yulianto &lt;<a href="mailto:dwiyulianto.anto@gmail.com" target="_blank">dwiyulianto.anto@gmail.com</a>&gt;<br>To:&nbsp;FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>




Cc:&nbsp;<br>Date:&nbsp;Thu, 3 Apr 2014 18:01:12 +0700<br>Subject:&nbsp;Re: [Freeswitch-users] can i make all log from console have date stamp<br><div dir="ltr"><div>thanks all for reply,<br><br></div>i will try to ask that to developer.<br>




</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 3, 2014 at 12:07 AM, William King <span dir="ltr">&lt;<a href="mailto:william.king@quentustech.com" target="_blank">william.king@quentustech.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">If you file a feature request for a freeswitch event to be fired when a<br>


new TLS connection is made, one of the developers might be able to look<br>
into adding that functionality. Then you would be able to hook in<br>
mod_fail2ban and log the events you are looking to have watched by fail2ban.<br>
<br>
William King<br>
Senior Engineer<br>
Quentus Technologies, INC<br>
1037 NE 65th St Suite 273<br>
Seattle, WA 98115<br>
Main: &nbsp; <a href="tel:%28877%29%20211-9337" value="+18772119337" target="_blank">(877) 211-9337</a><br>
Office: <a href="tel:%28206%29%20388-4772" value="+12063884772" target="_blank">(206) 388-4772</a><br>
Cell: &nbsp; <a href="tel:%28253%29%20686-5518" value="+12536865518" target="_blank">(253) 686-5518</a><br>
<a href="mailto:william.king@quentustech.com" target="_blank">william.king@quentustech.com</a><br>
<div><br>
On 04/02/2014 03:29 AM, dwi yulianto wrote:<br>
&gt; sorry, i mean ssl dos.<br>
&gt;<br>
&gt; if i use that, that give cpu activity increase to 100%.<br>
&gt;<br>
&gt; i want to make that log so i can use fail2ban to ban source IP attacker<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Apr 2, 2014 at 5:02 PM, dwi yulianto &lt;<a href="mailto:dwiyulianto.anto@gmail.com" target="_blank">dwiyulianto.anto@gmail.com</a><br>
</div><div>&gt; &lt;mailto:<a href="mailto:dwiyulianto.anto@gmail.com" target="_blank">dwiyulianto.anto@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; i try &nbsp;ssh dos and that give log in tport. but log about tport tls<br>
&gt; &nbsp; &nbsp; didnt have any data/time stamp.<br>
&gt;<br>
&gt; &nbsp; &nbsp; maybe if i can make that log into date/time stamp i can make regex<br>
&gt; &nbsp; &nbsp; for fail2ban to find log when attacker give new connection in tls<br>
&gt; &nbsp; &nbsp; eventually.<br>
&gt;<br>
&gt; &nbsp; &nbsp; am i need to change in tport_type_tls.c in line about SU_DEBUG_5<br>
&gt; &nbsp; &nbsp; that have part with &quot;new connection from &quot; &nbsp; and change that with<br>
&gt; &nbsp; &nbsp; switch_log_printf. but actually i dont really understand about C. so<br>
&gt; &nbsp; &nbsp; how i can change that with switch_log_printf?<br>
&gt;<br>
&gt; &nbsp; &nbsp; Thanks<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; On Wed, Apr 2, 2014 at 3:35 PM, Steven Ayre &lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a><br>
</div><div>&gt; &nbsp; &nbsp; &lt;mailto:<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Sofia stack logging is extremely verbose, far more so than you<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; want to run in production. Doing so will likely hurt the<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; performance of your system due to too much disk I/o<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; What&#39;re you looking to capture?<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; FS already has log messages for auth failures for fail2ban to match<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; On Tuesday, April 1, 2014, dwi yulianto<br>
</div>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;<a href="mailto:dwiyulianto.anto@gmail.com" target="_blank">dwiyulianto.anto@gmail.com</a> &lt;mailto:<a href="mailto:dwiyulianto.anto@gmail.com" target="_blank">dwiyulianto.anto@gmail.com</a>&gt;&gt;<br>





<div>&gt; &nbsp; &nbsp; &nbsp; &nbsp; wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i wanna make log from tport.c in console or in log file with<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; date stamp, so i can use it for fail2ban.<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; thanks.<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; _________________________________________________________________________<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Professional FreeSWITCH Consulting Services:<br>
</div>&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>&gt;<br>
<div>&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Official FreeSWITCH Sites<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; FreeSWITCH-users mailing list<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
</div>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
<div><div>&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div></blockquote></div><br></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></blockquote></div><br></div></div>
</blockquote></div><br></div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></blockquote></div><br></div></div>