<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Guys!<div>Today I found some email has been put as SPAM by Gmail and I wonder if someone else answered to my question and I lost the email...</div><div><br></div><div>Thanks Antony for your answer, I will send the trace to check if I got the ACK or not.</div><div>And then it doesn't happen all days to get an answer from the FATHER of FS, I never imagined something like that! Thank you so much!</div><div><br></div><div>Max</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><div>Il giorno 03/set/2014, alle ore 22:07, Anthony Minessale ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Did you look at the whole sip trace? &nbsp;This sounds like a typical missing ack scenario.<div>Sometimes the Contact in one of the packets or other routing issues cause the other end to send the ack to the wrong place.</div>
<div>When the sip stack doesn't get the ack, it aborts the call even though media was up.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 2:15 PM, <a href="mailto:mvar78@gmail.com">mvar78@gmail.com</a> <span dir="ltr">&lt;<a href="mailto:mvar78@gmail.com" target="_blank">mvar78@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi Guillermo!<br>
On normal behaviours I can accept the cause 19 that is "no user responding (user alerted)" because actually your phone ringed for a prolonged time and you didn't answer. <br>
Instead, the timeout is not so "nice" to give back as it means that the outbound carrier some way didn't managed the call.. <br>
And then my inbound IP can't make accurate rerouting caused by the timeout. </p><p dir="ltr">I think that an alternative could be recompile fs making appropriate chAnges into the source, but I need some hints where... <br>
</p><div class="HOEnZb"><div class="h5">
<div>On 03/set/2014 19:42, Guillermo Ruiz Camauer &lt;<a href="mailto:grcamauer@gmail.com" target="_blank">grcamauer@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I have gotten&nbsp;<span style="font-family:arial,sans-serif;font-size:13px">RECOVERY_ON_TIMER_EXPIRE cause (IDSN 102) from my provider by just letting the phone ring for too long (and no answering service). &nbsp;Could that be the cause?</span><div>

<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Guillermo</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Wed, Sep 3, 2014 at 9:44 AM, Massimo Varriale <span dir="ltr">&lt;<a href="mailto:mvar78@gmail.com" target="_blank">mvar78@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Hi Brian,<div>thanks for answering me!<br><div>Actually I'm sure (or better quite sure) it's not something related to NAT as all the end points are using plain public IP addresses.</div><div>They are some dedicated servers under OVH provider and they just use IPTABLES and FS ACL for allowing communications each other (this means no hard-FW)</div>


<div><br></div><div>The scenario could be easily explained like this:</div><div>Inbound (Public) + My FS 1.4 (Public) + Outbound (TELES Switch with Public IP Voip Card + PSTN E1 Interconnections)</div><div><br></div><div>


And also the FS is started with option -nonat, does this affect ?</div><div><br></div><div>Thank you so much</div></div><div>Max</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-09-03 14:34 GMT+02:00 Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;</span>:<div>

<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13.3333339691162px">RECOVERY_ON_TIMER_EXPIRE usually means you have a NAT issue, can you clarify your signaling paths?</span><br>


</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 6:01 AM, Massimo Varriale <span dir="ltr">&lt;<a href="mailto:mvar78@gmail.com" target="_blank">mvar78@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">Hi All!<div>This is my first question...and what question...</div><div>I'm a skilled developer and I'm almost familiar with telephony in general since it's 15 years experience in telco companies.&nbsp;However I'm still facing a problem I couldn't find any solution yet and i hope someone could help in finding a solution</div>



<div><br></div><div><br></div><div>As my present company can't afford an expensive soft switch I'm using <b>Freeswitch 1.4</b> with a simple <b>dialplan.xml</b> and some scripts to load <b>CDRs into mysql</b> to send incoming calls to my remote peers. At present the live traffic is only <b>1 incoming IP</b> &nbsp;and <b>1 outgoing peer</b>, quite easy.</div>



<div><br></div><div>On some calls I'm getting "408&nbsp;Request Timeout" and FS is giving me a&nbsp;RECOVERY_ON_TIMER_EXPIRE cause (IDSN 102). The problem is that as most of the switches are not able to make automatic rerouting based on this cause and so, I will like to use instead the ISDN Cause 18 (I suppose "480 Temporarily unavailable").</div>



