Added 'contact' and 'instance' parameters to enqueued msg.execute messages.

git-svn-id: http://yate.null.ro/svn/yate/trunk@2744 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2009-06-30 14:16:21 +00:00
parent a1bb51dc49
commit db25093aa1
1 changed files with 3 additions and 0 deletions

View File

@ -5058,6 +5058,9 @@ void YJGDriver::processImMsg(JBEvent& event)
m->addParam("caller",event.from());
m->addParam("called",event.to());
m->addParam("module",name());
m->addParam("contact",event.from().bare());
if (event.from().resource())
m->addParam("instance",event.from().resource());
String billid;
billid << Engine::runId() << "-" << Channel::allocId();
m->addParam("billid",billid);