Giter Club home page Giter Club logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
dongle sms <device> <number> <message>
expect International format for <number> field.


please use dongle pdu for sending to other numbers or other message types.

Original comment by [email protected] on 24 Jul 2011 at 8:58

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Thanks for your reply.

Any useful guide to send message using PDU from linux environment? 

Original comment by [email protected] on 25 Jul 2011 at 8:58

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
I found several PDU libraries like java pduutils.jar of smslib, Perl 
http://www.umts-tools.org/docs/SMS/ or others...
PDU easy to encode, online java-scipt converters also found


Other way: use external software (not asterisk/chan_dongle) for sending SMS on 
COM port of modem

usually 
/dev/ttyUSB0 - COM
/dev/ttyUSB1 - voice
/dev/ttyUSB2 - DATA (extended COM)

Original comment by [email protected] on 25 Jul 2011 at 6:42

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
I am thinking to use minicom to try this

Original comment by [email protected] on 26 Jul 2011 at 6:14

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
The original chan_datacard does work. I think something was changed in the 
branches that dont allow it maybe can put it back as option. I also require to 
send to short numbers. 

Unless some one have some other way to work.

Original comment by [email protected] on 19 Aug 2011 at 2:04

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
http://www.dreamfabric.com/sms/type_of_address.html

patch for:
pdu.c

185,187d184
< #define NUMBER_TYPE_NETWORKSHORT              0xB1
< #define NUMBER_TYPE_UNKNOWN                   0x81
< 
568c565
<       if(dst[0] == '+'){
---
>       if(dst[0] == '+')
570,576d566
<       }else{
<               if(strlen(dst)<6){
<                       dst_toa=NUMBER_TYPE_NETWORKSHORT; //0xB1
<               }else{
<                       dst_toa=NUMBER_TYPE_UNKNOWN; //0X81
<               }
<       }

Original comment by [email protected] on 10 Oct 2011 at 7:01

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
You can use PDUspy to construct one-off SMSs. http://www.nobbi.com/pduspy.html 
It is a win32 app but works fine in Wine too. Make sure you select Unknown for 
TON field. Network specific number did not work for me.

Original comment by [email protected] on 13 Oct 2011 at 11:45

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
is there any way to send sms to short number

there how can use pdu library and modem can support with asterisk and if we use 
pdu as same time ?

Original comment by [email protected] on 13 Jan 2012 at 7:40

from asterisk-chan-dongle.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Hi [email protected]

your patch works !!!

Thank you very much

Original comment by [email protected] on 2 Feb 2013 at 7:25

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.