FreeCalypso > hg > sms-coding-utils
annotate scripts/gen-sms-deliver-pdu @ 18:590b0b5bcbbb
sms-gen-tpdu: support setting VP for MO
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 27 Aug 2023 07:55:13 +0000 |
parents | b8d8f8a3cdb7 |
children |
rev | line source |
---|---|
13
b8d8f8a3cdb7
scripts: wrappers for network-side SMS-DELIVER PDU generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 #!/bin/sh |
b8d8f8a3cdb7
scripts: wrappers for network-side SMS-DELIVER PDU generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
b8d8f8a3cdb7
scripts: wrappers for network-side SMS-DELIVER PDU generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 if [ $# -lt 1 ] |
b8d8f8a3cdb7
scripts: wrappers for network-side SMS-DELIVER PDU generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 then |
b8d8f8a3cdb7
scripts: wrappers for network-side SMS-DELIVER PDU generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 echo "usage: $0 from-number [options]" 1>&2 |
b8d8f8a3cdb7
scripts: wrappers for network-side SMS-DELIVER PDU generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 exit 1 |
b8d8f8a3cdb7
scripts: wrappers for network-side SMS-DELIVER PDU generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 fi |
b8d8f8a3cdb7
scripts: wrappers for network-side SMS-DELIVER PDU generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
b8d8f8a3cdb7
scripts: wrappers for network-side SMS-DELIVER PDU generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 (sms-deliver-pdu-hdr "$@"; cat) | sms-gen-tpdu mt |