<div dir="ltr"><br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>On gsmopen.conf.xml file, add this line between &lt;global_settings&gt; and &lt;/global_settings&gt;:</div><div><br></div><div>&lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;</div><div>&lt;param name=&quot;destination&quot; value=&quot;incoming_gsm_call&quot;/&gt;</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>&lt;extension name=&quot;incoming-mobile-call&quot;&gt;</div><div>   &lt;condition field=&quot;context&quot; expression=&quot;public&quot;/&gt;</div><div>   &lt;condition field=&quot;destination_number&quot; expression=&quot;incoming_gsm_call&quot;&gt;</div><div>       &lt;action application=&quot;transfer&quot; data=&quot;1000 XML default&quot;/&gt;</div><div>   &lt;/condition&gt;</div><div>&lt;/extension&gt;</div><div><br></div><div>Good luck!</div><div><br></div></div></div></div>
<br><div class="gmail_quote">On Sun, Apr 19, 2015 at 7:27 PM, Anurag Rana <span dir="ltr">&lt;<a href="mailto:anuragrana31189@gmail.com" target="_blank">anuragrana31189@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>&lt;configuration name=&quot;gsmopen.conf&quot; description=&quot;GSMopen Configuration&quot;&gt;<br>  &lt;global_settings&gt;<br>    &lt;param name=&quot;debug&quot; value=&quot;8&quot;/&gt;<br>    &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>    &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>    &lt;param name=&quot;hold-music&quot; value=&quot;$${moh_uri}&quot;/&gt;<br>    &lt;param name=&quot;destination&quot; value=&quot;5000&quot;/&gt;<br>  &lt;/global_settings&gt;<br>  &lt;!-- one entry here per gsmopen interface --&gt;<br>  &lt;per_interface_settings&gt;<br>    &lt;interface id=&quot;1&quot; name=&quot;gsm01&quot;&gt;<br>      &lt;param name=&quot;controldevice_name&quot; value=&quot;/dev/ttyUSB3&quot;/&gt;<br>      &lt;param name=&quot;controldevice_audio_name&quot; value=&quot;/dev/ttyUSB2&quot;/&gt;<br>    &lt;!-- in windowz would be, eg: --&gt;<br>      &lt;!--<br>      &lt;param name=&quot;controldevice_name&quot; value=&quot;COM4&quot;/&gt;<br>      --&gt;<br>      &lt;!-- 3G PC UI Interface is controldevice_name --&gt;<br>      &lt;!--<br>      &lt;param name=&quot;controldevice_audio_name&quot; value=&quot;COM2&quot;/&gt;<br>      --&gt;<br>      &lt;!-- 3G Application Interface is controldevice_audio_name --&gt;<br>    &lt;/interface&gt;<br>    &lt;!-- following interfaces are commented out!<br>    --&gt;<br>  &lt;/per_interface_settings&gt;<br>&lt;/configuration&gt;<br><br>------------------------------------------------------------------------<br><br><br></div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0);display:inline">I searched internet for &quot;how to receive a call using FS&quot; or &quot;How to make an inbound call using gsmopen&quot;​</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 class="HOEnZb"><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 class="HOEnZb"><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>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">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">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>