<div dir="ltr"><div><div>today i tried to test gsmopen it has many problums, gsmopen has lack of reconnect to modem and modem is marked as dead instead of disconnect and try to reconnect, <br></div> i have also tested asterisk  module chan_dongle which works great(it has function to test modem every 10 secon with AT command andif no reply then disconnect it and reconnect again ) and i have no disconnection with that module same cpu same hardware same OS, but i want to test  module gsmopen  for voice quality,  gsmopen needs some patches to work fine<br></div> , if anyone make patches it will be great<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 29, 2015 at 11:07 AM, Sergey Safarov <span dir="ltr">&lt;<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@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">I thinking following device cannot be removed<div><div>/dev/ttyU3.3</div><div>/dev/ttyU3.3.init</div><div>/dev/ttyU3.3.lock</div></div><div>It is exist because GSM device exist (/dev/ttyU3.3) in the system and must be controlled (restarted, reinited, disabled, /dev/ttyU3.3.init) and device is opened (/dev/ttyU3.3.lock)</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Mar 29, 2015 at 2:05 AM, Luiz Fernando Softov <span dir="ltr">&lt;<a href="mailto:fernando@softov.com.br" target="_blank">fernando@softov.com.br</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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/" target="_blank">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><span><font color="#888888"><pre style="color:rgb(0,0,0)"><br></pre><div><br></div>-- <br><div><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>
</font></span></div></div>
<br></div></div>_________________________________________________________________________<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-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></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-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></div>