The following issue has been CLOSED ====================================================================== https://bugtracker.iptel.org/view.php?id=60 ====================================================================== Reported By: cbanta Assigned To: ====================================================================== Project: SEMS Issue ID: 60 Category: core Reproducibility: always Severity: feature Priority: normal Status: closed Resolution: open Fixed in Version: ====================================================================== Date Submitted: 2011-08-31 21:19 CEST Last Modified: 2011-09-08 14:43 CEST ====================================================================== Summary: Make AmSession::getLocalTag virtual Description: Can you make AmSession::getLocalTag a virtual member so it can be overridden by a subclass? This will allow plugins to define their own tag. For example, I would like to use a UUID in my plugin. ======================================================================
---------------------------------------------------------------------- (0000097) stefan (manager) - 2011-09-01 00:25 https://bugtracker.iptel.org/view.php?id=60#c97 ---------------------------------------------------------------------- getLocalTag doesn't need to be virtual for this. getLocalTag should always only return the local tag (once it is set), as the local tag is used to identify the session. use setLocalTag in the beginning (before getLocalTag is called), or use the local_tag parameter of AmUAC::dialout. ---------------------------------------------------------------------- (0000098) stefan (manager) - 2011-09-08 14:43 https://bugtracker.iptel.org/view.php?id=60#c98 ---------------------------------------------------------------------- as the local_tag should not change during the session lifetime, it is recommended to use setLocalTag before, instead of overwriting getLocalTag. Issue History Date Modified Username Field Change ====================================================================== 2011-08-31 21:19 cbanta New Issue 2011-09-01 00:25 stefan Note Added: 0000097 2011-09-08 14:43 stefan Note Added: 0000098 2011-09-08 14:43 stefan Status new => closed ====================================================================== _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
