anthill_smpp_ruby 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. data/MIT-LICENSE +21 -0
  2. data/README +30 -0
  3. data/anthill_smpp_ruby.gemspec +18 -0
  4. data/changelog +43 -0
  5. data/data/dumps/random_command.dump +1 -0
  6. data/data/dumps/smpp_alert_notification.dump +1 -0
  7. data/data/dumps/smpp_bind_receiver.dump +1 -0
  8. data/data/dumps/smpp_bind_receiver_resp.dump +1 -0
  9. data/data/dumps/smpp_bind_transceiver.dump +1 -0
  10. data/data/dumps/smpp_bind_transceiver_1.dump +2 -0
  11. data/data/dumps/smpp_bind_transceiver_resp.dump +1 -0
  12. data/data/dumps/smpp_bind_transmitter.dump +1 -0
  13. data/data/dumps/smpp_bind_transmitter_resp.dump +1 -0
  14. data/data/dumps/smpp_broadcast_sm.dump +1 -0
  15. data/data/dumps/smpp_broadcast_sm_resp.dump +1 -0
  16. data/data/dumps/smpp_cancel_broadcast_sm.dump +1 -0
  17. data/data/dumps/smpp_cancel_broadcast_sm_resp.dump +1 -0
  18. data/data/dumps/smpp_cancel_sm.dump +1 -0
  19. data/data/dumps/smpp_cancel_sm_resp.dump +1 -0
  20. data/data/dumps/smpp_data_sm.dump +1 -0
  21. data/data/dumps/smpp_data_sm_resp.dump +1 -0
  22. data/data/dumps/smpp_deliver_sm.dump +1 -0
  23. data/data/dumps/smpp_deliver_sm_resp.dump +1 -0
  24. data/data/dumps/smpp_enquire_link.dump +1 -0
  25. data/data/dumps/smpp_enquire_link_resp.dump +1 -0
  26. data/data/dumps/smpp_generic_nack.dump +1 -0
  27. data/data/dumps/smpp_outbind.dump +1 -0
  28. data/data/dumps/smpp_query_broadcast_sm.dump +1 -0
  29. data/data/dumps/smpp_query_broadcast_sm_resp.dump +1 -0
  30. data/data/dumps/smpp_query_broadcast_sm_resp_1.dump +1 -0
  31. data/data/dumps/smpp_query_sm.dump +1 -0
  32. data/data/dumps/smpp_query_sm_resp.dump +1 -0
  33. data/data/dumps/smpp_replace_sm.dump +1 -0
  34. data/data/dumps/smpp_replace_sm_resp.dump +1 -0
  35. data/data/dumps/smpp_submit_multi.dump +1 -0
  36. data/data/dumps/smpp_submit_multi_resp.dump +1 -0
  37. data/data/dumps/smpp_submit_sm.dump +1 -0
  38. data/data/dumps/smpp_submit_sm_resp.dump +1 -0
  39. data/data/dumps/smpp_unbind.dump +1 -0
  40. data/data/dumps/smpp_unbind_resp.dump +1 -0
  41. data/data/pdus/random_command.xml +35 -0
  42. data/data/pdus/smpp_alert_notification.xml +14 -0
  43. data/data/pdus/smpp_alert_notification_no_optional.xml +13 -0
  44. data/data/pdus/smpp_bind_receiver.xml +17 -0
  45. data/data/pdus/smpp_bind_receiver_resp.xml +12 -0
  46. data/data/pdus/smpp_bind_receiver_resp_no_optional.xml +11 -0
  47. data/data/pdus/smpp_bind_transceiver.xml +17 -0
  48. data/data/pdus/smpp_bind_transceiver_resp.xml +12 -0
  49. data/data/pdus/smpp_bind_transceiver_resp_no_optional.xml +11 -0
  50. data/data/pdus/smpp_bind_transmitter.xml +17 -0
  51. data/data/pdus/smpp_bind_transmitter_resp.xml +12 -0
  52. data/data/pdus/smpp_bind_transmitter_resp_no_optional.xml +11 -0
  53. data/data/pdus/smpp_broadcast_sm.xml +47 -0
  54. data/data/pdus/smpp_broadcast_sm_no_optional.xml +26 -0
  55. data/data/pdus/smpp_broadcast_sm_resp.xml +14 -0
  56. data/data/pdus/smpp_broadcast_sm_resp_no_optional.xml +8 -0
  57. data/data/pdus/smpp_cancel_broadcast_sm.xml +17 -0
  58. data/data/pdus/smpp_cancel_broadcast_sm_no_optional.xml +15 -0
  59. data/data/pdus/smpp_cancel_broadcast_sm_resp.xml +7 -0
  60. data/data/pdus/smpp_cancel_sm.xml +18 -0
  61. data/data/pdus/smpp_cancel_sm_resp.xml +10 -0
  62. data/data/pdus/smpp_commands.xsd +914 -0
  63. data/data/pdus/smpp_data_sm.xml +58 -0
  64. data/data/pdus/smpp_data_sm_no_optional.xml +17 -0
  65. data/data/pdus/smpp_data_sm_resp.xml +15 -0
  66. data/data/pdus/smpp_data_sm_resp_no_optional.xml +8 -0
  67. data/data/pdus/smpp_deliver_sm.xml +46 -0
  68. data/data/pdus/smpp_deliver_sm_no_optional.xml +25 -0
  69. data/data/pdus/smpp_deliver_sm_resp.xml +14 -0
  70. data/data/pdus/smpp_deliver_sm_resp_no_optional.xml +8 -0
  71. data/data/pdus/smpp_enquire_link.xml +10 -0
  72. data/data/pdus/smpp_enquire_link_resp.xml +10 -0
  73. data/data/pdus/smpp_generic_nack.xml +10 -0
  74. data/data/pdus/smpp_outbind.xml +12 -0
  75. data/data/pdus/smpp_query_broadcast_sm.xml +12 -0
  76. data/data/pdus/smpp_query_broadcast_sm_no_optional.xml +11 -0
  77. data/data/pdus/smpp_query_broadcast_sm_resp.xml +17 -0
  78. data/data/pdus/smpp_query_broadcast_sm_resp_no_optional.xml +15 -0
  79. data/data/pdus/smpp_query_sm.xml +11 -0
  80. data/data/pdus/smpp_query_sm_resp.xml +11 -0
  81. data/data/pdus/smpp_replace_sm.xml +18 -0
  82. data/data/pdus/smpp_replace_sm_no_optional.xml +17 -0
  83. data/data/pdus/smpp_replace_sm_resp.xml +7 -0
  84. data/data/pdus/smpp_submit_multi.xml +73 -0
  85. data/data/pdus/smpp_submit_multi_no_optional.xml +51 -0
  86. data/data/pdus/smpp_submit_multi_resp.xml +35 -0
  87. data/data/pdus/smpp_submit_sm.xml +57 -0
  88. data/data/pdus/smpp_submit_sm_no_optional.xml +28 -0
  89. data/data/pdus/smpp_submit_sm_resp.xml +8 -0
  90. data/data/pdus/smpp_unbind.xml +10 -0
  91. data/data/pdus/smpp_unbind_resp.xml +10 -0
  92. data/examples/dump_viewer.rb +298 -0
  93. data/examples/pdu_composer.rb +1331 -0
  94. data/knownbugs +24 -0
  95. data/lib/anthill_smpp_ruby.rb +83 -0
  96. data/lib/i_smpp_outputter.rb +425 -0
  97. data/lib/pdu/smpp_alert_notification.rb +132 -0
  98. data/lib/pdu/smpp_bind.rb +102 -0
  99. data/lib/pdu/smpp_bind_receiver.rb +29 -0
  100. data/lib/pdu/smpp_bind_receiver_resp.rb +30 -0
  101. data/lib/pdu/smpp_bind_resp.rb +100 -0
  102. data/lib/pdu/smpp_bind_transceiver.rb +29 -0
  103. data/lib/pdu/smpp_bind_transceiver_resp.rb +31 -0
  104. data/lib/pdu/smpp_bind_transmitter.rb +29 -0
  105. data/lib/pdu/smpp_bind_transmitter_resp.rb +30 -0
  106. data/lib/pdu/smpp_broadcast_sm.rb +566 -0
  107. data/lib/pdu/smpp_broadcast_sm_resp.rb +130 -0
  108. data/lib/pdu/smpp_cancel_broadcast_sm.rb +143 -0
  109. data/lib/pdu/smpp_cancel_broadcast_sm_resp.rb +60 -0
  110. data/lib/pdu/smpp_cancel_sm.rb +110 -0
  111. data/lib/pdu/smpp_cancel_sm_resp.rb +60 -0
  112. data/lib/pdu/smpp_data_sm.rb +679 -0
  113. data/lib/pdu/smpp_data_sm_resp.rb +148 -0
  114. data/lib/pdu/smpp_deliver_sm.rb +458 -0
  115. data/lib/pdu/smpp_deliver_sm_resp.rb +137 -0
  116. data/lib/pdu/smpp_enquire_link.rb +59 -0
  117. data/lib/pdu/smpp_enquire_link_resp.rb +61 -0
  118. data/lib/pdu/smpp_generic_nack.rb +61 -0
  119. data/lib/pdu/smpp_outbind.rb +71 -0
  120. data/lib/pdu/smpp_pdu.rb +90 -0
  121. data/lib/pdu/smpp_query_broadcast_sm.rb +120 -0
  122. data/lib/pdu/smpp_query_broadcast_sm_resp.rb +192 -0
  123. data/lib/pdu/smpp_query_sm.rb +92 -0
  124. data/lib/pdu/smpp_query_sm_resp.rb +92 -0
  125. data/lib/pdu/smpp_replace_sm.rb +172 -0
  126. data/lib/pdu/smpp_replace_sm_resp.rb +61 -0
  127. data/lib/pdu/smpp_resp.rb +40 -0
  128. data/lib/pdu/smpp_submit_multi.rb +517 -0
  129. data/lib/pdu/smpp_submit_multi_resp.rb +90 -0
  130. data/lib/pdu/smpp_submit_sm.rb +591 -0
  131. data/lib/pdu/smpp_submit_sm_resp.rb +72 -0
  132. data/lib/pdu/smpp_unbind.rb +60 -0
  133. data/lib/pdu/smpp_unbind_resp.rb +61 -0
  134. data/lib/smpp_constants.rb +917 -0
  135. data/lib/smpp_csv_outputter.rb +1601 -0
  136. data/lib/smpp_datatypes.rb +89 -0
  137. data/lib/smpp_decoder.rb +627 -0
  138. data/lib/smpp_encoder.rb +495 -0
  139. data/lib/smpp_hex_outputter.rb +36 -0
  140. data/lib/smpp_outputter_base.rb +315 -0
  141. data/lib/smpp_structures.rb +98 -0
  142. data/lib/smpp_txt_outputter.rb +1895 -0
  143. data/lib/smpp_validator.rb +373 -0
  144. data/lib/smpp_xml_outputter.rb +34 -0
  145. data/roadmap +18 -0
  146. data/setup.rb +1585 -0
  147. data/test/anthill_smpp_test.rb +29 -0
  148. data/test/smpp_codec_test.rb +30 -0
  149. data/test/smpp_datatypes_test.rb +69 -0
  150. data/test/smpp_outputter_test.rb +1261 -0
  151. data/test/smpp_parsing_test.rb +1758 -0
  152. data/test/smpp_rawdump_test.rb +2095 -0
  153. data/test/smpp_validator_test.rb +441 -0
  154. metadata +206 -0
