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, org.mobicents.slee.example.sjr.data.DataSourceParentSbbLocalInterface
public abstract class CallForwardingSbb
- extends SubscriptionProfileSbb
- implements javax.slee.Sbb, org.mobicents.slee.example.sjr.data.DataSourceParentSbbLocalInterface
If the user is subscribed to forwarding
- Author:
- torosvi, Ivelin Ivanov, baranowb
| 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,
javax.slee.EventContext eventContext)
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()
asSbbActivityContextInterface
public abstract CallForwardingSbbActivityContextInterface asSbbActivityContextInterface(javax.slee.ActivityContextInterface aci)
getBindingsResult
public void getBindingsResult(int arg0,
java.util.List<org.mobicents.slee.example.sjr.data.RegistrationBinding> bindings)
- Specified by:
getBindingsResult in interface org.mobicents.slee.example.sjr.data.DataSourceParentSbbLocalInterface
removeBindingsResult
public void removeBindingsResult(int arg0,
java.util.List<org.mobicents.slee.example.sjr.data.RegistrationBinding> arg1,
java.util.List<org.mobicents.slee.example.sjr.data.RegistrationBinding> arg2)
- Specified by:
removeBindingsResult in interface org.mobicents.slee.example.sjr.data.DataSourceParentSbbLocalInterface
updateBindingsResult
public void updateBindingsResult(int arg0,
java.util.List<org.mobicents.slee.example.sjr.data.RegistrationBinding> arg1,
java.util.List<org.mobicents.slee.example.sjr.data.RegistrationBinding> arg2,
java.util.List<org.mobicents.slee.example.sjr.data.RegistrationBinding> arg3)
- Specified by:
updateBindingsResult in interface org.mobicents.slee.example.sjr.data.DataSourceParentSbbLocalInterface
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
getLocationChildRelation
public abstract javax.slee.ChildRelation getLocationChildRelation()
getLocationSbbCMP
public abstract org.mobicents.slee.example.sjr.data.DataSourceChildSbbLocalObject getLocationSbbCMP()
setLocationSbbCMP
public abstract void setLocationSbbCMP(org.mobicents.slee.example.sjr.data.DataSourceChildSbbLocalObject value)
getEventContextCMP
public abstract javax.slee.EventContext getEventContextCMP()
setEventContextCMP
public abstract void setEventContextCMP(javax.slee.EventContext value)
getLocationSbb
public org.mobicents.slee.example.sjr.data.DataSourceChildSbbLocalInterface getLocationSbb()
throws javax.slee.TransactionRequiredLocalException,
javax.slee.SLEEException,
javax.slee.CreateException
- Throws:
javax.slee.TransactionRequiredLocalException
javax.slee.SLEEException
javax.slee.CreateException
Copyright © 2012. All Rights Reserved.