On gsmopen.conf.xml file, add this line between <global_settings> and </global_settings>: <param name="context" value="public"/> <param name="destination" value="incoming_gsm_call"/> On your dialplan add e.g. public/incoming-gsm-call.xml containing these lines to ring extension 1000 <extension name="incoming-mobile-call"> <condition field="context" expression="public"/> <condition field="destination_number" expression="incoming_gsm_call"> <action application="transfer" data="1000 XML default"/> </condition> </extension> Good luck! On Sun, Apr 19, 2015 at 7:27 PM, Anurag Rana <anuragrana31189@gmail.com> wrote:
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/
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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