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

Ghazanfar Saeed m_g_saeed at hotmail.co.uk
Tue Mar 22 15:09:56 MSK 2011










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,


 






 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110322/c64073ae/attachment-0001.html 


More information about the FreeSWITCH-users mailing list