org.mobicents.slee.examples.callcontrol.forwarding
Class CallForwardingSbb
java.lang.Object
org.mobicents.slee.examples.callcontrol.common.SubscriptionProfileSbb
org.mobicents.slee.examples.callcontrol.forwarding.CallForwardingSbb
- All Implemented Interfaces:
- javax.slee.Sbb
public abstract class CallForwardingSbb
- extends SubscriptionProfileSbb
- implements javax.slee.Sbb
If the user is subscribed to forwarding
- Author:
- torosvi, Ivelin Ivanov
| Methods inherited from class org.mobicents.slee.examples.callcontrol.common.SubscriptionProfileSbb |
callIDSelect, getAddressFactory, getCallControlProfileCMP, getMessageFactory, getProfileFacility, getSbbContext, getSbbLocalObject, getSipFactoryProvider, lookup, sbbActivate, sbbCreate, sbbExceptionThrown, sbbLoad, sbbPassivate, sbbPostCreate, sbbRemove, sbbRolledBack, sbbStore, unsetSbbContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.slee.Sbb |
sbbActivate, sbbCreate, sbbExceptionThrown, sbbLoad, sbbPassivate, sbbPostCreate, sbbRemove, sbbRolledBack, sbbStore, unsetSbbContext |
CallForwardingSbb
public CallForwardingSbb()
onInvite
public void onInvite(javax.sip.RequestEvent event,
CallForwardingSbbActivityContextInterface localAci)
setSbbContext
public void setSbbContext(javax.slee.SbbContext context)
- Specified by:
setSbbContext in interface javax.slee.Sbb- Overrides:
setSbbContext in class SubscriptionProfileSbb
getHeaderFactory
protected final javax.sip.header.HeaderFactory getHeaderFactory()
getJainSipProxySbb
public abstract javax.slee.ChildRelation getJainSipProxySbb()
asSbbActivityContextInterface
public abstract CallForwardingSbbActivityContextInterface asSbbActivityContextInterface(javax.slee.ActivityContextInterface aci)
forwardCall
protected javax.sip.address.Address forwardCall(javax.sip.RequestEvent event,
javax.slee.ActivityContextInterface ac)
- Try to find a backup address for the user where the call can be forwarded
to
- Parameters:
event - ac -
- Returns:
- the address where the call is forwarded or null if there is none
getLocationSbbChildRelation
public abstract javax.slee.ChildRelation getLocationSbbChildRelation()
getLocationSbbCMP
public abstract org.mobicents.slee.services.sip.location.LocationSbbLocalObject getLocationSbbCMP()
setLocationSbbCMP
public abstract void setLocationSbbCMP(org.mobicents.slee.services.sip.location.LocationSbbLocalObject value)
getLocationSbb
public org.mobicents.slee.services.sip.location.LocationSbbLocalObject getLocationSbb()
throws javax.slee.TransactionRequiredLocalException,
javax.slee.SLEEException,
javax.slee.CreateException
- Throws:
javax.slee.TransactionRequiredLocalException
javax.slee.SLEEException
javax.slee.CreateException
Copyright © 2010. All Rights Reserved.