How to write my own number in to sim card (subscriber number)

235 views
Skip to first unread message

Pol Isidor

unread,
Sep 24, 2018, 10:40:26 PM9/24/18
to dongle
If I'm try with command:
dongle cmd dongle0 AT+CPBS=\"ON\"

I got the error:
orangepipc*CLI> dongle cmd dongle0 AT+CPBS=\"ON\"
[dongle0] 'AT+CPBS="
ON"' Command queued for execute
 [dongle0] Got Response for user's command:'ERROR'
[Sep 25 04:37:26] NOTICE[3549]: at_response.c:1738 at_response: [dongle0] Got Response for user's command:'ERROR'
[Sep 25 04:37:26] ERROR[3549]: at_response.c:521 at_response_error: [dongle0] Received 'ERROR' for unhandled command 'USER'S'

So the second command have not menaing to type:
dongle cmd dongle0 AT+CPBW=1,\"+39xxxxxxx8\",145

Anyone know how can I manage this?
Asterisk is: 13.21

orangepipc*CLI> dongle show device state dongle0
-------------- Status -------------
 
Device                  : dongle0
 
State                   : Free
 
Audio                   : /dev/DONGLE-3G-MODEM-1
 
Data                    : /dev/DONGLE-3G-MODEM-2
 
Voice                   : Yes
  SMS                    
: Yes
 
Manufacturer            : huawei
 
Model                   : E153
 
Firmware                : 11.609.18.00.00
  IMEI                    
: 35xxxxxxxxxxx
  IMSI                    
: 22xxxxxxxxxxx
  GSM
Registration Status : Registered, roaming
  RSSI                    
: 10, -93 dBm
 
Mode                    : WCDMA
 
Submode                 : WCDMA
 
Provider Name           : I TIM
 
Location area code      : F046
 
Cell ID                 : 1977
 
Subscriber Number       : Unknown
  SMS
Service Center      : +393756626300
 
Use UCS-2 encoding      : Yes
  USSD
use 7 bit encoding : Yes
  USSD
use UCS-2 decoding : No
 
Tasks in queue          : 0
 
Commands in queue       : 0
 
Call Waiting            : Disabled
 
Current device state    : start
 
Desired device state    : start
 
When change state       : now
 
Calls/Channels          : 0
   
Active                : 0
   
Held                  : 0
   
Dialing               : 0
   
Alerting              : 0
   
Incoming              : 0
   
Waiting               : 0
   
Releasing             : 0
   
Initializing          : 0


Thx

Hiếu Nguyễn văn

unread,
Jun 23, 2023, 12:14:01 PM6/23/23
to dongle
i got only : Command queued for execute:

Adrian P

unread,
Jun 23, 2023, 12:16:05 PM6/23/23
to chan_...@googlegroups.com
just restart asterisk


--
You received this message because you are subscribed to the Google Groups "dongle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chan_dongle...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chan_dongle/101fae7f-0cc9-42d4-99a9-cf41eed1d7f6n%40googlegroups.com.


--
Adrian Padureanu



Reply all
Reply to author
Forward
0 new messages