Actions

Difference between revisions of "CDC STATE"

From Zenitel Wiki

 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Related to [[ABSD_Billing]]
+
{{AI}}
 +
Related to [[Billing]]
  
 
{| border="1"
 
{| border="1"
Line 16: Line 17:
 
|-
 
|-
 
|align=center|3||[[UINT1]]||colspan="3"|State of billing sequence.<br>
 
|align=center|3||[[UINT1]]||colspan="3"|State of billing sequence.<br>
1 START, user has initiated a feature requiring CDC (5 = feature dirno)<br>
+
1. START, user has initiated a feature requiring CDC (5 = feature dirno)<br>
2 DIGIT, user has dial a digit (5 = digit netref) <br>
+
2. DIGIT, user has dial a digit (5 = digit netref) <br>
3 ESTABLISHED, (SIP)connection established (200 OK received)<br>
+
3. ESTABLISHED, (SIP)connection established (200 OK received)<br>
4 ACTIVE, call is still active, will come every 10 second during connection<br>
+
4. ACTIVE, call is still active, will come every 10 second during connection<br>
5 DISCONNECT, CDC sequence ended, ABSD to release call.<br>
+
5. DISCONNECT, CDC sequence ended, ABSD to release call.<br>
6 SPEECH_START, [[ABSD_Billing#AudioCodes_X-detect|Speech detected by AudioCodes]]<br>
+
6. SPEECH_START, [[ABSD_Billing#AudioCodes_X-detect|Speech detected by AudioCodes]]<br>
7 SPEECH_END,  Speech detect end by AudioCodes
+
7. SPEECH_END,  Speech detect end by AudioCodes<br>
 +
8. CHANGE_A_IDENTITY, Change A extension, continue Billing sequence, AMCD must send ACTIVE_SYNC from new A extension within 3 seconds<br>
 +
9. ACTIVE_SYNC, first message/event from new A extension after CHANGE_A_IDENTITY, synchronize AMCD and ABSD with new message header<br>
 +
10.TRUNK_BUSY, Reply when requested trunk is unavailable (reply to TRUNK_SET). <br>
 +
11.TRUNK_RINGING, Forwarded SIP reply "180 ringing" (reply to TRUNK_SET). <br>
 
|-
 
|-
 
|align=center|4||[[NET_OBJ_REF]]||colspan="3"|Netref related to state type, (Feature, B-station or digit)
 
|align=center|4||[[NET_OBJ_REF]]||colspan="3"|Netref related to state type, (Feature, B-station or digit)
Line 28: Line 33:
 
|}
 
|}
 
<br><br>
 
<br><br>
=Modifications to the CDC_STATE Event=
+
=Call Transfer and CDC_STATE Event=
To make the Billing system able to to carry out the transfer of the A extension to a new A extension; the {{AlphaWiki|CDC_STATE}} event sent from AMC to ABSD needs to handle the new A extensions Connection Reference ({{AlphaWiki|UINT2}}) and Directory Number ({{AlphaWiki|NET_OBJ_REF}}).
+
For the a Billed call transferred, AMCD will send :
<br><br>
+
 
Propose to add two new Sub Events in parameter #3;
+
* CDC_STATE(old_conn_ref; new_a_netref; CHANGE_A_IDENTITY) from the old node.
* 8 CHANGE_A_IDENTITY
+
* CDC_STATE(new_conn_ref; new_a_netref; ACTIVE_SYNC) from the new node.
* 9 ACTIVE_SYNC
+
 
<br>
+
If the second message is not received with seconds, the transfer was unsuccessful.
Propose to add a new parameter #5 of type {{AlphaWiki|UINT2}} to hold the new A extensions Connection Reference.
+
 
<br><br>
+
Also see [[CALL_SETUP]], param#3.
The new CDC_STATE event will look like this:
+
 
<br>
+
If the call is transferred to a station in an other node, the call will still be related to the original ABSD node. Even if the new node is configured to use an other ABSD node, or is not configured for billing at all.
  
{| border="1"
 
|-
 
!style="background:#ffdead;" width="90pt" colspan="2"|CDC_STATE
 
!style="background:#ffdead;" width="100pt"|0x009E
 
!style="background:#ffdead;" width="30pt"|158
 
!style="background:#ffdead;" |AMC 10.40
 
|-
 
|colspan="5"|Message used for billing control, from AMCD to ABSD <br\>
 
CDC = Call Detail Control. Response is {{AlphaWiki|CDC_CMD}}.
 
|-
 
|align=center|1||{{AlphaWiki|UINT2}}||colspan="3"|Connection Reference for this "dialing" sequence (actually ST_IND of A-station)
 
|-
 
|align=center|2||{{AlphaWiki|NET_OBJ_REF}}||colspan="3"|A-station (billed station), in {{AlphaWiki|NRF_LOCAL_DIRNO}} format.
 
|-
 
|align=center|3||{{AlphaWiki|UINT1}}||colspan="3"|State of billing sequence.<br>
 
1 START, user has initiated a feature requiring CDC (5 = feature dirno)<br>
 
2 DIGIT, user has dial a digit (5 = digit netref) <br>
 
3 ESTABLISHED, (SIP)connection established (200 OK received)<br>
 
4 ACTIVE, call is still active, will come every 10 second during connection<br>
 
5 DISCONNECT, CDC sequence ended, ABSD to release call.<br>
 
6 SPEECH_START, {{AlphaWiki|ABSD_Billing#AudioCodes_X-detect|Speech detected by AudioCodes}}<br>
 
7 SPEECH_END,  Speech detect end by AudioCodes<br>
 
8 CHANGE_A_IDENTITY, Change A extension, continue Billing sequence<br>
 
9 ACTIVE_SYNC, first message after CHANGE_A_IDENTITY, synchronize AMC and ABSD with new message header
 
|-
 
|align=center|4||{{AlphaWiki|NET_OBJ_REF}}||colspan="3"|Netref related to state type, (Feature, B-station or digit)
 
|-
 
|align=center|5||{{AlphaWiki|UINT2}}||colspan="3"|Connection Reference for new A station/extension  AMC 10.6x
 
|-
 
|}
 
<br>
 
If the CDC_STATE is sent with CHANGE_A_IDENTITY; the parameter #4 will hold the new Directory Number and parameter #5 will hold the new Connection Reference.
 
<br><br>
 
'''NOTE:''' Parameter #5 will only be added if Sub Event in parameter #3 is of type 8 CHANGE_A_IDENTITY.
 
  
<br>
+
[[AlphaNet_Data_Protocol#Station_Connect_Operations|Back to AlphaNet message list]]
 
[[Category: ACDP messages]]
 
[[Category: ACDP messages]]
[[AlphaNet_Data_Protocol#Station_Connect_Operations|Back to AlphaNet message list]]
 

Latest revision as of 14:43, 3 October 2019

AI.png

Related to Billing

CDC_STATE 0x009E 158 AMC 10.40
Message used for billing control, from AMCD to ABSD

CDC = Call Detail Control. Response is CDC_CMD.

1 UINT2 Connection Reference for this "dialing" sequence (actually ST_IND of A-station)
2 NET_OBJ_REF A-station (billed station), in NRF_LOCAL_DIRNO format.
3 UINT1 State of billing sequence.

1. START, user has initiated a feature requiring CDC (5 = feature dirno)
2. DIGIT, user has dial a digit (5 = digit netref)
3. ESTABLISHED, (SIP)connection established (200 OK received)
4. ACTIVE, call is still active, will come every 10 second during connection
5. DISCONNECT, CDC sequence ended, ABSD to release call.
6. SPEECH_START, Speech detected by AudioCodes
7. SPEECH_END, Speech detect end by AudioCodes
8. CHANGE_A_IDENTITY, Change A extension, continue Billing sequence, AMCD must send ACTIVE_SYNC from new A extension within 3 seconds
9. ACTIVE_SYNC, first message/event from new A extension after CHANGE_A_IDENTITY, synchronize AMCD and ABSD with new message header
10.TRUNK_BUSY, Reply when requested trunk is unavailable (reply to TRUNK_SET).
11.TRUNK_RINGING, Forwarded SIP reply "180 ringing" (reply to TRUNK_SET).

4 NET_OBJ_REF Netref related to state type, (Feature, B-station or digit)



Call Transfer and CDC_STATE Event

For the a Billed call transferred, AMCD will send :

  • CDC_STATE(old_conn_ref; new_a_netref; CHANGE_A_IDENTITY) from the old node.
  • CDC_STATE(new_conn_ref; new_a_netref; ACTIVE_SYNC) from the new node.

If the second message is not received with seconds, the transfer was unsuccessful.

Also see CALL_SETUP, param#3.

If the call is transferred to a station in an other node, the call will still be related to the original ABSD node. Even if the new node is configured to use an other ABSD node, or is not configured for billing at all.


Back to AlphaNet message list