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,58 @@
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_data_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
+ <dest_addr_ton>3</dest_addr_ton>
11
+ <dest_addr_npi>4</dest_addr_npi>
12
+ <dest_addr>321</dest_addr>
13
+ <esm_class>0</esm_class>
14
+ <registered_delivery>1</registered_delivery>
15
+ <data_coding>8</data_coding>
16
+ <source_port>1</source_port>
17
+ <source_addr_subunit>2</source_addr_subunit>
18
+ <source_network_type>3</source_network_type>
19
+ <source_bearer_type>4</source_bearer_type>
20
+ <source_telematics_id>5</source_telematics_id>
21
+ <destination_port>6</destination_port>
22
+ <dest_addr_subunit>7</dest_addr_subunit>
23
+ <dest_network_type>8</dest_network_type>
24
+ <dest_bearer_type>9</dest_bearer_type>
25
+ <dest_telematics_id>10</dest_telematics_id>
26
+ <sar_msg_ref_num>11</sar_msg_ref_num>
27
+ <sar_total_segments>12</sar_total_segments>
28
+ <sar_segment_seqnum>13</sar_segment_seqnum>
29
+ <more_messages_to_send>1</more_messages_to_send>
30
+ <qos_time_to_live>14</qos_time_to_live>
31
+ <payload_type>15</payload_type>
32
+ <message_payload>01 02 03 AF FF</message_payload>
33
+ <set_dpf>16</set_dpf>
34
+ <receipted_message_id>12321</receipted_message_id>
35
+ <message_state>1</message_state>
36
+ <network_error_code>
37
+ <network_code>1</network_code>
38
+ <error_code>1</error_code>
39
+ </network_error_code>
40
+ <user_message_reference>123</user_message_reference>
41
+ <privacy_indicator>1</privacy_indicator>
42
+ <callback_num>FF AA</callback_num>
43
+ <callback_num_pres_ind>1</callback_num_pres_ind>
44
+ <callback_num_atag>AA FF</callback_num_atag>
45
+ <source_subaddress>AA FF</source_subaddress>
46
+ <dest_subaddress>AA FF</dest_subaddress>
47
+ <user_response_code>1</user_response_code>
48
+ <display_time>2</display_time>
49
+ <sms_signal>3</sms_signal>
50
+ <ms_validity>4</ms_validity>
51
+ <ms_msg_wait_facilities>5</ms_msg_wait_facilities>
52
+ <number_of_messages>6</number_of_messages>
53
+ <alert_on_msg_delivery>7</alert_on_msg_delivery>
54
+ <language_indicator>8</language_indicator>
55
+ <its_reply_type>9</its_reply_type>
56
+ <its_session_info>10</its_session_info>
57
+ </smpp_data_sm>
58
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,17 @@
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_data_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
+ <dest_addr_ton>3</dest_addr_ton>
11
+ <dest_addr_npi>4</dest_addr_npi>
12
+ <dest_addr>321</dest_addr>
13
+ <esm_class>0</esm_class>
14
+ <registered_delivery>1</registered_delivery>
15
+ <data_coding>8</data_coding>
16
+ </smpp_data_sm>
17
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,15 @@
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_data_sm_resp>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <message_id></message_id>
7
+ <delivery_failure_reason>1</delivery_failure_reason>
8
+ <network_error_code>
9
+ <network_code>3</network_code>
10
+ <error_code>1</error_code>
11
+ </network_error_code>
12
+ <additional_status_info_text>01 FF AA</additional_status_info_text>
13
+ <dpf_result>23</dpf_result>
14
+ </smpp_data_sm_resp>
15
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,8 @@
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_data_sm_resp>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <message_id></message_id>
7
+ </smpp_data_sm_resp>
8
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,46 @@
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_deliver_sm>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <service_type>SMS</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
+ <dest_addr_ton>4</dest_addr_ton>
11
+ <dest_addr_npi>5</dest_addr_npi>
12
+ <dest_addr>321</dest_addr>
13
+ <esm_class>6</esm_class>
14
+ <protocol_id>7</protocol_id>
15
+ <priority_flag>8</priority_flag>
16
+ <schedule_delivery_time/>
17
+ <validity_period/>
18
+ <registered_delivery>9</registered_delivery>
19
+ <replace_if_present_flag>10</replace_if_present_flag>
20
+ <data_coding>11</data_coding>
21
+ <sm_default_msg_id>12</sm_default_msg_id>
22
+ <sm_length>0</sm_length>
23
+ <short_message/>
24
+ <user_message_reference>1</user_message_reference>
25
+ <source_port>2</source_port>
26
+ <destination_port>3</destination_port>
27
+ <sar_msg_ref_num>4</sar_msg_ref_num>
28
+ <sar_total_segments>5</sar_total_segments>
29
+ <sar_segment_seqnum>6</sar_segment_seqnum>
30
+ <user_response_code>7</user_response_code>
31
+ <privacy_indicator>8</privacy_indicator>
32
+ <payload_type>9</payload_type>
33
+ <message_payload>01 FF AA</message_payload>
34
+ <callback_num>01 FF AA</callback_num>
35
+ <source_subaddress>01 FF AA</source_subaddress>
36
+ <dest_subaddress>01 FF AA</dest_subaddress>
37
+ <language_indicator>10</language_indicator>
38
+ <its_session_info>10</its_session_info>
39
+ <network_error_code>
40
+ <network_code>3</network_code>
41
+ <error_code>12</error_code>
42
+ </network_error_code>
43
+ <message_state>3</message_state>
44
+ <receipted_message_id>123</receipted_message_id>
45
+ </smpp_deliver_sm>
46
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,25 @@
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_deliver_sm>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <service_type>SMS</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
+ <dest_addr_ton>4</dest_addr_ton>
11
+ <dest_addr_npi>5</dest_addr_npi>
12
+ <dest_addr>321</dest_addr>
13
+ <esm_class>6</esm_class>
14
+ <protocol_id>7</protocol_id>
15
+ <priority_flag>8</priority_flag>
16
+ <schedule_delivery_time/>
17
+ <validity_period/>
18
+ <registered_delivery>9</registered_delivery>
19
+ <replace_if_present_flag>10</replace_if_present_flag>
20
+ <data_coding>11</data_coding>
21
+ <sm_default_msg_id>12</sm_default_msg_id>
22
+ <sm_length>0</sm_length>
23
+ <short_message/>
24
+ </smpp_deliver_sm>
25
+ </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_deliver_sm_resp>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <message_id></message_id>
7
+ <additional_status_info_text>01 FF AA</additional_status_info_text>
8
+ <delivery_failure_reason>1</delivery_failure_reason>
9
+ <network_error_code>
10
+ <network_code>1</network_code>
11
+ <error_code>2</error_code>
12
+ </network_error_code>
13
+ </smpp_deliver_sm_resp>
14
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,8 @@
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_deliver_sm_resp>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <message_id></message_id>
7
+ </smpp_deliver_sm_resp>
8
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,10 @@
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_enquire_link>
7
+ <command_status>0</command_status>
8
+ <sequence_number>12</sequence_number>
9
+ </smpp_enquire_link>
10
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,10 @@
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_enquire_link_resp>
7
+ <command_status>0</command_status>
8
+ <sequence_number>12</sequence_number>
9
+ </smpp_enquire_link_resp>
10
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,10 @@
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_generic_nack>
7
+ <command_status>0</command_status>
8
+ <sequence_number>12</sequence_number>
9
+ </smpp_generic_nack>
10
+ </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_outbind>
7
+ <command_status>0</command_status>
8
+ <sequence_number>12</sequence_number>
9
+ <system_id>stm1</system_id>
10
+ <password>pwd</password>
11
+ </smpp_outbind>
12
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,12 @@
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_query_broadcast_sm>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <message_id>123</message_id>
7
+ <source_addr_ton>1</source_addr_ton>
8
+ <source_addr_npi>2</source_addr_npi>
9
+ <source_addr>345</source_addr>
10
+ <user_message_reference>2</user_message_reference>
11
+ </smpp_query_broadcast_sm>
12
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,11 @@
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_query_broadcast_sm>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <message_id>123</message_id>
7
+ <source_addr_ton>1</source_addr_ton>
8
+ <source_addr_npi>2</source_addr_npi>
9
+ <source_addr>345</source_addr>
10
+ </smpp_query_broadcast_sm>
11
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,17 @@
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_query_broadcast_sm_resp>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <message_id>123</message_id>
7
+ <message_state>2</message_state>
8
+ <broadcast_area_identifiers>
9
+ <broadcast_area_identifier>01 FF</broadcast_area_identifier>
10
+ <broadcast_area_identifier>01 AF</broadcast_area_identifier>
11
+ <broadcast_area_identifier>01 DF</broadcast_area_identifier>
12
+ </broadcast_area_identifiers>
13
+ <broadcast_area_success>102</broadcast_area_success>
14
+ <user_message_reference>123</user_message_reference>
15
+ <broadcast_end_time/>
16
+ </smpp_query_broadcast_sm_resp>
17
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,15 @@
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_query_broadcast_sm_resp>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <message_id>123</message_id>
7
+ <message_state>2</message_state>
8
+ <broadcast_area_identifiers>
9
+ <broadcast_area_identifier>01 FF</broadcast_area_identifier>
10
+ <broadcast_area_identifier>01 AF</broadcast_area_identifier>
11
+ <broadcast_area_identifier>01 DF</broadcast_area_identifier>
12
+ </broadcast_area_identifiers>
13
+ <broadcast_area_success>102</broadcast_area_success>
14
+ </smpp_query_broadcast_sm_resp>
15
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,11 @@
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_query_sm>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <message_id>123</message_id>
7
+ <source_addr_ton>1</source_addr_ton>
8
+ <source_addr_npi>2</source_addr_npi>
9
+ <source_addr>321</source_addr>
10
+ </smpp_query_sm>
11
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,11 @@
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_query_sm_resp>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <message_id>123</message_id>
7
+ <final_date></final_date>
8
+ <message_state>1</message_state>
9
+ <error_code>2</error_code>
10
+ </smpp_query_sm_resp>
11
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,18 @@
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_replace_sm>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <message_id>345</message_id>
7
+ <source_addr_ton>1</source_addr_ton>
8
+ <source_addr_npi>2</source_addr_npi>
9
+ <source_addr>123</source_addr>
10
+ <schedule_delivery_time></schedule_delivery_time>
11
+ <validity_period></validity_period>
12
+ <registered_delivery>1</registered_delivery>
13
+ <sm_default_msg_id>0</sm_default_msg_id>
14
+ <sm_length>0</sm_length>
15
+ <short_message></short_message>
16
+ <message_payload>01 FF AA</message_payload>
17
+ </smpp_replace_sm>
18
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,17 @@
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_replace_sm>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ <message_id>345</message_id>
7
+ <source_addr_ton>1</source_addr_ton>
8
+ <source_addr_npi>2</source_addr_npi>
9
+ <source_addr>123</source_addr>
10
+ <schedule_delivery_time></schedule_delivery_time>
11
+ <validity_period></validity_period>
12
+ <registered_delivery>1</registered_delivery>
13
+ <sm_default_msg_id>0</sm_default_msg_id>
14
+ <sm_length>0</sm_length>
15
+ <short_message></short_message>
16
+ </smpp_replace_sm>
17
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,7 @@
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_replace_sm_resp>
4
+ <command_status>0</command_status>
5
+ <sequence_number>12</sequence_number>
6
+ </smpp_replace_sm_resp>
7
+ </smpp_commands:smpp_commands>
@@ -0,0 +1,73 @@
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>
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
+ <number_of_dest>6</number_of_dest>
11
+ <dest_addresses>
12
+ <dest_address>
13
+ <distr_list_name>distr_list1</distr_list_name>
14
+ </dest_address>
15
+ <dest_address>
16
+ <distr_list_name>distr_list2</distr_list_name>
17
+ </dest_address>
18
+ <dest_address>
19
+ <sme_address>
20
+ <ton>1</ton>
21
+ <npi>1</npi>
22
+ <address>123</address>
23
+ </sme_address>
24
+ </dest_address>
25
+ <dest_address>
26
+ <sme_address>
27
+ <ton>2</ton>
28
+ <npi>2</npi>
29
+ <address>223</address>
30
+ </sme_address>
31
+ </dest_address>
32
+ <dest_address>
33
+ <distr_list_name>distr_list1</distr_list_name>
34
+ </dest_address>
35
+ <dest_address>
36
+ <distr_list_name>distr_list2</distr_list_name>
37
+ </dest_address>
38
+ </dest_addresses>
39
+ <esm_class>1</esm_class>
40
+ <protocol_id>2</protocol_id>
41
+ <priority_flag>3</priority_flag>
42
+ <schedule_delivery_time/>
43
+ <validity_period/>
44
+ <registered_delivery>4</registered_delivery>
45
+ <replace_if_present_flag>5</replace_if_present_flag>
46
+ <data_coding>6</data_coding>
47
+ <sm_default_msg_id>7</sm_default_msg_id>
48
+ <sm_length>0</sm_length>
49
+ <short_message></short_message>
50
+ <user_message_reference>1</user_message_reference>
51
+ <source_port>2</source_port>
52
+ <source_addr_subunit>3</source_addr_subunit>
53
+ <destination_port>4</destination_port>
54
+ <dest_addr_subunit>5</dest_addr_subunit>
55
+ <sar_msg_ref_num>6</sar_msg_ref_num>
56
+ <sar_total_segments>7</sar_total_segments>
57
+ <sar_segment_seqnum>8</sar_segment_seqnum>
58
+ <payload_type>9</payload_type>
59
+ <message_payload>01 02 AA FF</message_payload>
60
+ <privacy_indicator>10</privacy_indicator>
61
+ <callback_num>01 02 AA FF</callback_num>
62
+ <callback_num_pres_ind>11</callback_num_pres_ind>
63
+ <callback_num_atag>01 02 AA FF</callback_num_atag>
64
+ <source_subaddress>01 02 AA FF</source_subaddress>
65
+ <dest_subaddress>01 02 AA FF</dest_subaddress>
66
+ <display_time>12</display_time>
67
+ <sms_signal>13</sms_signal>
68
+ <ms_validity>14</ms_validity>
69
+ <ms_msg_wait_facilities>15</ms_msg_wait_facilities>
70
+ <alert_on_msg_delivery>16</alert_on_msg_delivery>
71
+ <language_indicator>17</language_indicator>
72
+ </smpp_submit_multi>
73
+ </smpp_commands:smpp_commands>