Renders a SIP call button that initiates a browser-based VoIP call using JsSIP.
SIPBUTTON — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
No parameters are used. Reads the phone number from the first column of the first row in self.data_list. Returns an HTML <button> labelled with that number, plus initialization JavaScript that fetches SIP credentials via RPC and passes them to SipCallManager.
RpcGetsipcredentials(data)RPC handler that calls ObjSip.get_credentials() and returns the SIP configuration dict to the client.
get_sip_initialization()Returns a <script> block that fires an RPC call to getsipcredentials and initialises SipCallManager once JsSIP is ready. Intended to be embedded by subclasses such as ObjReportSipSmartTable.
axion.rpc.js, and axion.sip.js.config.yaml.def_report must return the phone number to dial as the first column of the first row.