10#ifndef SIP_CTRL_INTERFACE_H
11#define SIP_CTRL_INTERFACE_H
46 const std::string& countryCode,
47 const std::string& name,
NECallback< NERoomSIPCallInfo > CallSIPUserUuidCallback
virtual void callByUserUuids(const std::list< std::string > &userUuids, const NECallback<> &callback)=0
根据用户uuid进行呼叫
NECallback< NERoomSIPCallInfo > GetSIPUserUuidCallback
获取SIP用户的userUuid
~INERoomSIPController() override=default
构造函数
virtual void hangUpCall(const std::string &userUuid, const NECallback<> &callback)=0
挂断呼叫
virtual void callByUserUuid(const std::string &userUuid, const NECallback<> &callback)=0
对已经发起但是未接通的通话再次发起呼叫
virtual void removeCall(const std::string &userUuid, const NECallback<> &callback)=0
移除呼叫
virtual void cancelCall(const std::string &userUuid, const NECallback<> &callback)=0
取消正在进行的呼叫,无论是正在响铃还是等待响铃都可以使用
virtual void callOutRoomSystem(const NERoomSystemDevice &device, const CallSIPUserUuidCallback &callback)=0
呼叫指定房间设备
virtual void callByNumber(const std::string &number, const std::string &countryCode, const std::string &name, const GetSIPUserUuidCallback &callback)=0
根据手机号码进行呼叫
std::function< void(int, const std::string &, const TResultParam &...)> NECallback
通用回调