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. I see this: 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 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 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 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 What does: "ls -l /dev/ttyUSB*" tell you ? 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 ? 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) ? On Sun, Aug 25, 2013 at 12:44 PM, Ashish Mishra <itsme.kunnu@gmail.com>wrote:
hi jayanath i am attaching the error as well as the console log which i see when i load mod_gsmopen in freeswitch. i typed the commands: console loglevel 9 fsctl loglevel 9 load mod_gsmopen
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.
thanks Ashish Mishra
On Sun, Aug 25, 2013 at 10:17 AM, Jayanth Acharya <jayachar88@gmail.com>wrote:
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. 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.
PS> I created a 3rd JIRA as well, for the 2nd segmentation fault.. but I don't think you are facing seg faults.
On Sun, Aug 25, 2013 at 10:14 AM, Jayanth Acharya <jayachar88@gmail.com>wrote:
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.
On Sun, Aug 25, 2013 at 2:02 AM, Ashish Mishra <itsme.kunnu@gmail.com>wrote:
Thanks jayanath But i mean how to enable the sim u had used in the dongle for making calls through mod_gsmopen make and receive calls ?
Regards Ashish Mishra On Aug 25, 2013 1:21 AM, "Jayanth Acharya" <jayachar88@gmail.com> wrote:
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 !!
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. http://jira.freeswitch.org/browse/FS-5721 http://jira.freeswitch.org/browse/FS-5727
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.
On Sun, Aug 25, 2013 at 12:31 AM, Ashish Mishra <itsme.kunnu@gmail.com
wrote:
Hi jaynath 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....???
Regards Ashish Mishra On Aug 25, 2013 12:05 AM, "Jayanth Acharya" <jayachar88@gmail.com> wrote:
> 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 888@sip.freeswitch.net (if > I noted the SIP URI correctly).Next tried another inbound call, and this > time, I heard only silence. > > 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. > > 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). > > thanks, > Jay > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > >
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org