Created by: Jason Shaffer on 01-06-2013 09:54:53 AM Hi Everyone,
I am trying to integrate C Series codecs with my web-based application. I'm registering HttpFeedback expressions and they seem to be cleared out for a reason I can't understand. I use the following command to set the expressions:
Also, I am watching the access.log in Apache and never see this hit the webserver. The server FQDN is resolvable by the codec and can ping it.
Any help would be greatly appreciated.
Subject: RE: HttpFeedback Expressions Replied by: David Bruun-Lie on 03-06-2013 08:07:50 AM Hi Jason, I'd check your feedback URL. You need to have a fully qualified address, with protocol prefix, e.g.: HttpFeedback 1 URL: "http://system.vstud.io/func/codec"
The feedback URL is automatically cleared after a certain number of http postings to the given URL have failed. A fail is either that it cannot establish a connection to the given URL or that the given URL is not responding correctly (with HTTP response 200 OK)
Subject: RE: HttpFeedback Expressions Replied by: Jason Shaffer on 05-06-2013 12:24:29 PM Hey David,
Actually it was that and forgot to update. My apologies.
I do have another issue that has risen.
We're using feedback expressions to keep status and state inside of the database which is referenced by php/jquery. Is there a particular expression that will show it disconnecting message? /Status/Call/Status does not seem to be sending us an expression back when the 'remote side' send a SIP disconnect and the call is ended. However it does send one when we use the API to disconnect from the 'local' codec. Any thoughts?
Also, is there a way to make an expression give feedback on a regular basis? We don't see to be getting updates from /Status/Diagnostics/Call.
Subject: RE: HttpFeedback Expressions Replied by: Jason Shaffer on 10-06-2013 09:08:13 AM Hi David,
Just checking back in to see if you had any response.
Subject: RE: HttpFeedback Expressions Replied by: Thomas Bonhomme on 11-06-2013 04:26:28 PM Hi Jason,
TMS registers the following HttpFeedback expressions on SX/EX/C-Series systems and I would recommend you to reproduce what TMS does :
Then, TMS listens for such feedback and builds Trap Logs accordingly to what it gets from managed endpoints : - When endpoint connects, a message of type "status" is posted to TMS. - When endpoint disconnects, a message of type "history" is posted to TMS.
But be aware that when CallLogging Mode is turned Off on endpoints for privacy reason, they do not send the disconnect message (/History/CallLogs/Call). Instead, you should register "/Event/CallDisconnect" but this event has a lot less data in it than a call history post, most notably missing is the call duration, encryption, call type and bandwidth.
Hope that helps! Thomas
Subject: RE: HttpFeedback Expressions Replied by: Jason Shaffer on 13-06-2013 08:18:57 AM Hi Thomas,
Is there a way to make an expression give feedback on a regular basis? We don't seem to be getting updates from /Status/Diagnostics/Call. Or is there another command I should be issuing to get the call stats on a regular basis?
Subject: RE: HttpFeedback Expressions Replied by: Thomas Bonhomme on 18-06-2013 03:24:25 PM Hi Jason,
You register feedbacks on events or status in order to get notifications when they occur or when they change. If you want to read call status on regular basis, I would consider to take the problem from the other end and to pull call details from your application. Use the event "call connect" to start a thread that queries call diagnostics with http://<ip-address>/getxml?location=<path> for instance. Only difficulty I see, it's that you need to keep track of the call IDs (represented in the documentation by [1..n]), but maybe this info is in fact sent in the feedback message... I haven't checked to be honest!
Hope that helps! Thomas
Subject: RE: HttpFeedback Expressions Replied by: Jason Shaffer on 18-06-2013 05:01:30 PM Hi Thomas,
We've had trouble with latency when pulling from the codec was pretty high. We want the web server to proxy (AJAX calls up PHP and returns values) the connection as users may be outside a firewall. It was a little better preformance using GETs over POST to the codec. So when we watched this in Firebug, its takes 10 - 20 seconds before the web UI gets a value returned. We'll try a few other configurations to see what works, but it would be much better to POST Diagnostics in a regular time interval, then to query it. Will try and post back.
Also is there a forum for MCU API? Or is this it as well?
Call IDs wont be a concern in our particular set up. But for edification, it does send it... Here it is as a PHP array:
I’m trying to iniate a silent monitoring session using TAPI in my admin C#/.NET application. My plan was to monitor the call from one Jabber phone via the Jabber phone on the admin’s desktop. I have a function that gets called when I try to in...
The Python library "webexteamssdk" is great but there's one part of this library that "may need better documentation". This is the ability to create cards & buttons.
Here's a card example:
How is this card setup? What compone...
I'm using CUPI to try and updates a mailbox password. So I PUT to https://srvcucn12s.nxodev.intra:443/vmrest/users/d65583a1-3da2-4fcd-b655-4beb896791df/credential/passwordwith this content<Credential><Credentials>my password here<...
Hello All, Below is my scenario Extension A is observed Caller calls from PSTN to Extension A Extension A rings and A Rejects the call.I am using call.drop() to reject the call. When I invoke this, the call seems to disconnec...
(using Python and the Flask Library)
An oAuth integration allows you to have an application "do stuff on your behalf".
This is a topic that can be quite complex to understand. For that reason I created this Python code to make it as easy as possible to...