Comments (3)
Can provide +CUSD: string for both cases (ok decoding and failure) ?
differs in Data Coding Scheme ?
Bug may be here:
1) K3765 is not listed in at_response_cgmm() as seven_bit_modems
this mean cusd_use_ucs2_decoding and cusd_use_7bit_encoding unaffected by
at_response_cgmm() for K3765
2) pvt_create() initialize cusd_use_ucs2_decoding = 1 and
cusd_use_7bit_encoding = 0 (as ast_calloc do)
3) disconnect_dongle() reset cusd_use_ucs2_decoding to 0 instead of 1
solution:
1) reset cusd_use_ucs2_decoding and cusd_use_7bit_encoding to default before
look by seven_bit_modems in at_response_cgmm()
2) fix disconnect_dongle() for reset cusd_use_ucs2_decoding to 1 and
cusd_use_7bit_encoding to 0
Original comment by [email protected]
on 8 Aug 2011 at 9:34
- Changed state: Accepted
from asterisk-chan-dongle.
please check r19 and report bug exist or resolved,
i has't K3765
Original comment by [email protected]
on 8 Aug 2011 at 9:45
from asterisk-chan-dongle.
Applied r19 patch to at_response.c, but not to chan_dongle.c.
Stop, start, ussd now works as expected.
I'd suggest to revert the chan_dongle.c patch, it does not really make sense to
set cusd_use_ucs2_decoding to 1 there, while setting all other values to 'sane
uninitialized' values.
One might even argue that the
pvt->cusd_use_ucs2_decoding = 1;
line (1385) in chan_dongle.c, function pvt_create could better be set to 0 as
well.
(Tried that and it works!)
Extra question: at+cscs is used to try setting overall/sms charset to ucs2, and
response to at+cscs is used to set/not set pvt->use_ucs2_decoding. Does this
have any relation to the ussd charset capabilities?
Original comment by [email protected]
on 9 Aug 2011 at 12:07
from asterisk-chan-dongle.
Related Issues (20)
- Configuring 4G Module HOT 47
- Huawei E367 is not detected by IMEI/IMSI, only by data/Audio port exactly specified !
- Cannot compile on aarch64-arc
- Problem while connecting my Huawei 3372-608 Dongle HOT 2
- New guide
- Disappeared from lsusb
- about future support of those 3G USB Dongle after carriers phasing out 3G
- Forward incoming SMS from each dongle to different email addresses
- Asterisk does not hear dtmf sounds HOT 2
- [dongle0] Request to call on device which can not make call at this moment
- busy trying connect to ttyusb
- It would be great to have the option to turn it into a proxy
- How can I change the email that I already configured so that the sms are sent for another?
- How can I add a unique id for each received sms, when it is saved in /var/log/asterisk/sms.txt
- How To Remove Subscriber Number HOT 1
- WiFi dongle
- SIM detected successfully, line busy HOT 3
- Dongle
- struct ast_channel: forward declaration / incomplete definition of type
- Loud noise on GSM to SIP Trunk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asterisk-chan-dongle.