Support forum

Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

how to get mobile operator in scripting connector (C#)
sp_NewPost Add Reply sp_NewTopic Add Topic
December 10, 2015
9:23 am
Henk Helmantel
Forum Posts: 1492
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Karel,

There is no standard way to retrieve the phone number of a SIM card. Some mobile operators have a USSD command that returns the phone number but as you already noticed, this USSD command is different for each mobile operator.

The phone number can also be written to the SIM card but not all GSM modems have the ability to read this number from the SIM card and mobile operators often do not ship the SIM cards with the phone numbers already written on them. You can use Diafaan SMS Server to write the phone number to the SIM card with the following steps:

- Open the GSM Modem Gateway properties
- Select 'GSM modem'
- Click on the 'Test' button
- Click 'Change GSM number'
- Fill in the phone number and click on the 'Write' button

If your GSM modem supports the 'AT+CNUM' command, the GSM Modem Gateway will now report the phone number in the gateway properties.

Regards, Henk

December 10, 2015
6:33 am

Hi, I'm trying to get number phone in 3g modem, but the ussd is different, depending operator.
thank you

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 674

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1143

Posts: 3908

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1492