Huawei.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <vendor vendor-id="Huawei" code="2011" name="Huawei">
  3. <avp name="P2PSMS-Information" code="20400" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
  4. <grouped>
  5. <gavp name="SMSC-Address-Huawei"/>
  6. <gavp name="SM-Id"/>
  7. <gavp name="SM-Length"/>
  8. </grouped>
  9. </avp>
  10. <avp name="SMSC-Address-Huawei" code="20401" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
  11. <type type-name="UTF8String"/>
  12. </avp>
  13. <avp name="SM-Id" code="20402" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
  14. <type type-name="UTF8String"/>
  15. </avp>
  16. <avp name="SM-Length" code="20403" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
  17. <type type-name="Unsigned32"/>
  18. </avp>
  19. <avp name="MO-MSC-Address" code="20404" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
  20. <type type-name="UTF8String"/>
  21. </avp>
  22. <avp name="MT-MSC-Address" code="20405" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
  23. <type type-name="UTF8String"/>
  24. </avp>
  25. <avp name="Source-Addr" code="20406" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
  26. <type type-name="UTF8String"/>
  27. </avp>
  28. <avp name="Dest-Addr" code="20407" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
  29. <type type-name="UTF8String"/>
  30. </avp>
  31. <avp name="Fee-Flag" code="20409" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
  32. <type type-name="Enumerated"/>
  33. <enum name="Charge in the original mode" code="0"/>
  34. <enum name="Charge the calling number" code="1"/>
  35. <enum name="Charge the called number" code="2"/>
  36. <enum name="Charge the charging number" code="3"/>
  37. </avp>
  38. <avp name="Fee-Type" code="20410" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
  39. <type type-name="Enumerated"/>
  40. <enum name="Charge by default mode" code="0"/>
  41. <enum name="Charge by item" code="1"/>
  42. <enum name="Charge by month (with authentication and fee deduction)" code="2"/>
  43. <enum name="Charge by month (with authentication but no fee deduction)" code="3"/>
  44. <enum name="Charge upper limit amount by the number of SMs" code="4"/>
  45. <enum name="Charge by month with limited number of SMs (with authentication and fee deduction)" code="5"/>
  46. <enum name="Charge by month with limited number of SMs (with authentication but no fee deduction)" code="6"/>
  47. </avp>
  48. <avp name="Status-Report-Requested" code="20415" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
  49. <type type-name="Enumerated"/>
  50. <enum name="No" code="0"/>
  51. <enum name="Yes" code="1"/>
  52. <enum name="Refund on Failure" code="2"/>
  53. </avp>
  54. <avp name="Send-Result" code="20418" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
  55. <type type-name="Enumerated"/>
  56. <enum name="Delivered" code="0"/>
  57. </avp>
  58. <avp name="Operation-Result" code="20430" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
  59. <type type-name="Enumerated"/>
  60. <enum name="Success" code="0"/>
  61. <enum name="Protocol is not supported" code="1"/>
  62. <enum name="Other reason" code="10"/>
  63. <enum name="MO account does not exist" code="11"/>
  64. <enum name="MT account does not exist" code="12"/>
  65. <enum name="MO account state is abnormal" code="13"/>
  66. <enum name="MT account state is abnormal" code="14"/>
  67. <enum name="MO balance is not enough" code="15"/>
  68. <enum name="MT balance is not enough" code="16"/>
  69. </avp>
  70. <avp name="Notify-Mode" code="20431" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
  71. <type type-name="Enumerated"/>
  72. <enum name="Send the report regardless of whether the message sending succeeds or fails" code="1"/>
  73. <enum name="Send the report when the message sending fails" code="2"/>
  74. <enum name="Send the report when the message succeeds" code="3"/>
  75. <enum name="Never send the report" code="4"/>
  76. </avp>
  77. </vendor>