<div dir="ltr"><br><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div><div>In the absence of <param name="destination" value="incoming_gsm_call"/>, I think the destination number will be the mobile number of the SIM installed on the USB dongle. Can anyone confirm this?</div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Apr 20, 2015 at 2:55 PM, Nandy Dagondon <span dir="ltr"><<a href="mailto:nandy1925@gmail.com" target="_blank">nandy1925@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div>On gsmopen.conf.xml file, add this line between <global_settings> and </global_settings>:</div><div><br></div><div><param name="context" value="public"/></div><div><param name="destination" value="incoming_gsm_call"/></div><div><br></div><div>On your dialplan add e.g. public/incoming-gsm-call.xml containing these lines to ring extension 1000</div><div><br></div><div><extension name="incoming-mobile-call"></div><div> <condition field="context" expression="public"/></div><div> <condition field="destination_number" expression="incoming_gsm_call"></div><div> <action application="transfer" data="1000 XML default"/></div><div> </condition></div><div></extension></div><div><br></div><div>Good luck!</div><div><br></div></div></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Sun, Apr 19, 2015 at 7:27 PM, Anurag Rana <span dir="ltr"><<a href="mailto:anuragrana31189@gmail.com" target="_blank">anuragrana31189@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div style="font-family:verdana,sans-serif;color:rgb(0,0,0)">Hi All,<br><br></div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0)">I have micromax usb dongle with a gsm sim in it attached to my system.<br></div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0)">mod_gsmopen has been compiled and has been loaded. Freeswitch is running.<br><br></div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><b>This is the output of lsusb command -</b><br>----------------------------------------------------------<br>Bus 002 Device 003: ID 064e:e263 Suyin Corp. <br>Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub<br>Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 001 Device 006: ID 1c9e:9605 OMEGA TECHNOLOGY <br>Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br>Bus 003 Device 011: ID 15d9:0a4e Trust International B.V. <br>Bus 003 Device 010: ID 1a2c:0c21 China Resource Semico Co., Ltd <br>Bus 003 Device 009: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB<br>Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>---------------------------------------------------------------------------------------<br><br></div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><b>This is the output of dmesg | grep tty command</b><br>----------------------------------------------------------------------<br>[ 8114.018211] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0<br>[ 8114.018840] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1<br>[ 8114.019458] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2<br>[ 8114.019961] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3<br>---------------------------------------------------------------------<br clear="all"></div><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="font-family:verdana,sans-serif"><br><div style="font-family:verdana,sans-serif;color:rgb(0,0,0);display:inline"><b>This is the content of gsmopen.conf.xml file</b></div><br><div style="font-family:verdana,sans-serif;color:rgb(0,0,0);display:inline"><b>-----</b>------------------------------------------------------------<br><configuration name="gsmopen.conf" description="GSMopen Configuration"><br> <global_settings><br> <param name="debug" value="8"/><br> <param name="dialplan" value="XML"/><br> <param name="context" value="default"/><br> <param name="hold-music" value="$${moh_uri}"/><br> <param name="destination" value="5000"/><br> </global_settings><br> <!-- one entry here per gsmopen interface --><br> <per_interface_settings><br> <interface id="1" name="gsm01"><br> <param name="controldevice_name" value="/dev/ttyUSB3"/><br> <param name="controldevice_audio_name" value="/dev/ttyUSB2"/><br> <!-- in windowz would be, eg: --><br> <!--<br> <param name="controldevice_name" value="COM4"/><br> --><br> <!-- 3G PC UI Interface is controldevice_name --><br> <!--<br> <param name="controldevice_audio_name" value="COM2"/><br> --><br> <!-- 3G Application Interface is controldevice_audio_name --><br> </interface><br> <!-- following interfaces are commented out!<br> --><br> </per_interface_settings><br></configuration><br><br>------------------------------------------------------------------------<br><br><br></div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0);display:inline">I searched internet for "how to receive a call using FS" or "How to make an inbound call using gsmopen"</div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0);display:inline"> but could not find detailed stepwise explanation.<br><br><br></div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0);display:inline">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.<br><br></div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0);display:inline">OR<br><br></div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0);display:inline">direct me to some link which explains this. (apart from this <a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_gsmopen)" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/mod_gsmopen)</a></div><br><br><div style="font-family:verdana,sans-serif;color:rgb(0,0,0);display:inline">Thanks</div><span><font color="#888888"><br><font style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><br><a href="https://sites.google.com/site/homepagerana/" target="_blank">Anurag Rana</a></font></font></span></span><span><font color="#888888"><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="font-family:verdana,sans-serif">M.Tech CSE, IIIT-Delhi, </span></div><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="font-family:verdana,sans-serif"></span></div><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span><span style="font-family:verdana,sans-serif"><a href="https://sites.google.com/site/homepagerana/" style="color:rgb(17,85,204)" target="_blank"><font size="2">https://sites.google.com/site/homepagerana/</font></a></span></span></div><span style="font-family:verdana,sans-serif"><span style="background-color:rgb(255,255,255)"><font size="4"><font size="4"><font size="2"><br></font><br></font></font></span></span><div><span style="font-family:verdana,sans-serif"><span style="background-color:rgb(255,255,255)"><br></span></span></div></font></span></div></div></div></div></div></div></div></div></div>
</div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>
</blockquote></div><br></div></div>