hp.opencall.media.signalling
Class CallDispatcher

java.lang.Object
  extended byhp.opencall.media.signalling.CallDispatcher

public class CallDispatcher
extends java.lang.Object

This class is used by the CnxProviderIF implementation to dispatch any incoming call to the targeted platform service.


Constructor Summary
CallDispatcher()
           
 
Method Summary
static boolean addAddressRegistrationListener(hp.opencall.media.signalling.AddressRegistrationListener aListener)
           
static boolean removeAddressRegistrationListener(hp.opencall.media.signalling.AddressRegistrationListener aListener)
           
static void sendIncomingCall(hp.opencall.media.ccapi.CallSpec aCallSpec)
          The incoming call is dispatched to the appropriate platform service from its CallSpec.
static void setNorthLoopbackMode()
          Set North Loopack Mode - For external provider performance testing.
static void unsetNorthLoopbackMode()
          Unset North Loopack Mode - For external provider performance testing.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallDispatcher

public CallDispatcher()
Method Detail

setNorthLoopbackMode

public static void setNorthLoopbackMode()
Set North Loopack Mode - For external provider performance testing.


unsetNorthLoopbackMode

public static void unsetNorthLoopbackMode()
Unset North Loopack Mode - For external provider performance testing.


sendIncomingCall

public static void sendIncomingCall(hp.opencall.media.ccapi.CallSpec aCallSpec)
                             throws hp.opencall.media.common.ResourceNotAvailableException
The incoming call is dispatched to the appropriate platform service from its CallSpec.

Parameters:
aCallSpec - specifies the call setup parameters that have been retrieved by the signalling system taking care of the call.

Throws:
hp.opencall.media.common.ResourceNotAvailableException - if no service is mapped to the called address

addAddressRegistrationListener

public static boolean addAddressRegistrationListener(hp.opencall.media.signalling.AddressRegistrationListener aListener)

removeAddressRegistrationListener

public static boolean removeAddressRegistrationListener(hp.opencall.media.signalling.AddressRegistrationListener aListener)