04-04-2018 02:49 AM - edited 03-18-2019 02:01 PM
I am working on Cisco Spark Room Kit with Software version - CE 9.2.3 and trying to capture customer survey feedback in the database using web application, this hosted web application URL will act as “ServerURL” at the time of registering HttpFeedback (Referring to page no. 34 in API reference guide https://www.cisco.com/c/dam/en/us/td/docs/telepresence/endpoint/ce92/codec-sx10-api-reference-guide-ce92.pdf). I have added macro from https://github.com/CiscoDevNet/roomdevices-macros-samples/blob/master/Customer%20Satisfaction/customersatisfaction_with_input.js
to the endpoint and it’s successfully showing survey options at the end of the call.
I have register HttpFeedback using following xCommand,
xCommand HttpFeedback Register Expression: /event/userinterface/message/prompt/response Expression: /event/userinterface/message/textinput/response ServerUrl: http://xxx.xx.xxx.xx/meetingfeedback/feedback/getfeedback FeedbackSlot: 1 Format: XML
But when I submit the feedback after disconnecting the call, there is a blank response in the web application. Would you please to help me for this issue?
04-07-2018 07:04 PM
Have you had any luck with this so far?
I would packet capture the message as it's sent from the system toward your web server and see if the message is present there. If it is your web application is suspect. If not, back to the codec configuration.
I have something similar to this as part of my applications you can find on git hub here: https://github.com/technologyordie/CE9-projects
Let me know if you would like further assistance on this.
04-09-2018 09:44 PM
Thank you adschaef for your response and sharing your application git hub link.
I have connected endpoint through SSH and used command "xfeedback register /event/userinterface/message/prompt/response". Once I click on End call, I can see my responses in command line. Also, I have checked the packet capture and the endpoint is sending the messages to a web server so I don't think there is an issue with codec configuration.
Now I have following two questions,
public class FeedbackController : Controller { private readonly ILog log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); public void GetFeedback(JObject feedbackResponse) { try { this.log.Info("GetFeedback called"); JObject objIdentificationObject = (JObject)feedbackResponse["Identification"]; JArray array = (JArray)objIdentificationObject["SystemName"]; string value = array[0].ToString(); this.log.Info(value); } catch (Exception ex) { this.log.Info(ex.Message); } } public void GetFeedback2() { this.log.Info("Test2"); } }
06-05-2018 07:04 AM
Amol,
did you manage to get this work? I am still wondering how I should create webserver and parse these events from endpoints.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide