Actions

Difference between revisions of "CDC STATE"

From Zenitel Wiki

 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Related to [[ABSD_Billing]]
+
{{AI}}
 +
Related to [[Billing]]
  
 
{| border="1"
 
{| border="1"
Line 8: Line 9:
 
!style="background:#ffdead;" |AMC 10.40
 
!style="background:#ffdead;" |AMC 10.40
 
|-
 
|-
|colspan="5"|Message used for billing control, from AMCD to ABSD <br\>
+
|colspan="5"|Message used for billing control, from AMCD to ABSD <br>
 
CDC = Call Detail Control. Response is [[CDC_CMD]].  
 
CDC = Call Detail Control. Response is [[CDC_CMD]].  
 
|-
 
|-
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)
 
|-
 
|-
 
|}
 
|}
 +
<br><br>
 +
=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.
  
=Modifications to the CDC_STATE Event=
+
Also see [[CALL_SETUP]], param#3.
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}}).
 
<br><br>
 
Propose to add a new Sub Event in parameter #3;
 
* 8 CHANGE_A_IDENTITY
 
<br>
 
Propose to add a new parameter #5 of type {{AlphaWiki|UINT2}} to hold the new A extensions Connection Reference.
 
<br><br>
 
The new CDC_STATE event will look like this:
 
<br>
 
  
{| border="1"
+
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.
|-
 
!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
 
|-
 
|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.
 
  
  
 +
[[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