summaryrefslogtreecommitdiffstats
path: root/resources/protocols/diameter/Huawei.xml
blob: e2654ace491dd04a183de0df21b08d0f35a82a08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?xml version="1.0" encoding="utf-8"?>

<vendor vendor-id="Huawei"                    code="2011"      name="Huawei">
  <avp name="P2PSMS-Information" code="20400" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
    <grouped>
      <gavp name="SMSC-Address-Huawei"/>
      <gavp name="SM-Id"/>
      <gavp name="SM-Length"/>
    </grouped>
  </avp>
  <avp name="SMSC-Address-Huawei" code="20401" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
    <type type-name="UTF8String"/>
  </avp>
  <avp name="SM-Id" code="20402" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
    <type type-name="UTF8String"/>
  </avp>
  <avp name="SM-Length" code="20403" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
    <type type-name="Unsigned32"/>
  </avp>
  <avp name="MO-MSC-Address" code="20404" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
    <type type-name="UTF8String"/>
  </avp>
  <avp name="MT-MSC-Address" code="20405" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
    <type type-name="UTF8String"/>
  </avp>
  <avp name="Source-Addr" code="20406" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
    <type type-name="UTF8String"/>
  </avp>
  <avp name="Dest-Addr" code="20407" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
    <type type-name="UTF8String"/>
  </avp>
  <avp name="Fee-Flag" code="20409" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
    <type type-name="Enumerated"/>
    <enum name="Charge in the original mode" code="0"/>
    <enum name="Charge the calling number" code="1"/>
    <enum name="Charge the called number" code="2"/>
    <enum name="Charge the charging number" code="3"/>
  </avp>
  <avp name="Fee-Type" code="20410" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
    <type type-name="Enumerated"/>
    <enum name="Charge by default mode" code="0"/>
    <enum name="Charge by item" code="1"/>
    <enum name="Charge by month (with authentication and fee deduction)" code="2"/>
    <enum name="Charge by month (with authentication but no fee deduction)" code="3"/>
    <enum name="Charge upper limit amount by the number of SMs" code="4"/>
    <enum name="Charge by month with limited number of SMs (with authentication and fee deduction)" code="5"/>
    <enum name="Charge by month with limited number of SMs (with authentication but no fee deduction)" code="6"/>
  </avp>
  <avp name="Status-Report-Requested" code="20415" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
    <type type-name="Enumerated"/>
    <enum name="No" code="0"/>
    <enum name="Yes" code="1"/>
    <enum name="Refund on Failure" code="2"/>
  </avp>
  <avp name="Send-Result" code="20418" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
    <type type-name="Enumerated"/>
    <enum name="Delivered" code="0"/>
  </avp>
  <avp name="Operation-Result" code="20430" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
    <type type-name="Enumerated"/>
    <enum name="Success" code="0"/>
    <enum name="Protocol is not supported" code="1"/>
    <enum name="Other reason" code="10"/>
    <enum name="MO account does not exist" code="11"/>
    <enum name="MT account does not exist" code="12"/>
    <enum name="MO account state is abnormal" code="13"/>
    <enum name="MT account state is abnormal" code="14"/>
    <enum name="MO balance is not enough" code="15"/>
    <enum name="MT balance is not enough" code="16"/>
</avp>
  <avp name="Notify-Mode" code="20431" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="Huawei">
    <type type-name="Enumerated"/>
    <enum name="Send the report regardless of whether the message sending succeeds or fails" code="1"/>
    <enum name="Send the report when the message sending fails" code="2"/>
    <enum name="Send the report when the message succeeds" code="3"/>
    <enum name="Never send the report" code="4"/>
  </avp>
</vendor>