<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div><div>With individual "destination" number for every device, you can hit different parts of the dialplan e.g. auto-attendant.</div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Apr 21, 2015 at 11:20 AM, Luiz Fernando Softov <span dir="ltr"><<a href="mailto:fernando@softov.com.br" target="_blank">fernando@softov.com.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">To enable Voice you need to make a AT command<br>
<br>
i don't know in other system, but in FreeBSD i use "cu"<br>
<br>
"cu -l /dev/ttyU0.1"<br>
<br>
AT^CVOICE=0 Enable Voice<br>
AT^CVOICE=1 Disable Voice<br>
AT^CVOICE=? Check status<br>
<br>
Or you can use a software to unlock, it's not free, i think you need to paid<br>
<br>
<a href="https://www.dc-unlocker.com/" target="_blank">https://www.dc-unlocker.com/</a><br>
<br>
Some modems/dongle don't have the destination number write in SIM, and<br>
in source code variable "destination" will be used to make calls.<br>
If you want to change this, you need to do some changes in source code<br>
and write real number in SIM card<br>
<br>
To get number written in SIM<br>
<br>
AT+CNUM<br>
<br>
To write number in SIM i make this<br>
<br>
AT+CPBS="ON";^CPBW=1;^CPBW=1,"556700000000",129<br>
<br>
You can get explain of this AT commands in <a href="http://google.com" target="_blank">google.com</a><br>
<br>
<br>
To receive calls, like "Nandy" say.<br>
<span class=""><br>
On gsmopen.conf.xml file, add this line between <global_settings> and<br>
</global_settings>:<br>
<br>
<param name="context" value="public"/><br>
<param name="destination" value="incoming_gsm_call"/><br>
<br>
</span>Or to have a number per modem<br>
<span class=""><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>
</span><span class=""> </global_settings><br>
<!-- one entry here per gsmopen interface --><br>
<per_interface_settings><br>
<interface id="1" name="gsm01"><br>
</span> <param name="controldevice_name" value="/dev/ttyU0.2"/><br>
<param name="controldevice_audio_name" value="/dev/ttyU0.1"/><br>
<param name="destination" value="99990001"/><br>
</interface><br>
<interface id="2" name="gsm02"><br>
<param name="controldevice_name" value="/dev/ttyU1.2"/><br>
<param name="controldevice_audio_name" value="/dev/ttyU1.1"/><br>
<param name="destination" value="99990002"/><br>
</interface><br>
</per_interface_settings><br>
</configuration><br>
<br>
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *<br>
* * * * * * * * * * * * * * * *<br>
<br>
Ring Extension 1001 based on GSM01<br>
<br>
<extension name="incoming-mobile-call-1"><br>
<span class=""> <condition field="context" expression="public"/><br>
</span> <condition field="destination_number" expression="99990001"><br>
<action application="transfer" data="1001 XML default"/><br>
</condition><br>
</extension><br>
<br>
Ring Extension 1002 based on GSM02<br>
<br>
<extension name="incoming-mobile-call-2"><br>
<span class=""> <condition field="context" expression="public"/><br>
</span> <condition field="destination_number" expression="99990002"><br>
<action application="transfer" data="1002 XML default"/><br>
</condition><br>
</extension><br>
<br>
2015-04-20 15:12 GMT-04:00 Anurag Rana <<a href="mailto:anuragrana31189@gmail.com">anuragrana31189@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">> I tried but didn't worked. I edited the files as said above. Registered a<br>
> Softphone with 1000 as user so that call can be received and dialled the sim<br>
> number in dongle. Nothing happened.<br>
><br>
> Do I need to do something like "Unlocking voice capability" as given in<br>
> below link<br>
> <a href="https://wiki.freeswitch.org/wiki/GSMopen#UNLOCK_THE_DONGLE.21.21.21" target="_blank">https://wiki.freeswitch.org/wiki/GSMopen#UNLOCK_THE_DONGLE.21.21.21</a><br>
><br>
> I am using this device -<br>
> <a href="http://www.amazon.in/Micromax-MMX210G-Data-Card-White/dp/B00MF91LZ2/ref=sr_1_2?ie=UTF8&qid=1429556927&sr=8-2&keywords=micromax+dongle" target="_blank">http://www.amazon.in/Micromax-MMX210G-Data-Card-White/dp/B00MF91LZ2/ref=sr_1_2?ie=UTF8&qid=1429556927&sr=8-2&keywords=micromax+dongle</a><br>
><br>
> Anybody using this or similar device?<br>
><br>
><br>
><br>
> Anurag Rana<br>
> M.Tech CSE, IIIT-Delhi,<br>
> <a href="https://sites.google.com/site/homepagerana/" target="_blank">https://sites.google.com/site/homepagerana/</a><br>
><br>
><br>
><br>
><br>
> On Mon, Apr 20, 2015 at 12:40 PM, Giovanni Maruzzelli <<a href="mailto:gmaruzz@gmail.com">gmaruzz@gmail.com</a>><br>
> wrote:<br>
>><br>
>> you must set the destination, in global or interface specific section.<br>
>> If not set, there will be an error.<br>
>><br>
>> -giovanni<br>
>><br>
>> On Mon, Apr 20, 2015 at 8:58 AM, Nandy Dagondon <<a href="mailto:nandy1925@gmail.com">nandy1925@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>><br>
>>> In the absence of <param name="destination" value="incoming_gsm_call"/>,<br>
>>> I think the destination number will be the mobile number of the SIM<br>
>>> installed on the USB dongle. Can anyone confirm this?<br>
>>><br>
>>> On Mon, Apr 20, 2015 at 2:55 PM, Nandy Dagondon <<a href="mailto:nandy1925@gmail.com">nandy1925@gmail.com</a>><br>
>>> wrote:<br>
>>>><br>
>>>><br>
>>>><br>
>>>> On gsmopen.conf.xml file, add this line between <global_settings> and<br>
>>>> </global_settings>:<br>
>>>><br>
>>>> <param name="context" value="public"/><br>
>>>> <param name="destination" value="incoming_gsm_call"/><br>
>>>><br>
>>>> On your dialplan add e.g. public/incoming-gsm-call.xml containing these<br>
>>>> lines to ring extension 1000<br>
>>>><br>
>>>> <extension name="incoming-mobile-call"><br>
>>>> <condition field="context" expression="public"/><br>
>>>> <condition field="destination_number" expression="incoming_gsm_call"><br>
>>>> <action application="transfer" data="1000 XML default"/><br>
>>>> </condition><br>
>>>> </extension><br>
>>>><br>
>>>> Good luck!<br>
>>>><br>
>>>><br>
>>>> On Sun, Apr 19, 2015 at 7:27 PM, Anurag Rana <<a href="mailto:anuragrana31189@gmail.com">anuragrana31189@gmail.com</a>><br>
>>>> wrote:<br>
>>>>><br>
>>>>> Hi All,<br>
>>>>><br>
>>>>> I have micromax usb dongle with a gsm sim in it attached to my system.<br>
>>>>> mod_gsmopen has been compiled and has been loaded. Freeswitch is<br>
>>>>> running.<br>
>>>>><br>
>>>>> This is the output of lsusb command -<br>
>>>>> ----------------------------------------------------------<br>
>>>>> Bus 002 Device 003: ID 064e:e263 Suyin Corp.<br>
>>>>> Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching<br>
>>>>> 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<br>
>>>>> 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>
>>>>><br>
>>>>> This is the output of dmesg | grep tty command<br>
>>>>> ----------------------------------------------------------------------<br>
>>>>> [ 8114.018211] usb 1-1.2: GSM modem (1-port) converter now attached to<br>
>>>>> ttyUSB0<br>
>>>>> [ 8114.018840] usb 1-1.2: GSM modem (1-port) converter now attached to<br>
>>>>> ttyUSB1<br>
>>>>> [ 8114.019458] usb 1-1.2: GSM modem (1-port) converter now attached to<br>
>>>>> ttyUSB2<br>
>>>>> [ 8114.019961] usb 1-1.2: GSM modem (1-port) converter now attached to<br>
>>>>> ttyUSB3<br>
>>>>> ---------------------------------------------------------------------<br>
>>>>><br>
>>>>> This is the content of gsmopen.conf.xml file<br>
>>>>><br>
>>>>> -----------------------------------------------------------------<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>
>>>>><br>
>>>>> I searched internet for "how to receive a call using FS" or "How to<br>
>>>>> make an inbound call using gsmopen"<br>
>>>>> but could not find detailed stepwise explanation.<br>
>>>>><br>
>>>>><br>
>>>>> Can someone please tell me what I need to do next so that when I call<br>
>>>>> the sim number in dongle, call is received by FS and actions are performed<br>
>>>>> based on dialplan.<br>
>>>>><br>
>>>>> OR<br>
>>>>><br>
>>>>> direct me to some link which explains this. (apart from this<br>
>>>>> <a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_gsmopen" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/mod_gsmopen</a>)<br>
>>>>><br>
>>>>><br>
>>>>> Thanks<br>
>>>>><br>
>>>>><br>
>>>>> Anurag Rana<br>
>>>>> M.Tech CSE, IIIT-Delhi,<br>
>>>>> <a href="https://sites.google.com/site/homepagerana/" target="_blank">https://sites.google.com/site/homepagerana/</a><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>><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>
>>>>><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>
>>>><br>
>>>><br>
>>><br>
>>><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>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Sincerely,<br>
>><br>
>> Giovanni Maruzzelli<br>
>> Cell : <a href="tel:%2B39-347-2665618" value="+393472665618">+39-347-2665618</a><br>
>><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>
><br>
><br>
><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>
<br>
<br>
<br>
--<br>
</div></div><span class="HOEnZb"><font color="#888888">Luiz Fernando Softov<br>
<a href="http://www.softov.com.br" target="_blank">http://www.softov.com.br</a><br>
<a href="mailto:fernando@softov.com.br">fernando@softov.com.br</a><br>
</font></span><div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br></div></div>