Smartswitch
Modules | Interfaces | Structs | Exceptions | Sequences | Dictionaries | Enumerations
Smartswitch Module Reference

module Smartswitch { ... }

Modules

 Billing
 
 HlrDipping
 
 LnpMnpDipping
 
 Messaging
 
 Peer
 
 Telephony
 

Interfaces

interface  Destroyable
 This interface allows to destroy a proxy entity at the Smartswitch side. More...
 
interface  Session
 This is the main interface from which you can gain access to other Smartswitch entities. More...
 

Structs

struct  BatchError
 The struct contains the description of an error and a solution to work it around. More...
 

Exceptions

exception  AccessException
 Thrown when a user tries perform an action which is not allowed for him. More...
 
exception  ArgumentException
 Thrown when a user specifies wrong argument to a method. More...
 
exception  DbQueryTooLongException
 The exception is thrown when a database query takes longer than allowed by a Smartswitch administrator. More...
 
exception  DuplicateException
 The exception is thrown when the entry you try to add already exists. More...
 
exception  EmptyArgumentException
 The exception is thrown when you specify empty argument while Smartswitch expects it to be non-empty. More...
 
exception  GenericException
 The base class for every exception thrown by Smartswitch. More...
 

Sequences

sequence< BatchErrorBatchErrorOpt
 
sequence< bool > BoolOpt
 
sequence< double > DoubleOpt
 
sequence< int > IntOpt
 
sequence< int > IntSequence
 
sequence< long > LongOpt
 
sequence< string > StringOpt
 
sequence< string > StringSequence
 

Dictionaries

dictionary< Peer::PeerType, LongOptPeerDesc
 Contains a mapping of Peer::PeerType to IDs of peers of this type. More...
 

Enumerations

enum  Action { Access, Edit, Add, Delete }
 
enum  Direction { Inbound, Outbound }
 The Direction from the POV of Smartswitch. More...
 
enum  SpyMode { Eavesdrop, Whisper, Conference }
 Selects a mode of spying. More...
 

Sequence Documentation

◆ BatchErrorOpt

sequence<BatchError> BatchErrorOpt

◆ BoolOpt

sequence<bool> BoolOpt

◆ DoubleOpt

sequence<double> DoubleOpt

◆ IntOpt

sequence<int> IntOpt

◆ IntSequence

sequence<int> IntSequence

◆ LongOpt

sequence<long> LongOpt

◆ StringOpt

sequence<string> StringOpt

◆ StringSequence

sequence<string> StringSequence

Dictionary Documentation

◆ PeerDesc

dictionary<Peer::PeerType, LongOpt> PeerDesc

Contains a mapping of Peer::PeerType to IDs of peers of this type.

Enumeration Type Documentation

◆ Action

enum Action
Enumerator
Access 

Get information about an entity.

Edit 

Edit an existing entity.

Add 

Add a new entity.

Delete 

Delete an existing entity.

◆ Direction

enum Direction

The Direction from the POV of Smartswitch.

Enumerator
Inbound 

Ingress to Smartswitch.

Outbound 

Egress from Smartswitch.

◆ SpyMode

enum SpyMode

Selects a mode of spying.

See also
spyChannel()
Enumerator
Eavesdrop 

Only listen to spied channel.

Whisper 

Listen and whisper to spied channel.

Conference 

Listen and whisper to all channels involved in a call.