chan_dongle Subscriber Number

Hello i am new in asterisk and am requesting for your guidance in configuring chan_dongle with asterisk. I have successfully configured it to be read but the problem is that i cannot see the Subscriber Number

My question is what am i supposed to configure in order for the dongle to read the Subscriber Number, any assistance is highly appreciated

and this is my dongle.conf

[defaults]
context=default                 ; context for incoming calls, SMS and USSD
group=0                         ; calling group
rxgain=0                        ; increase the incoming volume; may be negative
txgain=0                        ; increase the outgoint volume; may be negative
autodeletesms=yes               ; auto delete incoming sms
resetdongle=yes                 ; reset dongle during initialization with ATZ command
u2diag=-1                       ; set ^U2DIAG parameter on device (0 = disable everything except modem function)
usecallingpres=yes              ; use the caller ID presentation or not
callingpres=allowed_passed_screen ; set caller ID presentation. By default use default network settings
disablesms=no                   ; disable of SMS reading from device when received. Enable this option to disable
smsaspdu=yes                    ; if 'yes' send SMS in PDU mode.
language=en                     ; set channel default language
mindtmfgap=45                   ; minimal interval from end of previews DTMF from begining of next in ms
mindtmfduration=80              ; minimal DTMF tone duration in ms
mindtmfinterval=200             ; minimal interval between ends of DTMF of same digits in ms
callwaiting=auto                ; if 'yes' allow incoming calls waiting; by default use network settings
disable=no                      ; if 'yes' no load this device and just ignore this section
exten=+1234567890               ; exten for start incoming calls, only in case of Subscriber Number not available!,
dtmf=relax                      ; control of incoming DTMF detection, possible values:

[dongle0]
audio=/dev/ttyUSB1              ; tty port for audio connection;
data=/dev/ttyUSB0               ; tty port for AT commands;
imei=123456789012345
imsi=612849384756451

and when i try to pass commands to the dongle i see:

dongle cmd dongle0 AT+CPBS="ON" ERROR[16859]: at_response.c:522 at_response_error: [dongle0] Received 'ERROR' for unhandled command 'USER'S'

That module’s not distributed with Asterisk. Seems someone has a Wiki here:

wiki.e1550.mobi/doku.php

yeah that’s the wiki i was following.

[quote=“eyanu”]and when i try to pass commands to the dongle i see:

dongle cmd dongle0 AT+CPBS="ON" ERROR[16859]: at_response.c:522 at_response_error: [dongle0] Received 'ERROR' for unhandled command 'USER'S'[/quote]

[quote=“malcolmd”]That module’s not distributed with Asterisk. Seems someone has a Wiki here:
wiki.e1550.mobi/doku.php[/quote]

I had the same problem
Info here http://wiki.e1550.mobi/doku.php?id=configuration is not right, or too old

The right commands are (just works for me on * 11):

CLI>dongle cmd dongle0 AT+CPBS=\"ON\" ... CLI>dongle cmd dongle0 AT+CPBW=1,\"+123456789\",145

Read here http://asterisk-chan-dongle.googlecode.com/svn/trunk/README.txt
or here for New Asterisk 11 https://github.com/jstasiak/asterisk-chan-dongle/blob/master/README.txt

I don’t understand why someone would neede to know subscriber number from asterisk cli?
In dongle.conf there is an exten for start incoming calls, only in case of Subscriber Number not available

Im faceing with same problem:
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