Giter Club home page Giter Club logo

Comments (24)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
[deleted comment]

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024

Original comment by [email protected] on 6 Jul 2011 at 3:03

  • Changed state: Accepted

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
message has OA TOA field = 0xD0 

error in pdu_parse_number() 

Original comment by [email protected] on 6 Jul 2011 at 3:19

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024

Original comment by [email protected] on 9 Jul 2011 at 10:29

  • Changed state: Started

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Hi!

Any update on this bug?

Thank you!

Original comment by [email protected] on 15 Sep 2011 at 11:28

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Issue 42 has been merged into this issue.

Original comment by [email protected] on 4 Nov 2011 at 5:03

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024

Original comment by [email protected] on 4 Nov 2011 at 5:06

  • Changed state: Duplicate

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
TYPE OF NR. :   Alpha (acc. to TS 03.38)

Original comment by [email protected] on 14 Nov 2011 at 1:58

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Anything new here. I also have this bug.

Original comment by [email protected] on 13 Oct 2012 at 11:42

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
I am also getting same error. Any news about this bug?

Original comment by [email protected] on 23 Mar 2013 at 9:38

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
[May 15 16:17:06] WARNING[8201]: at_response.c:1204 at_response_cmgr: [dongle0] 
Error parsing incoming message '+CMGR: 0,,... ' at possition 36: Can't parse OA
[May 15 16:18:28] WARNING[6596]: at_response.c:1204 at_response_cmgr: [dongle0] 
Error parsing incoming message '+CMGR: 0,,...' at possition 38: Can't parse OA
[May 15 16:18:40] WARNING[6591]: at_response.c:1204 at_response_cmgr: [dongle0] 
Error parsing incoming message '+CMGR: 0,,...' at possition 48: Can't parse OA
....
please some one , little help, point direction

Original comment by [email protected] on 16 May 2013 at 6:46

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Hi, this happens because Chan dongle doesn't have support dor alphabetical 
addresses (eg TS 03.38), and the type of address descriptor in the pdu is 
probably D0 .
if you still want to get the rest of the message   just modify pdu.c
from this:
                   digit = pdu_code2digit(pdu[0][1]);
                                if(digit <= 0)
                                        return -1;
                                *number++ = digit;
                                digit = pdu_code2digit(pdu[0][0]);
                                if(digit < 0 || (digit == 0 && (syms != 2 || (digits & 0x1) == 0)) || (digit!=16))
                                        return -1;
                                *number++ = digit;
to this:
 digit = pdu_code2digit(pdu[0][1]);
                             /*   if(digit <= 0)
                                        return -1;*/
                                *number++ = digit;
                                digit = pdu_code2digit(pdu[0][0]);
                               /* if(digit < 0 || (digit == 0 && (syms != 2 || (digits & 0x1) == 0)) || (digit!=16))
                                        return -1;*/
                                *number++ = digit;

This is just commenting those if and increasing the pointer to force the 
parsing of the rest of the message.
compile, unload->load chan dongle in asterisk and try it.
This is not really a solution but at least it is a workaround.

