<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 24, 2022 at 12:27 AM Sean Devoy <<a href="mailto:sdevoy@bizfocused.com">sdevoy@bizfocused.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="gmail-m_-8809267653675617182WordSection1">
<p class="MsoNormal"> <br></p><p class="MsoNormal"><u></u></p>
<p class="MsoNormal">I have debug level FS logs. There are so many lines it is difficult to follow a single call.<u></u><u></u></p>
<p class="MsoNormal"><u></u> </p></div></div></blockquote><div><br></div><div>Do you have the logs related to the capture file? </div><div>If yes, then search for the Call-IDs of the troubled call:<br></div><div><br></div><div>Leg1:<br>Call-ID: <a href="mailto:f0544e98-378154a6@192.168.2.111">f0544e98-378154a6@192.168.2.111</a> <br><br>Leg2:</div><div>Call-ID: 26e3398f-0e97-123b-3b83-16f3d912a996<br></div><div><br></div><div>For example, I did a test call with </div><div> Call-ID: 090abe39-188c-4f06-b371-e8ffe3d862f8</div><div>So I grepped the freeswitch.log file with:</div><div><br></div><div>[root@lab002 ~]$ grep 090abe39-188c-4f06-b371-e8ffe3d862f8 /usr/local/freeswitch/log/freeswitch.log<br>4b860aaf-b481-4e26-8886-37321c2fc3f3 2022-02-24 06:49:17.131915 [INFO] sofia.c:10414 sofia/external_in/<a href="mailto:123412341234@test.com">123412341234@test.com</a> receiving invite from <a href="http://127.0.0.1:5060">127.0.0.1:5060</a> version: 1.10.7-dev git dd24113 2021-08-25 17:37:19Z 64bit call-id: 090abe39-188c-4f06-b371-e8ffe3d862f8<br></div><div><br></div><div>The 4b860aaf-b481-4e26-8886-37321c2fc3f3 above is the channel uuid (the unique identifier of the channel in freeswitch).</div><div>The freeswitch log file will include that channel uuid in all log lines related to that channel.</div><div>So you can grep your freeswitch.log file for it.</div><div><br></div><div>If no clue about the problem is found, do the same for the other leg.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US" style="overflow-wrap: break-word;"><div class="gmail-m_-8809267653675617182WordSection1"><p class="MsoNormal"><u></u></p>
<p class="MsoNormal">This happens are about 50% of ALL calls.<u></u><u></u></p>
<p class="MsoNormal">Here is the dial plan:<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">extension</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">name</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">ten_or
eleven_digiti_dial</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue"> ></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">condition</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">field</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">destination_number</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">expression</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">^(?:1|\+1)?([2-9]\d\d[2-9]\d{6})$</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">set</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">ringback=${us-ring}</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">set</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">effective_caller_id_number=${outbound_caller_id_number}</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">set</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">ani=${outbound_caller_id_number}</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">set</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">origination_caller_id_number=${outbound_caller_id_number}</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">set</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">effective_caller_id_name=REDACTED</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">set</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=<a href="mailto:sip_from_uri=$%7boutbound_caller_id_number%7d@64.136.173.30" target="_blank">sip_from_uri=${outbound_caller_id_number}@</a>REDACTED/></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">set</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">sip_from_user=${outbound_caller_id_number}</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">set</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">sip_from_host=REDACTED</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">set</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">sip_h_X-CID=${sip_call_id}</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">set</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">continue_on_fail=true</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">set</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">hangup_after_bridge=true</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">set</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">sip_h_X-CID=${sip_call_id}</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">bridge_export</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">hold_music=/etc/freeswitch/recordings/REDACTED-moh.wav</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">action</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">bridge</span><span style="font-size:9.5pt;font-family:Consolas;color:black">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">data</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=<a href="mailto:%7bsip_from_uri=$%7boutbound_caller_id_number%7d@64.136.173.30,sip_from_user=$%7boutbound_caller_id_number%7d,sip_from_host=64.136.173.30%7dsofia/gateway/voip-innovations-outbound/1$1" target="_blank">{sip_from_uri=${outbound_caller_id_number}@REDACTED,sip_from_user=${outbound_caller_id_number},sip_from_host=REDACTED}sofia/gateway/voip-innovations-outbound/1$1</a>/></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> </</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">condition</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> </</span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(163,21,21)">extension</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <br></p></div></div></blockquote><div><br></div><div>OK. So there is nothing setting an answer timeout (so it would default to 60 seconds).</div><div>The variable controlling it would be this one:</div><div> <a href="https://freeswitch.org/confluence/display/FREESWITCH/call_timeout">https://freeswitch.org/confluence/display/FREESWITCH/call_timeout</a></div><div><br></div><div><br></div><div> </div></div></div>