<div>Is this possible?</div><div><br></div><div><br></div><div>I've used this snippet of code that use another relcause but with same concept (taken as is and pasted into the dialplan) but doesn't work as the 408 is given after 183.</div>



<div><br></div><div><div><font face="Courier"><span style="white-space:pre-wrap">                </span> &nbsp;&lt;extension name="AllDestinations_Inbound"&gt;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">                        </span> &lt;condition field="destination_number" expression="^"&gt;</font></div>



<div><font face="Courier"><span style="white-space:pre-wrap">                        </span> &lt;condition field="network_addr" expression="^154\.48\.198\.190$"/&gt;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">                        </span> &nbsp; &lt;action application="set" data="hangup_after_bridge=true"/&gt;</font></div>



<div><font face="Courier"><span style="white-space:pre-wrap">                        </span> &nbsp; &lt;action application="set" data="continue_on_fail=19"/&gt;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">                        </span> &nbsp; &lt;action application="bridge" data="sofia/gateway/remote_outbound_peer/${destination_number}"/&gt;</font></div>



<div><font face="Courier"><span style="white-space:pre-wrap">                        </span> &nbsp; &lt;action application="transfer" data="408to503"/&gt;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">                        </span> &lt;/condition&gt;</font></div>



<div><font face="Courier"><span style="white-space:pre-wrap">                </span> &nbsp; &lt;/extension&gt;<span style="white-space:pre-wrap">                                </span> &nbsp;&nbsp;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">                </span> &nbsp; &lt;!--ISDN CAU 34 --&gt;</font></div>



<div><font face="Courier"><span style="white-space:pre-wrap">                </span> &nbsp; &lt;extension name="408to503"&gt;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">                        </span> &lt;condition field="${proto_specific_hangup_cause}" expression="&lt;a href="<a>sip:408</a>"&gt;sip:408"&gt;</font></div>



<div><font face="Courier"><span style="white-space:pre-wrap">                        </span> &nbsp; &lt;action application="set" data="sip_ignore_remote_cause=true"/&gt;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">                        </span> &nbsp; &lt;action application="respond" data="503"/&gt;</font></div>



<div><font face="Courier"><span style="white-space:pre-wrap">                        </span> &nbsp; &lt;action application="hangup" data="NORMAL_CIRCUIT_CONGESTION"/&gt;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">                        </span> &lt;/condition&gt;</font></div>



<div><font face="Courier"><span style="white-space:pre-wrap">                </span> &nbsp; &lt;/extension&gt; &nbsp;&nbsp;</font></div><div><font face="Courier"><span style="white-space:pre-wrap">        </span></font></div></div><div><br></div><div><br></div>



<div><br></div><div><div>How to correctly remap causes?</div></div><div>If there is no way to change normal behaviour, do you think could be possible also to change the source code and recompile FS accordly?</div><div><br>



</div><div><br></div><div>Thank yo so much and sorry for this long post</div><div>I hope someone could help</div><div>Max</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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org/" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.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>
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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p><p><font size="1" face="courier new, monospace"><img src="http://bkw.org/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><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></font></p><p><font face="courier new, monospace"><b>T:</b><a href="tel:%2B19184209001" value="+19184209001" target="_blank">+19184209001</a> | <b>F:</b><a href="tel:%2B19184209002" value="+19184209002" target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST (9378)<br>
<b>iNUM:</b>+883 5100 1420 9001 |&nbsp;<b>ISN:</b>410*543 |&nbsp;<b>Skype:</b>briankwest</font></p></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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org/" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.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>
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></blockquote></div></div></div><br></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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org/" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.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>
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></blockquote></div><br><br clear="all"><div><br></div>-- <br>Guillermo Ruiz Camauer<br>
</div>
</blockquote></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org/" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.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>
FreeSWITCH-users mailing list<br>
<a 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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Anthony Minessale II &nbsp; &nbsp; &nbsp; ♬ @anthmfs&nbsp;&nbsp;♬ @FreeSWITCH&nbsp;&nbsp;♬<div>
<br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> &nbsp;☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> &nbsp;☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div>
<div><div>☞ <a href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a> #freeswitch&nbsp;☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call&nbsp;<br>
</div><div>☎&nbsp;<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> &nbsp;☎ +19193869900&nbsp;</div><div><br></div></div></div></div>
</div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services: <br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://confluence.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org</blockquote></div><br></div></body></html>