@@ -0,0 +1,21 @@
1
+ Copyright (c) 2011 Artem Rufanov
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
+
data/README ADDED
@@ -0,0 +1,30 @@
1
+ Introduction:
2
+ The AntHill SMPP is a powerful networking library which implements SMPP protocol (v3.4 and 5.0) and supply different
3
+ fail-over and scaling functionality for it based on AntHill library.
4
+
5
+ Report a bug:
6
+ Try to search for similar issues in our bug database (http:://www.majoron.com/support/) before report a bug.
7
+ If you did not find anything similar then please submit the new bug. Please use following tips to report a bug:
8
+ The basics: what you did, what you wanted to happen, and what actually happened.
9
+ If you don't understand the error message - please ask for help in forum.
10
+ Be brief, but don't leave any important details out.
11
+ Use plain English describing the problem.
12
+ Please describe one problem in each separate bug report.
13
+ Please do not report bugs for old versions.
14
+
15
+ Release Notes:
16
+
17
+ Version 0.5
18
+ -----------
19
+ -Implemented SMPP encoder/decoder. Support SMPP v3.4 & 5.0 (draft 6)
20
+ -Implemented txt & csv outputters to dump SMPP package into stream
21
+ -Implemented a lot of unit tests to verify SMPP coding and decoding
22
+ -Implemented SMPP dump viewer to see SMPP packages
23
+ -Implemented SMPP pdu composer to create SMPP package based on XML description
24
+ -Included XSD scheme for SMPP protocol
25
+ -Included a set of SMPP packages as XML files according to XSD schema
26
+ -Included a set of valid and invalid SMPP dumps
27
+
28
+
29
+ Copyright (c) 2011 arufanov, released under the MIT license.
30
+
@@ -0,0 +1,18 @@
1
+ require 'date'
2
+ Gem::Specification.new do |s|
3
+ s.name = %q{anthill_smpp_ruby}
4
+ s.version = "0.5.1"
5
+ s.date = Date.today.to_s
6
+ s.summary = %q{The AntHill SMPP is a powerful networking library which implements SMPP protocol (v3.4 and 5.0) and supply different fail-over and scaling functionality for it based on AntHill library.}
7
+ s.description = %q{The AntHill SMPP is a powerful networking library which implements SMPP protocol (v3.4 and 5.0) and supply different fail-over and scaling functionality for it based on AntHill library.}
8
+ s.author = %q{Artem Rufanov}
9
+ s.email = %q{developers@majoron.com}
10
+ s.homepage = %q{http://www.majoron.com/project/smpp/ruby}
11
+ s.files = Dir.glob('**/*') - Dir.glob('distrib/**/*') - Dir.glob('lib/api/**/*') - Dir.glob('doc/*.xpr')
12
+ s.bindir = 'bin'
13
+ s.executables = Dir.glob('bin/*').collect {|f| File.basename(f)}
14
+ s.require_paths << 'doc' << 'examples' << 'lib' << 'test'
15
+ s.has_rdoc = true
16
+ s.required_ruby_version = '>= 1.8.6'
17
+ s.requirements << 'anthill, v 0.5.1 or greater'
18
+ end
@@ -0,0 +1,43 @@
1
+ Introduction:
2
+ To see the latest list of the change log please visit the Change Log page at www.majoron.com.
3
+
4
+ Legend:
5
+ Follow notation is used at change log, roadmap and known bugs. Each bug begins with a version,
6
+ then follow category of the bug inside {}. It can be bug report, feature request and etc.
7
+ Then follow component inside []. After follow bug number at bug tracking system between // signs.
8
+ And then follow a short description of the bug.
9
+
10
+ Example:
11
+ For example bug: "1.0 { Feature Request } [ AntHill ] / 380 / STLport support required" means
12
+ that bug was created for 1.0 version of the AntHill component, bug is feature request with
13
+ 380 number at bug tracking system. And bug requires STLPort support implementation.
14
+
15
+ Version 0.5
16
+ -----------
17
+ 0.5 { Bug Report } [ SMPP ] / X / Make single namespace AntHill
18
+ 0.5 { Bug Report } [ SMPP ] / X / Ported to Ruby 1.9.2
19
+ 0.5 { Bug Report } [ SMPP ] / X / Updated dependence to anthill v 0.5.1
20
+ 0.5 { Bug Report } [ SMPP ] / 808 / Invalid verification at smpp validator
21
+ 0.5 { Bug Report } [ SMPP ] / 806 / Invalid message payload coding
22
+ 0.5 { Bug Report } [ SMPP ] / 792 / Invalid xsd : Element address_range has invalid type
23
+ 0.5 { Bug Report } [ SMPP ] / 786 / Remove ant from _local_run_cmd.
24
+ 0.5 { Bug Report } [ SMPP ] / 785 / Unit test doesn't work untill it is executed at batch
25
+ 0.5 { Bug Report } [ SMPP ] / 767 / Implemente complex verification, for exampe short_message, message_payload
26
+ 0.5 { Bug Report } [ SMPP ] / 766 / Invalid addr type at xsd
27
+ 0.5 { Bug Report } [ SMPP ] / 764 / Invalid license text due to replace
28
+ 0.5 { Bug Report } [ SMPP ] / 758 / Add UserMessageReference to xsd &amp; xml for SMPPSubmitMultiCommand
29
+ 0.5 { Bug Report } [ SMPP ] / 755 / XSD schema, invalid type for sequence nubmer
30
+ 0.5 { Bug Report } [ SMPP ] / 751 / Set let for all c octet strings fileds and binary fields
31
+ 0.5 { Bug Report } [ SMPP ] / 738 / Use ruby rather than C++ syntax
32
+ 0.5 { Bug Report } [ Samples ] / 807 / Invalid command status encoding for PDUComposer
33
+ 0.5 { Bug Report } [ Samples ] / 805 / Error while to execute pdu_composer for smpp_submit_multi
34
+ 0.5 { Bug Report } [ Samples ] / 790 / Key options overlapping (-h = help and -h=show hex)
35
+ 0.5 { Bug Report } [ Samples ] / 784 / Sample exec without params lead to call stack
36
+ 0.5 { Bug Report } [ Samples ] / 763 / Invaid output for bind receiver
37
+ 0.5 { Bug Report } [ Samples ] / 743 / Allow to off and on by command line option rather than only on.
38
+ 0.5 { Feature Request } [ SMPP ] / 768 / Validate submit multi and submit_multi_resp
39
+ 0.5 { Feature Request } [ SMPP ] / 732 / Refactoring for SMPPBind* commands
40
+ 0.5 { Feature Request } [ Setup ] / 776 / Write to readme.txt files how to report a bug.
41
+ 0.5 { Feature Request } [ Samples ] / 756 / Create a type for fields at xsd schema
42
+ 0.5 { Feature Request } [ Samples ] / 747 / Implement simple xml schema validation at smpp_composer
43
+ 0.5 { Feature Request } [ Samples ] / 741 / Add SMPP xml schema validation
@@ -0,0 +1 @@
1
+ 00 00 00 E6 00 00 00 21 00 00 00 00 00 00 00 0C 73 72 76 74 70 00 01 02 31 32 33 00 06 02 64 69 73 74 72 5F 6C 69 73 74 31 00 02 64 69 73 74 72 5F 6C 69 73 74 32 00 01 31 31 31 32 33 00 01 32 32 32 32 33 00 02 64 69 73 74 72 5F 6C 69 73 74 31 00 02 64 69 73 74 72 5F 6C 69 73 74 32 00 01 02 03 00 00 04 05 06 07 00 02 0A 00 02 00 02 00 0D 00 01 03 02 0B 00 02 00 04 00 05 00 01 05 02 0C 00 02 00 06 02 0E 00 01 07 02 0F 00 01 08 00 19 00 01 09 04 24 00 05 01 02 03 AA F1 02 01 00 01 0A 03 81 00 04 01 02 AA F2 03 02 00 01 0B 03 03 00 04 01 02 AA F3 02 02 00 04 01 02 AA F4 02 03 00 04 01 02 AA F5 12 01 00 01 0C 12 03 00 02 00 0D 12 04 00 01 0E 00 30 00 01 0F 13 0C 00 01 10 02 0D 00 01 11
@@ -0,0 +1 @@
1
+ 00 00 00 21 00 00 01 02 00 00 00 00 00 00 00 0C 01 01 31 32 33 00 02 02 33 32 31 00 04 22 00 01 01
@@ -0,0 +1 @@
1
+ 00 00 00 22 00 00 00 01 00 00 00 00 00 00 00 0C 33 31 00 31 31 31 00 73 6D 73 00 00 01 02 31 32 33 00
@@ -0,0 +1 @@
1
+ 00 00 00 1C 80 00 00 01 00 00 00 00 00 00 00 0C 73 79 73 5F 69 64 00 02 10 00 01 00
@@ -0,0 +1 @@
1
+ 00 00 00 22 00 00 00 09 00 00 00 00 00 00 00 0C 33 31 00 31 31 31 00 73 6D 73 00 00 01 02 31 32 33 00
@@ -0,0 +1,2 @@
1
+ 00 00 00 2E 00 00 00 09 00 00 00 00 00 00 00 0B 53 79 73 74 65 6D 49
2
+ 64 00 70 61 73 73 77 6F 72 64 00 53 4D 53 43 00 50 01 01 31 32 33 00
@@ -0,0 +1 @@
1
+ 00 00 00 1C 80 00 00 09 00 00 00 00 00 00 00 0C 73 79 73 5F 69 64 00 02 10 00 01 00
@@ -0,0 +1 @@
1
+ 00 00 00 22 00 00 00 02 00 00 00 00 00 00 00 0C 33 31 00 31 31 31 00 73 6D 73 00 00 01 02 31 32 33 00
@@ -0,0 +1 @@
1
+ 00 00 00 1C 80 00 00 02 00 00 00 00 00 00 00 0C 73 79 73 5F 69 64 00 02 10 00 01 00
@@ -0,0 +1 @@
1
+ 00 00 00 C5 00 00 01 11 00 00 00 00 00 00 00 0C 73 72 76 74 70 00 01 02 31 32 33 00 33 34 35 00 01 00 00 03 04 05 06 06 00 02 01 FF 06 06 00 02 01 AF 06 06 00 02 01 DF 06 01 00 03 01 02 FF 06 04 00 02 00 0A 06 05 00 03 01 02 FF 13 0C 00 01 01 06 00 00 01 02 06 02 00 03 01 FF AA 06 03 00 01 03 06 0A 00 03 01 FF AA 03 81 00 01 10 03 03 00 03 01 FF AA 03 02 00 01 04 02 03 00 03 01 FF AA 02 0B 00 02 00 05 12 01 00 01 06 02 0D 00 01 07 04 24 00 03 01 FF AA 12 04 00 01 08 00 19 00 01 09 02 01 00 01 0A 12 03 00 02 00 0B 00 0D 00 01 0C 02 0A 00 02 00 0D 02 02 00 03 01 FF AA 02 04 00 02 00 16
@@ -0,0 +1 @@
1
+ 00 00 00 2E 80 00 01 11 00 00 00 00 00 00 00 0C 31 32 33 00 06 07 00 04 00 00 00 01 06 06 00 02 01 FF 06 06 00 02 01 AF 06 06 00 02 01 DF
@@ -0,0 +1 @@
1
+ 00 00 00 2C 00 00 01 13 00 00 00 00 00 00 00 0C 73 72 76 74 70 00 31 32 33 00 01 01 31 32 33 00 06 01 00 02 01 FF 02 04 00 02 00 0A
@@ -0,0 +1 @@
1
+ 00 00 00 10 80 00 01 13 00 00 00 00 00 00 00 0C
@@ -0,0 +1 @@
1
+ 00 00 00 26 00 00 00 08 00 00 00 00 00 00 00 0C 73 72 76 74 70 00 31 32 33 00 01 02 31 32 33 00 04 05 33 32 31 00
@@ -0,0 +1 @@
1
+ 00 00 00 10 80 00 00 08 00 00 00 00 00 00 00 0C
@@ -0,0 +1 @@
1
+ 00 00 01 00 00 00 01 03 00 00 00 00 00 00 00 0C 73 72 76 74 70 00 01 02 31 32 33 00 03 04 33 32 31 00 00 01 08 02 0A 00 02 00 01 00 0D 00 01 02 00 0E 00 01 03 00 0F 00 01 04 00 10 00 01 05 02 0B 00 02 00 06 00 05 00 01 07 00 06 00 01 08 00 07 00 01 09 00 08 00 01 0A 02 0C 00 02 00 0B 02 0E 00 01 0C 02 0F 00 01 0D 04 26 00 01 01 00 17 00 04 00 00 00 0E 00 19 00 01 0F 04 24 00 05 01 02 03 AF FF 04 21 00 01 10 00 1E 00 06 31 32 33 32 31 00 04 27 00 01 01 04 23 00 03 01 00 01 02 04 00 02 00 7B 02 01 00 01 01 03 81 00 02 FF AA 03 02 00 01 01 03 03 00 02 AA FF 02 02 00 02 AA FF 02 03 00 02 AA FF 02 05 00 01 01 12 01 00 01 02 12 03 00 02 00 03 12 04 00 01 04 00 30 00 01 05 03 04 00 01 06 03 04 00 01 06 13 0C 00 01 07 02 0D 00 01 08 13 80 00 01 09 13 83 00 02 00 0A
@@ -0,0 +1 @@
1
+ 00 00 00 29 80 00 01 03 00 00 00 00 00 00 00 0C 00 04 25 00 01 01 04 23 00 03 03 00 01 00 1D 00 03 01 FF AA 04 20 00 01 17
@@ -0,0 +1 @@
1
+ 00 00 00 96 00 00 00 05 00 00 00 00 00 00 00 0C 53 4D 53 00 01 02 31 32 33 00 04 05 33 32 31 00 06 07 08 00 00 09 0A 0B 0C 00 02 04 00 02 00 01 02 0A 00 02 00 02 02 0B 00 02 00 03 02 0C 00 02 00 04 02 0E 00 01 05 02 0F 00 01 06 02 05 00 01 07 02 01 00 01 08 00 19 00 01 09 04 24 00 03 01 FF AA 03 81 00 03 01 FF AA 02 02 00 03 01 FF AA 02 03 00 03 01 FF AA 02 0D 00 01 0A 13 83 00 02 00 0A 04 23 00 03 03 00 0C 04 27 00 01 03 00 1E 00 04 31 32 33 00
@@ -0,0 +1 @@
1
+ 00 00 00 24 80 00 00 05 00 00 00 00 00 00 00 0C 00 00 1D 00 03 01 FF AA 04 25 00 01 01 04 23 00 03 01 00 02
@@ -0,0 +1 @@
1
+ 00 00 00 10 00 00 00 15 00 00 00 00 00 00 00 0C
@@ -0,0 +1 @@
1
+ 00 00 00 10 80 00 00 15 00 00 00 00 00 00 00 0C
@@ -0,0 +1 @@
1
+ 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 0C
@@ -0,0 +1 @@
1
+ 00 00 00 19 00 00 00 0B 00 00 00 00 00 00 00 0C 73 74 6D 31 00 70 77 64 00
@@ -0,0 +1 @@
1
+ 00 00 00 20 00 00 01 12 00 00 00 00 00 00 00 0C 31 32 33 00 01 02 33 34 35 00 02 04 00 02 00 02
@@ -0,0 +1 @@
1
+ 00 00 00 36 80 00 01 12 00 00 00 00 00 00 00 0C 31 32 33 00 04 27 00 01 02 06 06 00 02 01 FF 06 06 00 02 01 AF 06 06 00 02 01 DF 06 08 00 01 66 02 04 00 02 00 7B
@@ -0,0 +1 @@
1
+ 00 00 00 3B 80 00 01 12 00 00 00 00 00 00 00 0C 31 32 33 00 04 27 00 01 02 06 06 00 02 01 FF 06 06 00 02 01 AF 06 06 00 02 01 DF 06 08 00 01 66 02 04 00 02 00 7B 06 09 00 01 00
@@ -0,0 +1 @@
1
+ 00 00 00 1A 00 00 00 03 00 00 00 00 00 00 00 0C 31 32 33 00 01 02 33 32 31 00
@@ -0,0 +1 @@
1
+ 00 00 00 17 80 00 00 03 00 00 00 00 00 00 00 0C 31 32 33 00 00 01 02
@@ -0,0 +1 @@
1
+ 00 00 00 26 00 00 00 07 00 00 00 00 00 00 00 0C 33 34 35 00 01 02 31 32 33 00 00 00 01 07 00 04 24 00 03 01 FF AA
@@ -0,0 +1 @@
1
+ 00 00 00 10 80 00 00 07 00 00 00 00 00 00 00 0C
@@ -0,0 +1 @@
1
+ 00 00 00 E2 00 00 00 21 00 00 00 00 00 00 00 0C 73 72 76 74 70 00 01 02 31 32 33 00 06 02 64 69 73 74 72 5F 6C 69 73 74 31 00 02 64 69 73 74 72 5F 6C 69 73 74 32 00 01 31 31 31 32 33 00 01 32 32 32 32 33 00 02 64 69 73 74 72 5F 6C 69 73 74 31 00 02 64 69 73 74 72 5F 6C 69 73 74 32 00 01 02 03 00 00 04 05 06 07 00 02 0A 00 02 00 02 00 0D 00 01 03 02 0B 00 02 00 04 00 05 00 01 05 02 0C 00 02 00 06 02 0E 00 01 07 02 0F 00 01 08 00 19 00 01 09 04 24 00 01 09 02 01 00 01 0A 03 81 00 04 01 02 AA FF 03 02 00 01 0B 03 03 00 04 01 02 AA FF 02 02 00 04 01 02 AA FF 02 03 00 04 01 02 AA FF 12 01 00 01 0C 12 03 00 02 00 0D 12 04 00 01 0E 00 30 00 01 0F 13 0C 00 01 10 02 0D 00 01 11
@@ -0,0 +1 @@
1
+ 00 00 00 33 80 00 00 21 00 00 00 00 00 00 00 0C 31 32 33 00 03 01 02 31 32 33 00 00 00 00 01 03 04 33 32 31 00 00 00 00 03 05 06 32 31 33 00 00 00 00 03
@@ -0,0 +1 @@
1
+ 00 00 00 C8 00 00 00 04 00 00 00 00 00 00 00 0C 53 4D 53 00 01 02 31 32 33 00 04 05 33 32 31 00 06 07 08 00 00 09 0A 0B 0C 00 02 04 00 02 00 01 02 0A 00 02 00 02 00 0D 00 01 03 02 0B 00 02 00 04 00 05 00 01 05 02 0C 00 02 00 06 02 0E 00 01 07 02 0F 00 01 08 04 26 00 01 09 00 19 00 01 0A 04 24 00 01 10 02 01 00 01 0B 03 81 00 04 01 02 AA FF 03 02 00 01 0C 03 03 00 04 01 02 AA FF 02 02 00 04 01 02 AA FF 02 03 00 04 01 02 AA FF 02 05 00 01 0D 12 01 00 01 0E 12 03 00 02 00 0F 12 04 00 01 10 00 30 00 01 11 03 04 00 01 12 13 0C 00 01 13 02 0D 00 01 14 13 80 00 01 15 13 83 00 02 00 16 05 01 00 01 17
@@ -0,0 +1 @@
1
+ 00 00 00 14 80 00 00 04 00 00 00 00 00 00 00 0C 31 32 33 00
@@ -0,0 +1 @@
1
+ 00 00 00 10 00 00 00 06 00 00 00 00 00 00 00 0C
@@ -0,0 +1 @@
1
+ 00 00 00 10 80 00 00 06 00 00 00 00 00 00 00 0C
@@ -0,0 +1,35 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <smpp_commands:smpp_commands xsi:schemaLocation="http://www.example.net/smpp_commands.xsd smpp_commands.xsd" xmlns:smpp_commands="http://www.example.net/smpp_commands.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <smpp_submit_multi_resp>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <message_id>123</message_id>
7
+ <no_unsuccess>3</no_unsuccess>
8
+ <unsuccess_smes>
9
+ <unsuccess_sme>
10
+ <sme_address>
11
+ <ton>1</ton>
12
+ <npi>2</npi>
13
+ <address>123</address>
14
+ </sme_address>
15
+ <error_status_code>1</error_status_code>
16
+ </unsuccess_sme>
17
+ <unsuccess_sme>
18
+ <sme_address>
19
+ <ton>3</ton>
20
+ <npi>4</npi>
21
+ <address>321</address>
22
+ </sme_address>
23
+ <error_status_code>3</error_status_code>
24
+ </unsuccess_sme>
25
+ <unsuccess_sme>
26
+ <sme_address>
27
+ <ton>5</ton>
28
+ <npi>6</npi>
29
+ <address>213</address>
30
+ </sme_address>
31
+ <error_status_code>3</error_status_code>
32
+ </unsuccess_sme>
33
+ </unsuccess_smes>
34
+ </smpp_submit_multi_resp>
35
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <smpp_commands:smpp_commands xsi:schemaLocation="http://www.example.net/smpp_commands.xsd smpp_commands.xsd" xmlns:smpp_commands="http://www.example.net/smpp_commands.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <smpp_alert_notification>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <source_addr_ton>1</source_addr_ton>
7
+ <source_addr_npi>1</source_addr_npi>
8
+ <source_addr>123</source_addr>
9
+ <esme_addr_ton>2</esme_addr_ton>
10
+ <esme_addr_npi>2</esme_addr_npi>
11
+ <esme_addr>321</esme_addr>
12
+ <ms_availability_status>1</ms_availability_status>
13
+ </smpp_alert_notification>
14
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <smpp_commands:smpp_commands xsi:schemaLocation="http://www.example.net/smpp_commands.xsd smpp_commands.xsd" xmlns:smpp_commands="http://www.example.net/smpp_commands.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <smpp_alert_notification>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <source_addr_ton>1</source_addr_ton>
7
+ <source_addr_npi>1</source_addr_npi>
8
+ <source_addr>123</source_addr>
9
+ <esme_addr_ton>2</esme_addr_ton>
10
+ <esme_addr_npi>2</esme_addr_npi>
11
+ <esme_addr>321</esme_addr>
12
+ </smpp_alert_notification>
13
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <smpp_commands:smpp_commands
3
+ xsi:schemaLocation="http://www.example.net/smpp_commands.xsd smpp_commands.xsd"
4
+ xmlns:smpp_commands="http://www.example.net/smpp_commands.xsd"
5
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6
+ <smpp_bind_receiver>
7
+ <command_status>0</command_status>
8
+ <sequence_number>12</sequence_number>
9
+ <system_id>31</system_id>
10
+ <password>111</password>
11
+ <system_type>sms</system_type>
12
+ <interface_version>0</interface_version>
13
+ <addr_ton>1</addr_ton>
14
+ <addr_npi>2</addr_npi>
15
+ <address_range>123</address_range>
16
+ </smpp_bind_receiver>
17
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <smpp_commands:smpp_commands
3
+ xsi:schemaLocation="http://www.example.net/smpp_commands.xsd smpp_commands.xsd"
4
+ xmlns:smpp_commands="http://www.example.net/smpp_commands.xsd"
5
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6
+ <smpp_bind_receiver_resp>
7
+ <command_status>0</command_status>
8
+ <sequence_number>12</sequence_number>
9
+ <system_id>sys_id</system_id>
10
+ <sc_interface_version>0</sc_interface_version>
11
+ </smpp_bind_receiver_resp>
12
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <smpp_commands:smpp_commands
3
+ xsi:schemaLocation="http://www.example.net/smpp_commands.xsd smpp_commands.xsd"
4
+ xmlns:smpp_commands="http://www.example.net/smpp_commands.xsd"
5
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6
+ <smpp_bind_receiver_resp>
7
+ <command_status>0</command_status>
8
+ <sequence_number>12</sequence_number>
9
+ <system_id>sys_id</system_id>
10
+ </smpp_bind_receiver_resp>
11
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <smpp_commands:smpp_commands
3
+ xsi:schemaLocation="http://www.example.net/smpp_commands.xsd smpp_commands.xsd"
4
+ xmlns:smpp_commands="http://www.example.net/smpp_commands.xsd"
5
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6
+ <smpp_bind_transceiver>
7
+ <command_status>0</command_status>
8
+ <sequence_number>12</sequence_number>
9
+ <system_id>31</system_id>
10
+ <password>111</password>
11
+ <system_type>sms</system_type>
12
+ <interface_version>0</interface_version>
13
+ <addr_ton>1</addr_ton>
14
+ <addr_npi>2</addr_npi>
15
+ <address_range>123</address_range>
16
+ </smpp_bind_transceiver>
17
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <smpp_commands:smpp_commands
3
+ xsi:schemaLocation="http://www.example.net/smpp_commands.xsd smpp_commands.xsd"
4
+ xmlns:smpp_commands="http://www.example.net/smpp_commands.xsd"
5
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6
+ <smpp_bind_transceiver_resp>
7
+ <command_status>0</command_status>
8
+ <sequence_number>12</sequence_number>
9
+ <system_id>sys_id</system_id>
10
+ <sc_interface_version>0</sc_interface_version>
11
+ </smpp_bind_transceiver_resp>
12
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <smpp_commands:smpp_commands
3
+ xsi:schemaLocation="http://www.example.net/smpp_commands.xsd smpp_commands.xsd"
4
+ xmlns:smpp_commands="http://www.example.net/smpp_commands.xsd"
5
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6
+ <smpp_bind_transceiver_resp>
7
+ <command_status>0</command_status>
8
+ <sequence_number>12</sequence_number>
9
+ <system_id>sys_id</system_id>
10
+ </smpp_bind_transceiver_resp>
11
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <smpp_commands:smpp_commands
3
+ xsi:schemaLocation="http://www.example.net/smpp_commands.xsd smpp_commands.xsd"
4
+ xmlns:smpp_commands="http://www.example.net/smpp_commands.xsd"
5
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6
+ <smpp_bind_transmitter>
7
+ <command_status>0</command_status>
8
+ <sequence_number>12</sequence_number>
9
+ <system_id>31</system_id>
10
+ <password>111</password>
11
+ <system_type>sms</system_type>
12
+ <interface_version>0</interface_version>
13
+ <addr_ton>1</addr_ton>
14
+ <addr_npi>2</addr_npi>
15
+ <address_range>123</address_range>
16
+ </smpp_bind_transmitter>
17
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <smpp_commands:smpp_commands
3
+ xsi:schemaLocation="http://www.example.net/smpp_commands.xsd smpp_commands.xsd"
4
+ xmlns:smpp_commands="http://www.example.net/smpp_commands.xsd"
5
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6
+ <smpp_bind_transmitter_resp>
7
+ <command_status>0</command_status>
8
+ <sequence_number>12</sequence_number>
9
+ <system_id>sys_id</system_id>
10
+ <sc_interface_version>0</sc_interface_version>
11
+ </smpp_bind_transmitter_resp>
12
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <smpp_commands:smpp_commands
3
+ xsi:schemaLocation="http://www.example.net/smpp_commands.xsd smpp_commands.xsd"
4
+ xmlns:smpp_commands="http://www.example.net/smpp_commands.xsd"
5
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6
+ <smpp_bind_transmitter_resp>
7
+ <command_status>0</command_status>
8
+ <sequence_number>12</sequence_number>
9
+ <system_id>sys_id</system_id>
10
+ </smpp_bind_transmitter_resp>
11
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,47 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <smpp_commands:smpp_commands xsi:schemaLocation="http://www.example.net/smpp_commands.xsd smpp_commands.xsd" xmlns:smpp_commands="http://www.example.net/smpp_commands.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <smpp_broadcast_sm>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <service_type>srvtp</service_type>
7
+ <source_addr_ton>1</source_addr_ton>
8
+ <source_addr_npi>2</source_addr_npi>
9
+ <source_addr>123</source_addr>
10
+ <message_id>345</message_id>
11
+ <priority_flag>1</priority_flag>
12
+ <schedule_delivery_time></schedule_delivery_time>
13
+ <validity_period></validity_period>
14
+ <replace_if_present_flag>3</replace_if_present_flag>
15
+ <data_coding>4</data_coding>
16
+ <sm_default_msg_id>5</sm_default_msg_id>
17
+ <broadcast_area_identifiers>
18
+ <broadcast_area_identifier>01 FF</broadcast_area_identifier>
19
+ <broadcast_area_identifier>01 AF</broadcast_area_identifier>
20
+ <broadcast_area_identifier>01 DF</broadcast_area_identifier>
21
+ </broadcast_area_identifiers>
22
+ <broadcast_content_type>01 02 FF</broadcast_content_type>
23
+ <broadcast_rep_num>10</broadcast_rep_num>
24
+ <broadcast_frequency_interval>01 02 FF</broadcast_frequency_interval>
25
+ <alert_on_msg_delivery>1</alert_on_msg_delivery>
26
+ <broadcast_channel_indicator>2</broadcast_channel_indicator>
27
+ <broadcast_content_type_info>01 FF AA</broadcast_content_type_info>
28
+ <broadcast_message_class>3</broadcast_message_class>
29
+ <broadcast_service_group>01 FF AA</broadcast_service_group>
30
+ <callback_num>01 FF AA</callback_num>
31
+ <callback_num_pres_ind>4</callback_num_pres_ind>
32
+ <callback_num_atag>01 FF AA</callback_num_atag>
33
+ <dest_subaddress>01 FF AA</dest_subaddress>
34
+ <dest_port>5</dest_port>
35
+ <display_time>6</display_time>
36
+ <language_indicator>7</language_indicator>
37
+ <message_payload>01 FF AA</message_payload>
38
+ <ms_validity>8</ms_validity>
39
+ <payload_type>9</payload_type>
40
+ <privacy_indicator>10</privacy_indicator>
41
+ <sms_signal>11</sms_signal>
42
+ <source_addr_subunit>12</source_addr_subunit>
43
+ <source_port>13</source_port>
44
+ <source_subaddress>01 FF AA</source_subaddress>
45
+ <user_message_reference>22</user_message_reference>
46
+ </smpp_broadcast_sm>
47
+ </smpp_commands:smpp_commands>