Added the possibility to pick up a channel or its peer

git-svn-id: http://voip.null.ro/svn/yate@1386 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2007-07-06 12:43:33 +00:00
parent 051f6c1c7a
commit fc54d2e93b
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ bool ChanPickup::received(Message& msg)
// It's ours. Get the channels
RefPointer<CallEndpoint> caller(static_cast<CallEndpoint*>(msg.userData()));
RefPointer<CallEndpoint> called(locateChan(callto,true));
RefPointer<CallEndpoint> called(locateChan(callto,msg.getBoolValue("pickup_peer",true)));
if (!caller) {
Debug(&s_module,DebugNote,"No channel to pick up: callto='%s'",