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:
parent
051f6c1c7a
commit
fc54d2e93b
|
@ -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'",
|
||||
|
|
Loading…
Reference in New Issue