Restcomm MySQL table - webrtc

Why in database created when first run Restcomm-Connect no fields for CallbackStatus? In official documentation this field is available. And how can I show register/unregister event for clients?

Related

Azure Data Factory fails to create Azure SQL linked service utilising Managed private endpoint

I have created and approved a managed private endpoint in Azure Data Factory, targeting my Azure SQL server (which has public network access disabled).
I have also created a database user for the System Assigned Managed Identity.
When attempting to add a new linked service in the Data Factory portal, I am able to select my Azure subscription and the Server name, as shown in the screenshot below. However, the Database name dropdown never moves beyond "Loading..."
Attempting to create the linked service via Bicep instead seems to succeed - but reviewing the linked services blade, the linked service is not "Using private endpoint" - and my data pipeline fails.
Fix: Ensure SQL server name is all lowercase.
Checking my browser console whilst the above screen was displayed, I noticed an error relating to validation of the Server name, specifically "Servername cannot be empty or null. It can only be made up of lowercase letters, the numbers 0-9 and the hyphen. The hyphen may not lead or trail in the name."
My server name contained capital letters (although the Data Factory UI was rendering it in all lower case).
After recreating my Azure SQL server, with a name complying with the requirements above, I was able to set up the linked service without issue (both through the UI and through Bicep).
Try with enabling interactive authoting option.
https://learn.microsoft.com/en-us/azure/data-factory/tutorial-copy-data-portal-private

Do an API show data in real time from database SQL with mvc5 and WebAPI

I have an api that queries the database and shows to list servers and their status on the screen, I would like that when a change occurs in the database this would be reflected on the screen, where to start?
If the application is the single entry to your database then you could do this with pure SignalR. When you save your changes in the code make sure to trigger a message on the hub which all subscribers will get and then make sure the client get/recieve the new data.
Example: context.Clients.All.broadcastNotification("UserNotification", "new user added");
If you have many entries to the database where changes can happen from more than just your application then you need to subscribe to your database changes and use SignalR to then update the clients. ADO.NET has something called SqlDependency which will notify your application when changes has been made, read about it here
Read about ddl trigger in SQL Server. You can add a trigger in your system to show that if something is changed in the database.
https://technet.microsoft.com/en-us/library/ms175941(v=sql.105).aspx

adding column to the traces table - Enterprise logging database

I'm using the Enterprise semantic logging on sql server database
I need to add one or more specif columns in the Traces table instead of adding value in Payload column
Maye the only way is to create a custom SINK, but I didn't find how to do that
Anyone has already encountered on this requirement?
Follow this link for implementing custom event sink

How to get Sybase replication definitions code?

How to get the code of all replication definitions of a Sybase server?
If possible and since I'm new to this, give me a little explanation on them as well.
Much of the information about your replication system can be found using the various help functions in the RSSD/ERSSD. The specific commands will vary somewhat based on the kind of Replication you are using (Warm Standby, Function String, Table, Procedure, mixed).
rs_helpdb [ dataserver, database ]: Shows all databases known by the RSSD. If you specify dataserver/datbase, it will only show information for that connection. Output lists Server/Database, rep dbid, primary RS, errorclass, repserver errorclass, function class and status.
rs_helprepdb: Shows replicate databases that have subscriptions to primary data in the current RS, or shows the specified DS/DB.
Other commands that will help:
rs_helprep Displays information about replication definitions
rs_helpsub Displays information about subscriptions
rs_helpreptable Displays information about replication definitions created against a primary table.
rs_helppub Displays information about publications.
rs_helppubsub Displays information about publication subscriptions and article subscriptions.
rs_helpdbrep Displays information about database replication definitions associated with the current Replication Server
rs_helpdbsub Displays information about database subscriptions associated with the replicate data server.
These commands all pull information from the tables in the RSSD, so you can also poke around the RSSD to find the information you are looking for. Here is the RS table diagram to help.
Also, if you are going to do any regular replication work, I highly recommend Rob Verschoors The Complete Sybase Replication Server Quick Reference Guide (www.sypron.nl), as it has >90% of what you need to create and manage a Sybase rep environment.
you can use Replication Monitoring Services (RMS)
Various stored procedures and shell scripts for reverse-engineering RepServer objects can be downloaded from http://repserver.codexchange.sybase.com (link 'repserver', folder Admin Tools/Scripts)
PowerDesigner provides reverse-engineering but might require a special license

How to update field from SQL database

I have a lotus notes application that has a document with a Number, and a description field.
Users reserve a series of numbers at which point documents are created. They then fill in the description and a few other things.
Once this is done they go into another, application (Qpulse; not a notes application) that stores its data in an SQL database.
They will create documents in that system with matching numbers.
Once the documents are created in that system (Qpulse) i'd like update the description field in notes.
How i've done it in the past is to have a notes agent running that does a query, looping through the results finding and updating notes documents.
Is there a better way of doing this? It would be nice to have it automatically updating.
Using an agent like you have already is IMHO the simplest solution.
Another thought comes to mind, though, if you have the database running on a domino server. It could be fairly simple to POST the update to the database using HTTP. You'd still have to write some code within Notes (an agent to receive the POST), but it might be simpler to make an HTTP call after the Qpulse application is updated.
You would send over some unique identifier (that Number field I suppose?) and the description in the POST, the agent would receive it via the DocumentContext object, and could find and update the document. This process would be initiated by some trigger on the Qpulse side.
This isn't simple, but it does avoid writing lots of code outside of Notes, and avoids trying to connect to Notes as a datasource externally.
Trying to integrate with relational database systems is a relatively common problem. But a meaningful and straight forward example seems elusive. I would recommend trying JDBC. There are a few tutorials out there. Perhaps this or this will help get you started.
You could try the Lotus Connectors LotusScript Extension Classes. There is API help documentation in you Domino Designer client. I have also found this IBM Lotus Connectivity Redbook useful, despite it being 10 years old.