<div dir="ltr"><div><div><div><div>In future pls use pastebin to upload logs, instead of attaching them to emails! These days people check mails on tablets etc., so large attachments become a problem for them :-) ! Also, might be better to run this in an independent thread and not use the existing threads.<br>
<br></div>I see this:<br>2013-08-25 12:27:03.563390 [DEBUG] mod_gsmopen.cpp:1598 rev 4a3d1a0|4a3d1a0[(nil)|37 ][DEBUG_GSMOPEN 1598 ][gsm01 ][-1, 0, 0] controldevice_name=/dev/ttyUSB3<br>2013-08-25 12:27:03.563390 [DEBUG] mod_gsmopen.cpp:1599 rev 4a3d1a0|4a3d1a0[(nil)|37 ][DEBUG_GSMOPEN 1599 ][gsm01 ][-1, 0, 0] controldevice_audio_name=/dev/ttyUSB2<br>
2013-08-25 12:27:03.563390 [DEBUG] mod_gsmopen.cpp:1601 rev 4a3d1a0|4a3d1a0[(nil)|37 ][DEBUG_GSMOPEN 1601 ][gsm01 ][-1, 0, 0] gsmopen_serial_sync_period=300<br>2013-08-25 12:27:03.563390 [ERR] gsmopen_protocol.cpp:137 rev 4a3d1a0|4a3d1a0[(nil)|37 ][ERRORA 137 ][gsm01 ][-1, 0, 0] port /dev/ttyUSB3, NOT open<br>
<br></div>What does: "ls -l /dev/ttyUSB*" tell you ?<br></div>I presume that you are running FreeSwitch as a root, or as a user that has been added to sudoers or similar logic to achieve root privileges at run time ?<br>
</div>Also, did you try "wvdialconf /etc/wvdial.conf" as root ? It'll tell you which ports are modem ports (i.e. control ports... as against voice ports -- USB bulk transfer) ?<br><div><div><div><div><br></div>
</div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 25, 2013 at 12:44 PM, Ashish Mishra <span dir="ltr"><<a href="mailto:itsme.kunnu@gmail.com" target="_blank">itsme.kunnu@gmail.com</a>></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 jayanath <div>i am attaching the error as well as the console log which i see when i load mod_gsmopen in freeswitch.</div>
<div>i typed the commands:</div><div>console loglevel 9</div><div>fsctl loglevel 9</div>
<div>load mod_gsmopen</div><div><br></div><div>after which the log that i received is attached in log file and the error which was in red is attached in error file respectively.</div><div><br></div><div>thanks</div><span class="HOEnZb"><font color="#888888"><div>
Ashish Mishra</div>
</font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 25, 2013 at 10:17 AM, Jayanth Acharya <span dir="ltr"><<a href="mailto:jayachar88@gmail.com" target="_blank">jayachar88@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Maybe, if you share what exactly you have tried, what worked/didn't work, with the relevant FS log messages... like I mentioned earlier, I could try to take a look.<br>
</div>To be honest, I don't think I have encountered a very difficult problem with FS so far, so I don't think I had to do much... of course, apart from the 2 different instances of segmentation faults.<br>
<br>PS> I created a 3rd JIRA as well, for the 2nd segmentation fault.. but I don't think you are facing seg faults.<br><br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sun, Aug 25, 2013 at 10:14 AM, Jayanth Acharya <span dir="ltr"><<a href="mailto:jayachar88@gmail.com" target="_blank">jayachar88@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sorry, but I don't think I understood the question. The Airtel SIM card I am using is a 32K standard issues SIM card. Already enabled for everything. I knew that it doesn't have a PIN enabled, which I believe is the only requirement. The SIM has the IMSI associated with it. The dongle has the IMEI associated with it. I just set up the standard gsmopen.conf.xml to set the right /dev/ttyUSBx's -- figuring that out correctly, took a while... for which I refer to a mail on this list around use of wvdial (search the archives, as I've not kept a bookmark on it). Rest everything was taken care of by FS.<br>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 25, 2013 at 2:02 AM, Ashish Mishra <span dir="ltr"><<a href="mailto:itsme.kunnu@gmail.com" target="_blank">itsme.kunnu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Thanks jayanath<br>
But i mean how to enable the sim u had used in the dongle for making calls through mod_gsmopen make and receive calls ?</p>
<p>Regards<span><font color="#888888"><br>
Ashish Mishra</font></span></p><div><div>
<div class="gmail_quote">On Aug 25, 2013 1:21 AM, "Jayanth Acharya" <<a href="mailto:jayachar88@gmail.com" target="_blank">jayachar88@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div>Using the default dialplan. I have only 1 dongle at the moment, so doing a telephone -> telephone mapping won't work (well, at least, based on what I've understood so far -- I could be wrong). Tomorrow, I plan to walk through the dialplan to understand it somewhat better. My eyes don't take XML too kindly !!<br>
<br></div>As such no significant changes. The only few hiccups to build, and the previous segfault I got, I filed a JIRA for, and that has the steps I took and my preliminary findings.<br><a href="http://jira.freeswitch.org/browse/FS-5721" target="_blank">http://jira.freeswitch.org/browse/FS-5721</a><br>
<a href="http://jira.freeswitch.org/browse/FS-5727" target="_blank">http://jira.freeswitch.org/browse/FS-5727</a><br><br></div>I used a trick I found in the mail archives to use "wvdial" to identify the control port. After that, set the usb ports for control/audio correctly in the gsmopen.conf.xml file. After this the module started getting loaded properly, but I noticed that the signal strength was too low. Post that, I had to use a long USB extension cable to keep the dongle outside the window, and ensured that signal strength (RSSI) was good enough. After this, the rig started working.<br>
<div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 25, 2013 at 12:31 AM, Ashish Mishra <span dir="ltr"><<a href="mailto:itsme.kunnu@gmail.com" target="_blank">itsme.kunnu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hi jaynath<br>
May i ask you what what was was the dialplan which you had used to call <any indian phone number> to <any indian phone number> in your mod_gsmopen. Also what did you do with error u received day before yesterday....???</p>
<p>Regards<span><font color="#888888"><br>
Ashish Mishra</font></span></p>
<div class="gmail_quote"><div><div>On Aug 25, 2013 12:05 AM, "Jayanth Acharya" <<a href="mailto:jayachar88@gmail.com" target="_blank">jayachar88@gmail.com</a>> wrote:<br type="attribution"></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr"><div>Finally, found success with mod_gsmopen. Have to say that there's a tonne of information in the Wiki, and it takes a newbie some time to get to understand even the elementary things. Jumping right in, assuming defaults to take care of everything, doesn't work. I believe that was thanks to being connected to the conference bridge <a href="mailto:888@sip.freeswitch.net" target="_blank">888@sip.freeswitch.net</a> (if I noted the SIP URI correctly).Next tried another inbound call, and this time, I heard only silence.<br>
<br></div><div>Then I tried sending an SMS. That went out fine and was received instantaneously by the destination number. After that, I replied back to the dongle's number, and had a telnet session open listening on the events (none arrived), but that telnet session was closed, and turning to the FS console, I saw that it too had closed with a segmentation fault. So seems like receiving the SMS precipitated a core.<br>
<br></div><div>Anyone seen similar behaviour ? Should I go ahead an file another JIRA bugreport ? File one yesterday regarding another segmentation fault. Note, I am on Git HEAD (or was, day before, when I cloned it).<br>
<br></div><div>thanks,<br></div><div>Jay<br></div></div>
<br></div></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>
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></div></blockquote></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>
<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>
</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></div></blockquote></div><br></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></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>
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">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>