Added "message" variable in routing scope context.
Removed current message parameters from routing scope context. git-svn-id: http://yate.null.ro/svn/yate/trunk@5156 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
ee8ca1d7d8
commit
92efe58739
|
@ -1023,9 +1023,9 @@ bool JsAssist::init()
|
|||
}
|
||||
if (jsm && jsm->ref()) {
|
||||
JsObject* cc = JsObject::buildCallContext(ctx->mutex(),jsm);
|
||||
ExpEvaluator::pushOne(m_runner->stack(),new ExpWrapper(cc,cc->toString(),true));
|
||||
jsm->ref();
|
||||
ExpEvaluator::pushOne(m_runner->stack(),new ExpWrapper(jsm,"(message)"));
|
||||
cc->params().setParam(new ExpWrapper(jsm,"message"));
|
||||
ExpEvaluator::pushOne(m_runner->stack(),new ExpWrapper(cc,cc->toString(),true));
|
||||
}
|
||||
}
|
||||
if (!m_runner->callable("onLoad"))
|
||||
|
|
Loading…
Reference in New Issue