Smartswitch
ChannelInfo.ice
Go to the documentation of this file.
1 #pragma once
2 
3 [["python:pkgdir:Smartswitch/Telephony"]]
4 
5 #include <Config.ice>
6 #include <Common.ice>
7 #include <Direction.ice>
8 #ifdef CONFIG_BILLING
10 #endif
11 
12 module Smartswitch
13 {
14  module Telephony
15  {
16 #ifdef CONFIG_BILLING
17 
21  {
22  string code;
23  string currency;
24  double price;
25  double minutePrice;
26  };
27  sequence<ChannelBilling> ChannelBillingOpt;
28 #endif
29 
33  struct ChannelInfo
34  {
35  string channelId;
36  string channelName;
37  string startTime;
38  string answerTime;
39  string sessionId;
41  string technology;
42  string callerId;
43  string calleeId;
44  string realCallerId;
45  string realCalleeId;
46  string peerName;
47  string inboundCodec;
48  string outboundCodec;
49  string ipAddress;
50 #ifdef CONFIG_BILLING
52 #endif
53  };
54  sequence<ChannelInfo> ChannelInfoSequence;
55  };
56 };
string outboundCodec
The codec used for outbound (from POV of Smartswitch) stream.
Definition: ChannelInfo.ice:48
string code
E.164 billing code.
Definition: ChannelInfo.ice:22
string sessionId
The ID of a session.
Definition: ChannelInfo.ice:39
double price
The full price of a call.
Definition: ChannelInfo.ice:24
Direction
The Direction from the POV of Smartswitch.
Definition: Direction.ice:10
string realCallerId
The A-number of a leg (including prefix) as it came ingress or sent egress from Smartswitch.
Definition: ChannelInfo.ice:44
The struct defines the biling-part of a ChannelInfo.
Definition: ChannelInfo.ice:20
The struct defines the information about a currently active channel.
Definition: ChannelInfo.ice:33
string peerName
The name of a GenericPeer descendant involved with the leg.
Definition: ChannelInfo.ice:46
string startTime
The time a channel has been created on Smartswitch.
Definition: ChannelInfo.ice:37
string callerId
The billing A-number of a leg (without prefix).
Definition: ChannelInfo.ice:42
string ipAddress
The IP address of a peer.
Definition: ChannelInfo.ice:49
string technology
The technology of a channel, for ex.
Definition: ChannelInfo.ice:41
string channelName
The name of a channel.
Definition: ChannelInfo.ice:36
double minutePrice
The price of 1 minute of a call.
Definition: ChannelInfo.ice:25
ChannelBillingOpt billing
If billing is available for this call, the array contains 1 element with it.
Definition: ChannelInfo.ice:51
string answerTime
The time a channel was answered on Smartswitch.
Definition: ChannelInfo.ice:38
string calleeId
The billing B-number of a leg (without prefix).
Definition: ChannelInfo.ice:43
sequence< ChannelBilling > ChannelBillingOpt
Definition: ChannelInfo.ice:27
string inboundCodec
The codec used for inbound (from POV of Smartswitch) stream.
Definition: ChannelInfo.ice:47
Definition: AccessException.ice:7
string realCalleeId
The B-number of a leg (including prefix) as it came ingress or sent egress from Smartswitch.
Definition: ChannelInfo.ice:45
sequence< ChannelInfo > ChannelInfoSequence
Definition: ChannelInfo.ice:54
string currency
The name of the currency in which the price is calculated.
Definition: ChannelInfo.ice:23
Direction direction
The Direction of a leg from the POV of Smartswitch.
Definition: ChannelInfo.ice:40
string channelId
The unique ID of a channel.
Definition: ChannelInfo.ice:35