Accept a incoming call
Optional
The call ID, empty to accept the first one
[return description]
// Accept any incoming callWPP.call.accept();// Accept specific call idWPP.call.accept(callId);// Accept any incoming callWPP.on('call.incoming_call', (call) => { setTimeout(() => { WPP.call.accept(call.id); }, 1000);}); Copy
// Accept any incoming callWPP.call.accept();// Accept specific call idWPP.call.accept(callId);// Accept any incoming callWPP.on('call.incoming_call', (call) => { setTimeout(() => { WPP.call.accept(call.id); }, 1000);});
Accept a incoming call