machtudong / asterisk-chan-dongle

Automatically exported from code.google.com/p/asterisk-chan-dongle
Other
0 stars 0 forks source link

sms decoded wrong #186

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
dongle ussd dongle0 *707#  when i send this command
ussd reply from operater received and decoded correct
[2014-09-21 12:30:18] VERBOSE[3586] at_response.c: [2014-09-21 12:30:18]  
[dongle0] Got USSD type 0 'USSD Notify': 'The message has been sent 
successfully by SMS.'
and an sms received from operater but decoded wrong 
2.
3.

What is the expected output? What do you see instead?

expected output is (this is output of freeswitch gsmopen on same machine for 
testing)

 SMS=New balance:Rs.178.23.Expiry:04-03-2015.Pakistan Offer Volume is: 400 MB, valid till 04-10-2014.Your remaining Bolo Pakistan Minutes are: 3336 

i am seeing instead  (this is output of asterisk 11.7.0  with chan_dongle.so 
console output)
[2014-09-21 12:30:25]  [dongle0] Got SMS from Ufone: 
'@3yH8;X{8YNt\+lmMk-M+<Z<^
                                                                                   -
                                                                                    l,K
                                                                                       ,,M
                                                                                          4x:z=XhSY9YHu;=;(z\

(S
   H=;=
           -+
             ,K
               ,
'               M+v;]H<9;8Z;Z{Hp{4x:z=XZ;=y(X<YhllL

[2014-09-21 12:30:25]     -- Executing [sms@dongle-test:2] 
Set("Local/sms@dongle-test-00000001;1", 
"sms_multiline=@3yH8;X{8YNt\+lmMk-M+<Z<^
                  -
                   l,K
                      ,,M
                         4x:z=XhSY9YHu;=;(z\

(S
   H=;=
           -+
             ,K
               ,
") in new stack M+v;]H<9;8Z;Z{Hp{4x:z=XZ;=y(X<YhllL

What version of the product are you using? On what operating system?
asterisk 11.7.0
chan_dongle: Huawei 3G Dongle Channel Driver, Version 1.1, Revision 34
centos 6.5 

Please provide any additional information below.

Original issue reported on code.google.com by shabbira...@gmail.com on 21 Sep 2014 at 8:04

Attachments:

GoogleCodeExporter commented 9 years ago
chan_dongle lacks of better support for SMS handling, sorry :(

Original comment by pag...@gmail.com on 24 Sep 2014 at 8:14

GoogleCodeExporter commented 9 years ago
im fully rewrite SMS encode/decode in other version of chan_dongle.
improving this version is  monkey business

Original comment by bg_...@mail.ru on 14 Oct 2014 at 10:27

GoogleCodeExporter commented 9 years ago
@ bg         thanks for your work  i will try it as soon as possible
  i hope this will work

Original comment by shabbira...@gmail.com on 15 Oct 2014 at 9:13

GoogleCodeExporter commented 9 years ago
i have tried new version r42 last night it is not working 
and this problum is still in new r42

i have captured +cmgr from cli and attaching as a file 
my thought is this is a sms with two parts 

Original comment by shabbira...@gmail.com on 17 Oct 2014 at 8:49

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, chan_dongle is channel driver, not IPhone6.

Join multipart messages is not functions of chan_dongle.
You require for driver of your NIC join yours Skype messages ?

You free to receive RAW +CMGR URC, decode with external existing libraries or 
programs and try join mitipart messages if really need.

Original comment by bg_...@mail.ru on 9 Nov 2014 at 12:07