<div dir="ltr"><font face="monospace, monospace">Hi<br><br><br></font><div><font face="monospace, monospace">***** - Enable coredump <a href="http://blog.urdada.net/2007/12/31/71/">http://blog.urdada.net/2007/12/31/71/</a><br>***** - Find it after next crash<br>***** - Analyze coredump<br><br>First, when i say crash, it&#39;s a panic in USB, not a crach of daemon/executable. This is because Freeswitch/GsmOpen is attached in TTY and lock the TTY, blocking other processes to manage USB (tty).</font></div><div><font face="monospace, monospace"><br></font></div><div><pre style="color:rgb(0,0,0)"><font face="monospace, monospace"><span style="color:rgb(34,34,34)">*****</span><span style="color:rgb(34,34,34)"> </span>Find what is calling USB modem power off and disable it.
<span style="color:rgb(34,34,34);white-space:normal">***** </span>No poweroff, no error.</font></pre><pre style="color:rgb(0,0,0)"><span style="font-family:monospace,monospace">Some modems power off and power on again, i try to find what is causing this error, w</span><span style="font-family:monospace,monospace">ithout success. Maybe some errors in power suply or modem just reset, because i try it with 4, 10, 20 and 30 modems, and the problem persists.
</span>
In my search, google and other forums, i found someone talking about modem resetting for own. </pre><pre style="color:rgb(0,0,0)"><font face="monospace, monospace">Sometimes the user wan&#39;t to change de SIM in modem, and remove it and put it again, without make a dettach in my interface/system.</font></pre><pre style="color:rgb(0,0,0)"><font face="monospace, monospace">Or if he not remove the modem and just change de SIM (o.O), its a request of many users of my system using E303 or other modems.<br></font></pre><pre style="color:rgb(0,0,0)"><span style="font-family:monospace,monospace">I identify this, because i&#39;m attached in ttyU0.0, ang get event im my source or a CME-ERROR 10, if modem just changed SIM, then i reset the modem with AT command ^RESET.</span><br></pre><pre style="color:rgb(0,0,0)"><font face="monospace, monospace"><br></font></pre><pre style="color:rgb(0,0,0)"><font face="monospace, monospace">I&#39;m using mod_xml_curl to get interfaces info, and ESL events to manage this... Then i make a &quot;gsm remove xxxx&quot; and when modem arrive i make a &quot;gsm reload&quot;. <br></font></pre><pre style="color:rgb(0,0,0)"><font face="monospace, monospace">This way not affect the calls in progress.</font></pre><pre style="color:rgb(0,0,0)"><font face="monospace, monospace"><br></font></pre><pre style="color:rgb(0,0,0)"><font face="monospace, monospace">I talk with <span style="color:rgb(34,34,34);font-size:12.8000001907349px">Shlomi Agiv, and apply some functions of his </span>patch<span style="font-size:12.8000001907349px;color:rgb(34,34,34)">, now i&#39;m just making tests....</span></font></pre><pre style="color:rgb(0,0,0)"><br></pre><pre style="color:rgb(0,0,0)">Now i&#39;m having some problems, just when i call a &quot;gsm remove&quot; in ESL, its stop to reply, even when i send other command, like &quot;sofia status&quot;. It&#39;s the same when i send command with fs_cli...</pre><pre style="color:rgb(0,0,0)"><pre><br></pre></pre><pre style="color:rgb(0,0,0)"><font face="monospace, monospace">Before ask, i make some debugs, change source, put log and other things..</font></pre><pre style="color:rgb(0,0,0)"><font face="monospace, monospace">I ask, because some times other people have the same problem!</font></pre><pre style="color:rgb(0,0,0)"><pre><font face="monospace, monospace">Thanks for the reply...</font></pre></pre><pre style="color:rgb(0,0,0)"><br></pre><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Luiz Fernando Softov<br><a href="http://www.softov.com.br/" target="_blank">http://www.softov.com.br</a><br><a href="mailto:fernando@softov.com.br" target="_blank">fernando@softov.com.br</a><br></div></div>
</div></div>