p.d i'm attaching my chan_dongle.so (compiled for debian lenny and tested with 
asterisk 1.8.3.3)  to save you the trouble, it also contains a fix to be able 
to send messages to short codes (eg message to 2266 to subscribe by sms to a 
service // https://code.google.com/p/asterisk-chan-dongle/issues/detail?id=21 ) 
and also additional dongle models in pdiscovery.c that i have tested

pdiscovery.c:   { 0x12d1, 0x1001, { 2, 1, /* 0 */ } },      /* E1550 and generic */
pdiscovery.c:   { 0x12d1, 0x1465, { 2, 1, /* 0 */ } },      /* K3520 */
pdiscovery.c:   { 0x12d1, 0x140c, { 3, 2, /* 0 */ } },      /* E17xx */
pdiscovery.c:   { 0x12d1, 0x1436, { 4, 3, /* 0 */ } },      /* E1750 */
pdiscovery.c:   { 0x12d1, 0x1506, { 1, 2, /* 0 */ } },      /* E171  */

Regards.

Original comment by [email protected] on 6 Jul 2013 at 6:30

Attachments:

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Hi everybody.
I propose attached patch as a solution to this problem. With it, chan_dongle 
can decode alphanumeric TP-OA and some other types of TP-PID.
I also attached some cases, which I used for testing.

Original comment by [email protected] on 24 Jul 2013 at 3:59

Attachments:

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
good work, patch works for me. Can you add this patch in the main version of 
chan-dongle?

Original comment by [email protected] on 5 Aug 2013 at 12:57

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Hi, I also applyed this patch, but still don't work.

here is my error:

[Aug  7 15:12:42] WARNING[13044] at_response.c: [dongle0] Error parsing 
incoming message '+CMGR: 0,,86
069183950805F1040691839577340031807051210280505479D95DA7BBDF207718240F8FEBEE3A28
DD0ECF41B51BCB0603ADDD2E9035CC5687DDEF391D44B7BFCF20F1DB2D7EBB4162F95B1D06A5E7F4
F4B80C92DD5CB09C4B068BCD5C' at possition 42: Unhandled PID value, only SMS 
supported


is this related to this bug?

Best regards, 
Franjo

Original comment by [email protected] on 7 Aug 2013 at 1:25

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Is possible to view original PDU message in dialpaln, so I can use custom 
(external) PDU decoder?

Original comment by [email protected] on 13 Aug 2013 at 7:40

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
THANKS   this is good patch also working for me
i have applied patch to this version
chan_dongle: Huawei 3G Dongle Channel Driver, Version 1.1, Revision 14

very good  thanks for patch

is it possible to send sms message   with special characters  like  (,) or (@) 
or others  can anyone help  me  ????????????????????

Original comment by [email protected] on 14 Dec 2013 at 4:31

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Glad I found this forum, I have same problem.

My Problem is also that the from address contains alfabetical characters: like 
this
#Mabcda>14:11 UITGESCH 01 Rick

[2013-12-16 08:50:00] WARNING[3002]: at_response.c:1207 at_response_cmgr: 
[dongle0] Error parsing incoming message '+CMGR: 0,,41
07911356131313F60400803900312161809475401FA3E6DB4D9FB7C33E184E57B38188C522139474
8240B018485A769701' at possition 34: Can't parse length of OA

So I think you found a solution/patch, please can you let me know how to apply 
it.
Which commands to make the patch work, please ?

Can it also deal with # and > ?

thanks a lot!


Original comment by [email protected] on 16 Dec 2013 at 3:15

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
i have applied this patch this way 
1.    download patch 
2.go to source off patch  for example i have source chan_dongle  in 
  /usr/src/chan_dongle-1.1.r14

cd /usr/src/chan_dongle-1.1.r14

i have downloaded this patch in Downloads folder
patch  <  /root/Downloads/chan-dongle-alphanumeric-pdu.patch

3. make
4. make install
5.  asterisk  -r
6.  core restart now 
   and u have done

Original comment by [email protected] on 16 Dec 2013 at 4:09

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Thanks so much.
It was precompiled, so I could not so it, but now I get help from here:

https://sourceforge.net/p/raspbx/discussion/bugreports/thread/e721a550/

Original comment by [email protected] on 17 Dec 2013 at 10:49

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
hi sorry to bother but this patch chan-dongle-alphanumeric-pdu.patch still not 
working on Number that didnot in International Format. Something like 99999

but on Sender As Letters, itw worked. such as "INDOSAT".

Original comment by [email protected] on 22 Mar 2014 at 7:03

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
I think because the OA field is empty, I have same problem :
WARNING[4425]: at_response.c:1207 at_response_cmgr: [dongle1] Error parsing 
incoming message '+CMGR: 0,,43
07911356131313F6040080390041400280641180222358CC56C3C960B219CC07C3E968345035493D
16A7432408160349CBEE32' at possition 34: Can't parse length of OA

Can someone smart adjust the code and let us know, please?

Original comment by [email protected] on 20 Apr 2014 at 7:06

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
It's been a while. Any progress with this kind of issue? My error is:

WARNING[3592]: at_response.c:1207 at_response_cmgr: [dongle0] Error parsing 
incoming message '+CMGR: 0,,43
07915389080003F124068171002600F1511050127063801ED9775D0E8287E7F3FB5B4E0681463119
4E064ACF41301CAC269B01' at possition 44: Unsupported DCS value

Original comment by [email protected] on 5 Jan 2015 at 7:09

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
I was bitten by this same bug as well. Too bad it is taking so long to merge 
this patch.

Original comment by [email protected] on 15 Mar 2015 at 6:49

from asterisk-chan-dongle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.