Difference between revisions of "CDC CMD"
From Zenitel Wiki
(28 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{AI}} | ||
Related to [[ABSD_Billing]] | Related to [[ABSD_Billing]] | ||
Line 8: | Line 9: | ||
!style="background:#ffdead;" |AMC 10.40 | !style="background:#ffdead;" |AMC 10.40 | ||
|- | |- | ||
− | |colspan="5"|Message used for billing control. <br | + | |colspan="5"|Message used for billing control. <br /> |
Call Detail Control message, response to [[CDC_STATE]]. command. Used from ABSD towards AMCD | Call Detail Control message, response to [[CDC_STATE]]. command. Used from ABSD towards AMCD | ||
|- | |- | ||
Line 16: | Line 17: | ||
|- | |- | ||
|align=center|3||[[UINT1]]||colspan="3"|Command<br> | |align=center|3||[[UINT1]]||colspan="3"|Command<br> | ||
− | 1 DIAL_PIN, (dial pin code , display *) <br> | + | 1 DIAL_PIN, (dial pin code , display *) If param 7 is included, use that text as display prompt<br> |
− | 2 DIAL_NORMAL <br> | + | 2 DIAL_NORMAL. If param 7 is included, use that text as display prompt <br> |
3 TRUNK_SET, Set trunk number for SIP, start SIP connection. <br> | 3 TRUNK_SET, Set trunk number for SIP, start SIP connection. <br> | ||
− | 4 ABORT, see reason codes in [4]. Expect CDC_STATE(DISCONNET) in return <br> | + | 4 ABORT, see reason codes in [4]. Expect CDC_STATE(DISCONNET) in return if ABORT reason code [1..99] <br> |
+ | 5 LOW_BALANCE, approx. 10 seconds to ABORT due to ACCOUNT_OVERDRAWN <br> | ||
|- | |- | ||
− | |align=center|4||[[UINT1]]||colspan="3"|ABORT reason codes <br> | + | |align=center|4||[[UINT1]]||colspan="3"|ABORT reason codes [1..99]<br> |
− | 1 | + | ABSD expects immediate DISCONNECT from AMCD |
− | 2 | + | |
− | 3 | + | 1 NO_BILLING_LICENSE <br> |
− | 4 | + | 2 INVALID_PIN_CODE <br> |
− | 5 | + | 3 BARRED_NUMBER <br> |
− | 6 | + | 4 ACCOUNT_OVERDRAWN <br> |
− | 7 | + | 5 MISSING_TRUNK_DATA <br> |
+ | 6 BACKUP_IN_PROGRESS <br> | ||
+ | 7 MISSING_DATABASE <br> | ||
+ | 8 EXTENSION_LOCKED <br> | ||
+ | 9 BARRING_LEVEL <br> | ||
+ | 10 USERS_MULTIPLE_CALL_INHIBIT <br> | ||
+ | 11 EXTENSION_INVALID <br> | ||
+ | 12 WAIT_ESTABLISHED_TIMEOUT <br> | ||
+ | 13 SPEECH_START_TIMEOUT <br> | ||
+ | 14 ACCESS_DENIED <br> | ||
+ | |||
+ | ABORT information codes [101..199]<br> | ||
+ | ABSD may or may not continue Billing charge process with local FSM data <br> | ||
+ | |||
+ | 101 OUT_OF_SERVICE, lost contact with Network Disk or other SQLITE specific error status <br> | ||
+ | 102 MISSING_ACTIVE, failed to receive ACTIVE from AMCD, Billing charge stops, ABSD FSM terminates <br> | ||
+ | 103 MISSING_ESTABLISHED <br> | ||
+ | 104 DIGIT_TIMEOUT (waiting for Pin Code) <br> | ||
+ | 105 MISSING_ACTIVE_SYNC, failed to receive ACTIVE_SYNC after CHANGE_A_IDENTITY, sent even if AMCD probably won't receive it<br> | ||
|- | |- | ||
|align=center|5||[[UINT1]]||colspan="3"|number of digits to delete from out-buffer | |align=center|5||[[UINT1]]||colspan="3"|number of digits to delete from out-buffer | ||
Line 34: | Line 54: | ||
|align=center|6||[[NET_OBJ_REF]]||colspan="3"|For TRUNK_SET: Trunknumber | |align=center|6||[[NET_OBJ_REF]]||colspan="3"|For TRUNK_SET: Trunknumber | ||
|- | |- | ||
− | |align=center|7||[[TEXT16]]||colspan="3"|Additonal info as text (Abort reason, user name). | + | |align=center|7||[[TEXT16]]||colspan="3"|Additonal info as text (Abort reason, user name).<br> |
+ | DIAL_PIN, DIAL_NORMAL: Prompt text in display. AlphaCom uses a default text if the parameter is omitted or blank (16 spaces) | ||
|- | |- | ||
|} | |} |
Latest revision as of 14:43, 3 October 2019
Related to ABSD_Billing
CDC_CMD | 0x009F | 159 | AMC 10.40 | |
---|---|---|---|---|
Message used for billing control. Call Detail Control message, response to CDC_STATE. command. Used from ABSD towards AMCD | ||||
1 | UINT2 | Connection Reference for this "dialing" sequence (actually ST_IND of A-station). | ||
2 | NET_OBJ_REF | A-station (billed station) . | ||
3 | UINT1 | Command 1 DIAL_PIN, (dial pin code , display *) If param 7 is included, use that text as display prompt | ||
4 | UINT1 | ABORT reason codes [1..99] ABSD expects immediate DISCONNECT from AMCD 1 NO_BILLING_LICENSE ABORT information codes [101..199] 101 OUT_OF_SERVICE, lost contact with Network Disk or other SQLITE specific error status | ||
5 | UINT1 | number of digits to delete from out-buffer | ||
6 | NET_OBJ_REF | For TRUNK_SET: Trunknumber | ||
7 | TEXT16 | Additonal info as text (Abort reason, user name). DIAL_PIN, DIAL_NORMAL: Prompt text in display. AlphaCom uses a default text if the parameter is omitted or blank (16 spaces) |