From: <aa...@us...> - 2007-08-01 15:19:38
|
Revision: 294 http://gull.svn.sourceforge.net/gull/?rev=294&view=rev Author: aajjan Date: 2007-08-01 08:19:41 -0700 (Wed, 01 Aug 2007) Log Message: ----------- NEW: Extend correlation feature with open id Modified Paths: -------------- seagull/trunk/src/generator-scenario/C_ScenarioControl.cpp Modified: seagull/trunk/src/generator-scenario/C_ScenarioControl.cpp =================================================================== --- seagull/trunk/src/generator-scenario/C_ScenarioControl.cpp 2007-08-01 13:33:49 UTC (rev 293) +++ seagull/trunk/src/generator-scenario/C_ScenarioControl.cpp 2007-08-01 15:19:41 UTC (rev 294) @@ -2435,15 +2435,20 @@ L_actionArg = L_action -> find_value((char*)"name"); if (L_actionArg != NULL) { + L_actionData -> m_type = E_ACTION_SCEN_INSERT_IN_MAP_FROM_MEM ; L_actionData->m_mem_id = check_memory (L_actionArg) ; if (L_actionData->m_mem_id == -1) { - GEN_ERROR(E_GEN_FATAL_ERROR, - "Unable to find definition for [" - << L_actionArg << "]"); - L_ret = -1 ; - break ; + if (strcmp(L_actionArg, (char*)"default-session-id") == 0) { + L_actionData -> m_type = E_ACTION_SCEN_ADD_DEFAULT_IN_CALL_MAP; + L_actionData -> m_id = L_actionData->m_position ; + } else { + GEN_ERROR(E_GEN_FATAL_ERROR, + "Unable to find definition for [" + << L_actionArg << "]"); + L_ret = -1 ; + break ; + } } - L_actionData -> m_type = E_ACTION_SCEN_INSERT_IN_MAP_FROM_MEM ; } else { L_actionArg2 = L_action -> find_value((char*) "entity"); if (L_actionArg2 == NULL) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |