|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecthp.opencall.media.ccapi.IsupInfo
All messages obtained thanks to the getIncomingIsupMsg method are freed automatically by the OCMP framework as soon as the call is released. try { CallSpec inSpec = origCP.getTrunkLeg().getCallSpec(); // Checks that the call is an ISDN call if (inSpec.getCallSpecType() == CallSpec.CallSpecType.ISDN_CALLSPEC) { // Cast can be done ISDNCallSpec isdnInSpec = (ISDNCallSpec) inSpec; // Checks that the required information is available and retrieves it if (isdnInSpec.isIsupInfoPresent()) { IsupInfo isupInfo = isdnInSpec.getIsupInfo(); IsupIam iamMsg = (IsupIam) isupInfo.getIncomingIsupMsg(IsupIam.class); System.out.println("IAM.calledPartyNumber = " + iamMsg.calledPartyNumber()); } } } catch (Exception ex) { System.out.println("IAM.calledPartyNumber Exception : "+ex); }
| Constructor Summary | |
IsupInfo()
=============== Constructors ========== |
|
| Method Summary | |
void |
freeIncomingMsgsMemory()
Deprecated. IsupMsg memory is handled by the JVM |
void |
freeMsgsMemory()
Deprecated. IsupMsg memory is handled by the JVM |
void |
freeOutgoingMsgsMemory()
Deprecated. IsupMsg memory is handled by the JVM |
IsupMsg |
getAndRemoveNextOutgoingMsg()
|
IsupMsg |
getIncomingIsupMsg(Class isupMsgClass)
Get an incoming ISUP message that has been stored. |
short |
getISUPMessageSetID(ISDNCallSpec aISDNCallSpec)
Retrieves the messageset id from the stack |
IsupMsg |
getLastIncomingIsupMsg()
Get the last received ISUP message. |
Object |
getLastIncomingMsg()
Get the last received message. |
IsupMsg |
getOutgoingIsupMsg(Class isupMsgClass)
Get a outgoing ISUP message that has been stored. |
boolean |
isUserManageMemory()
Deprecated. IsupMsg memory is handled by the JVM |
void |
putIncomingIsupMsg(Class isupMsgClass,
IsupMsg isupMsg)
Store an incoming ISUP message. |
void |
putNextOutgoingMsg(IsupMsg aMsg)
|
void |
putNextOutgoingMsg(Object aMsg)
put the next outgoing signalling message to send through the signalling Leg. |
void |
putOutgoingIsupMsg(Class isupMsgClass,
IsupMsg isupMsg)
Store a outgoing ISUP message. |
void |
setUserManageMemory(boolean userManageMemoryFlag)
Deprecated. IsupMsg memory is handled by the JVM |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IsupInfo()
| Method Detail |
public void setUserManageMemory(boolean userManageMemoryFlag)
userManageMemoryFlag - true if the user manage the memory (default
value is false)public boolean isUserManageMemory()
public void putIncomingIsupMsg(Class isupMsgClass,
IsupMsg isupMsg)
isupMsgClass - The ISUP message class (e.g. IsupIam.class, etc.)isupMsg - The ISUP message instancepublic IsupMsg getIncomingIsupMsg(Class isupMsgClass)
isupMsgClass - The ISUP message class (e.g. IsupIam.class, etc.)
public void putOutgoingIsupMsg(Class isupMsgClass,
IsupMsg isupMsg)
isupMsgClass - The ISUP message class (e.g. IsupIam.class, etc.)isupMsg - The ISUP message instancepublic IsupMsg getOutgoingIsupMsg(Class isupMsgClass)
isupMsgClass - The ISUP message class (e.g. IsupIam.class, etc.)
public void freeMsgsMemory()
public void freeIncomingMsgsMemory()
public void freeOutgoingMsgsMemory()
public short getISUPMessageSetID(ISDNCallSpec aISDNCallSpec)
throws AccessControlException
aISDNCallSpec -
AccessControlException
public IsupMsg getLastIncomingIsupMsg()
throws Exception
Exceptionpublic Object getLastIncomingMsg()
getLastIncomingMsg in interface SignallingInfo
public void putNextOutgoingMsg(IsupMsg aMsg)
throws Exception
aMsg - the Isup Msg to send through thew oriTrubkLeg.sendMessage()
Supported message are : CPG, FAC, FAR, FAA, FRJ, INR, INF
Exception - thrown if aMsg is not a supported msg
public void putNextOutgoingMsg(Object aMsg)
throws Exception
SignallingInfo
putNextOutgoingMsg in interface SignallingInfoaMsg - the Isup Msg to send through thew oriTrubkLeg.sendMessage()
Supported message are : CPG, FAC, FAR, FAA, FRJ, INR, INF
Exception - thrown if aMsg is not a supported msg
public IsupMsg getAndRemoveNextOutgoingMsg()
throws Exception
Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||