[Freeswitch-users] How to receive call using gsmopen

Anurag Rana anuragrana31189 at gmail.com
Sun Apr 19 15:27:30 MSD 2015


Hi All,

I have micromax usb dongle with a gsm sim in it attached to my system.
mod_gsmopen has been compiled and has been loaded. Freeswitch is running.

*This is the output of lsusb command -*
----------------------------------------------------------
Bus 002 Device 003: ID 064e:e263 Suyin Corp.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 1c9e:9605 OMEGA TECHNOLOGY
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 011: ID 15d9:0a4e Trust International B.V.
Bus 003 Device 010: ID 1a2c:0c21 China Resource Semico Co., Ltd
Bus 003 Device 009: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
---------------------------------------------------------------------------------------

*This is the output of dmesg | grep tty command*
----------------------------------------------------------------------
[ 8114.018211] usb 1-1.2: GSM modem (1-port) converter now attached to
ttyUSB0
[ 8114.018840] usb 1-1.2: GSM modem (1-port) converter now attached to
ttyUSB1
[ 8114.019458] usb 1-1.2: GSM modem (1-port) converter now attached to
ttyUSB2
[ 8114.019961] usb 1-1.2: GSM modem (1-port) converter now attached to
ttyUSB3
---------------------------------------------------------------------

*​This is the content of gsmopen.conf.xml file*​

​*-----*------------------------------------------------------------
<configuration name="gsmopen.conf" description="GSMopen Configuration">
  <global_settings>
    <param name="debug" value="8"/>
    <param name="dialplan" value="XML"/>
    <param name="context" value="default"/>
    <param name="hold-music" value="$${moh_uri}"/>
    <param name="destination" value="5000"/>
  </global_settings>
  <!-- one entry here per gsmopen interface -->
  <per_interface_settings>
    <interface id="1" name="gsm01">
      <param name="controldevice_name" value="/dev/ttyUSB3"/>
      <param name="controldevice_audio_name" value="/dev/ttyUSB2"/>
    <!-- in windowz would be, eg: -->
      <!--
      <param name="controldevice_name" value="COM4"/>
      -->
      <!-- 3G PC UI Interface is controldevice_name -->
      <!--
      <param name="controldevice_audio_name" value="COM2"/>
      -->
      <!-- 3G Application Interface is controldevice_audio_name -->
    </interface>
    <!-- following interfaces are commented out!
    -->
  </per_interface_settings>
</configuration>

------------------------------------------------------------------------


I searched internet for "how to receive a call using FS" or "How to make an
inbound call using gsmopen"​
​ but could not find detailed stepwise explanation.


Can someone please tell me what I need to do next so that when I call the
sim number in dongle, call is received by FS and actions are performed
based on dialplan.

OR

direct me to some link which explains this. (apart from this
https://freeswitch.org/confluence/display/FREESWITCH/mod_gsmopen)​


​Thanks​


Anurag Rana <https://sites.google.com/site/homepagerana/>
M.Tech CSE, IIIT-Delhi,
https://sites.google.com/site/homepagerana/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150419/20ff1f9b/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list