[Freeswitch-users] use of mobile phone with gsmopen question

Giovanni Maruzzelli gmaruzz at gmail.com
Wed Mar 23 16:43:40 MSK 2011


heh,

first: you have to be sure it is recognized by your system, eg: that
Linux recognize it and can use it as a modem.
Browse google for your phone on linux.

second: when and if your phone can be used by linux as a modem, linux
will automatically create a /dev/ttyACM? or a /dev/ttyUSB?

third: at that point, you just put that device in the config file of gsmopen

fourth: you will be able to send and receive sms, hopefully, at this point

fifth: to be able to make and receive voice calls, you'll need to
create an audio cable that goes from the headset jack in the cellphone
to the soundcard mic/speaker

If you want to use a device that is ready made, tested, and do not
needs any additional cables (it conyains in itself the soundcard, and
is connected to the pc with just one normal usb cable for both modem
and voice), check out www.mobigater.com

-giovanni

On Tue, Mar 22, 2011 at 1:09 PM, Ghazanfar Saeed
<m_g_saeed at hotmail.co.uk> wrote:
>
> Hi,
>
> My system is Dell XPS L501 and I have installed Ubuntu 10.10 Desktop version
> on it. The bit I am trying to achieve is to make call to gsm mobile from
> ubuntu using my gsm mobile (HTC HD2 with T-Mobile-UK SIM card) attached to
> my Ubuntu 10.10 system via USB. I have followed the below process:
>
> I have installed FreeSwitch and verified its functionality with Twinkle
> (able to access the predefined basic IVR).
> command: sudo /usr/local/freeswitch/bin/freeswitch -waste
>
> I have then built/installed the gsmopen as described on
> http://wiki.freeswitch.org/wiki/GSMopen and loaded module.
>
> freeswitch at saeed-XPS-L501X> load mod_gsmopen
> 2011-03-22 07:41:47.623806 [WARNING] mod_gsmopen.cpp:1861 rev
> exported[(nil)|37     ][WARNINGA  1861 ][interface1][-1, 0, 0] STARTING
> interface_id=1
> open error : No such file or directory
> 2011-03-22 07:41:48.622951 [ERR] mod_gsmopen.cpp:1892 rev
> exported[(nil)|37     ][ERRORA  1892 ][interface1][-1, 0, 0]
> gsmopen_serial_init failed
> 2011-03-22 07:41:48.622951 [ERR] mod_gsmopen.cpp:1893 rev
> exported[(nil)|37     ][ERRORA  1893 ][interface1][-1, 0, 0] STARTING
> interface_id=1 FAILED
> 2011-03-22 07:41:48.622951 [ERR] mod_gsmopen.cpp:3136 rev
> exported[(nil)|37     ][ERRORA  3136 ][interface1][-1, 0, 0] ALARM on
> interface interface1:
> 2011-03-22 07:41:48.622951 [CONSOLE] switch_loadable_module.c:900
> Successfully Loaded [mod_gsmopen]
> 2011-03-22 07:41:48.622951 [NOTICE] switch_loadable_module.c:144 Adding
> Endpoint 'gsmopen'
> 2011-03-22 07:41:48.622951 [NOTICE] switch_loadable_module.c:272 Adding API
> Function 'gsm'
> 2011-03-22 07:41:48.622951 [NOTICE] switch_loadable_module.c:272 Adding API
> Function 'gsmopen'
> 2011-03-22 07:41:48.624943 [NOTICE] switch_loadable_module.c:272 Adding API
> Function 'gsmopen_boost_audio'
> 2011-03-22 07:41:48.624943 [NOTICE] switch_loadable_module.c:272 Adding API
> Function 'gsmopen_dump'
> 2011-03-22 07:41:48.624943 [NOTICE] switch_loadable_module.c:272 Adding API
> Function 'gsmopen_sendsms'
> 2011-03-22 07:41:48.624943 [NOTICE] switch_loadable_module.c:377 Adding Chat
> interface 'SMS'
>
> The interface1 is the default interface (from gspopen.conf.xml)
>
>     <interface id="1" name="interface1">
>     <param name="hold-music" value="$${moh_uri}"/>
>     <param name="dialplan" value="XML"/>
>     <param name="context" value="default"/>
>         <param name="destination" value="5000"/>
>         <param name="alsacname" value="plughw:1"/>
>         <param name="alsapname" value="plughw:1"/>
>         <param name="controldevice_name" value="/dev/ttyACM0"/>
>     </interface>
>
>
> I am new user to this system (freeswitch+gsmopen) so please can someone put
> me in the right direction. These errors are probably due to the fact that
> there is no /dev/ttyACM0 (as I couldn't list this device). Now as a
> workaround I was thinking if I can find where my HTC HD2 phone got connected
> e.g. ttyUSB0 etc then I can create a soft link and can proceed but the
> trouble is that I can't find the which device it is connected to though i
> can see the phone via lsusb (it is on Bus 003 and device 005)
>
> Bus 003 Device 005: ID 0bb4:0b40 High Tech Computer Corp.
> Bus 003 Device 004: ID 04f3:0212 Elan Microelectronics Corp. Laser Mouse
> Bus 003 Device 003: ID 0603:00f2 Novatek Microelectronics Corp.
>
> Further information is I was able to use internet out of the box when phone
> is connected (and I opted for the option internet sharing on my phone).
>
> Any recommendation how should I proceed further on this will be very
> helpful. Please let me know if I need to provide any further information.
>
> Many thanks.
>
> Kind regards,
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618



More information about the FreeSWITCH-users mailing list