Open GoogleCodeExporter opened 9 years ago
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 bg_...@mail.ru
on 24 Jul 2011 at 8:58
Thanks for your reply.
Any useful guide to send message using PDU from linux environment?
Original comment by geosoh...@gmail.com
on 25 Jul 2011 at 8:58
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 bg_...@mail.ru
on 25 Jul 2011 at 6:42
I am thinking to use minicom to try this
Original comment by geosoh...@gmail.com
on 26 Jul 2011 at 6:14
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 coretw...@gmail.com
on 19 Aug 2011 at 2:04
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 foundans...@gmail.com
on 10 Oct 2011 at 7:01
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 sta...@gmail.com
on 13 Oct 2011 at 11:45
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 webomli...@gmail.com
on 13 Jan 2012 at 7:40
Original issue reported on code.google.com by
geosoh...@gmail.com
on 24 Jul 2011 at 7:51