[Freeswitch-users] Gsmopen: set for home-only?

Peter Hartmann peter at hartmanncomputer.com
Mon Mar 11 23:00:36 MSK 2013


Thanks Dmitry and Giovani,

I found that I can specify my mobile provider by name(really ID number) using:

at+cops=1,2,310260,0

Command syntax: AT+COPS=<mode>, [<format> [ , <oper> ] ]

1 is manual, 2 is operator by format, I'm using name, 310260 is my
operator - Tmobile, 0 is.....not sure.


I'm going to plug this in to the postinit section for the interface
definition.

Cheers,


Peter Hartmann
Hartmann Computer Consulting


On Sun, Mar 10, 2013 at 4:01 PM, Dmitry Lysenko
<dvl36.ripe.nick at gmail.com> wrote:
> Hi,
> From doc, you can find here
> https://www.google.com.ua/url?sa=t&rct=j&q=&esrc=s&source=web&cd=7&cad=rja&ved=0CF4QFjAG&url=http%3A%2F%2Fwww.net139.com%2FUploadFile%2Fmenu%2FHUAWEI%2520UMTS%2520Datacard%2520Modem%2520AT%2520Command%2520Interface%2520Specification_V2.3.pdf&ei=SeM8UZXwDsi8Pbv3gIAM&usg=AFQjCNGy4AuBzYVHWWIPKQAWQbJ2P3J3eg&sig2=M4TNu9OhIMaEC-VqPdBDQw&bvm=bv.43287494,d.ZWU
>
> AT^SYSCFG= <mode>,<acqorder>,<band>,<roam>,<srvdomain>
>
> This command is used to set the characteristics such as system mode, GW
> access
> sequence, band, roaming support and domain.
>
> Defined Values:
> <mode> system mode reference:
> 2
> Automatic search
> 13 GSM ONLY
> 14 WCDMA ONLY
> 16 No change
> <acqorder> Network access sequence reference:
> 0 Automatic search
> 1 GSM first, WCDMA later
> 2 WCDMA first, GSM later
> 3 No change
>
> <band> The band of frequency relate to selection of mode, which is actually
> up to the
> performance of MS. The parameter is HEX string, whose value is as follows or
> with the
> exception of 0x3FFFFFFF and 0x40000000 parameter as combination:
> 00080000 (CM_BAND_PREF_GSM_850) GSM 850
> 00000080(CM_BAND_PREF_GSM_DCS_1800) GSM DCS systems
> 00000100(CM_BAND_PREF_GSM_EGSM_900) Extended GSM 900
> 00000200(CM_BAND_PREF_GSM_PGSM_900) Primary GSM 900
> 00100000(CM_BAND_PREF_GSM_RGSM_900) Railway GSM 900
> 00200000(CM_BAND_PREF_GSM_PCS_1900) GSM PCS
> 00400000(CM_BAND_PREF_WCDMA_I_IMT_2000) WCDMA IMT 2000
> 00800000 (CM_BAND_PREF_WCDMA_II_PCS_1900) WCDMA_II_PCS_1900
> 04000000 (CM_BAND_PREF_WCDMA_V_850) WCDMA_V_850
> 0002000000000000 (CM_BAND_PREF_WCDMA_VIII_900) WCDMA_VIII_900
>
> <roam> Roaming support:
> 0 Not supported
> 1 Roaming is supported
> 2 No change
>
> <srvdomain> domain setting:
> 0 CS_ONLY
> 1 PS_ONLY
> 2 CS_PS
> 3 ANY
> 4 No change
> ----
> Anything else here: http://wiki.freeswitch.org/wiki/GSMopen
>
>
>
> 2013/3/10 Peter Hartmann <peter at hartmanncomputer.com>
>>
>> Hi,
>> Does anyone know how I can set Gsmopen to never roam?    Is there a
>> home-only mode?
>>
>> Thanks much!
>>
>>
>> Peter Hartmann
>> Hartmann Computer Consulting
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list