12-15-2014 04:40 AM
I have subscribed for Mediasense notifications whenever a recording starts, ends or gets updated. But, sometimes I don't get 'deviceRef' and 'xRefCi' parameter's value in response. I have added response of a sample call:
Recording with Active State:
{"eventBody":{"sessionState":"ACTIVE","callControllerType":"Cisco-CUCM","sessionId":"6d0b14a39a4c11a1","urls":[{"rtspUrl":"rtsp://---.---.---.---/6d0b14a39a4c11a1"}],"sessionStartDate":1418306306586,"tracks":[{"trackStartDate":1418306306586,"codec":"PCMU","trackNumber":1,"trackMediaType":"AUDIO","participants":[{"participantStartDate":1418306306586,"deviceRef":"","isConference":false,"xRefCi":"18163327","deviceId":""}]},{"trackStartDate":1418306306586,"codec":"PCMU","trackNumber":0,"trackMediaType":"AUDIO","participants":[{"participantStartDate":1418306306586,"deviceRef":"42211","isConference":false,"xRefCi":"18163309","deviceId":"SEP8056F2369CBD"}]}],"callControllerIP":"---.---.---.---"},"eventType":"SESSION_EVENT","eventAction":"STARTED"}
Same Recording with Recorded State:
{"eventBody":{"sessionState":"CLOSED_NORMAL","callControllerType":"Cisco-CUCM","sessionId":"6d0b14a39a4c11a1","urls":[{"rtspUrl":"rtsp://---.---.---.---/archive/6d0b14a39a4c11a1"}],"sessionStartDate":1418306306586,"tracks":[{"trackStartDate":1418306306586,"trackDuration":44342,"downloadUrl":"http://192.168.200.204:8081/mma/ExportRaw?recording=6d0b14a39a4c11a1-TRACK1","codec":"PCMU","trackNumber":1,"trackMediaType":"AUDIO","participants":[{"participantStartDate":1418306306586,"deviceRef":"","isConference":false,"xRefCi":"18163327","participantDuration":44342,"deviceId":""}]},{"trackStartDate":1418306306586,"trackDuration":44342,"downloadUrl":"http://192.168.200.204:8081/mma/ExportRaw?recording=6d0b14a39a4c11a1-TRACK0","codec":"PCMU","trackNumber":0,"trackMediaType":"AUDIO","participants":[{"participantStartDate":1418306306586,"deviceRef":"42211","isConference":false,"xRefCi":"18163309","participantDuration":44342,"deviceId":"SEP8056F2369CBD"}]}],"sessionDuration":44342,"callControllerIP":"---.---.---.---"},"eventType":"SESSION_EVENT","eventAction":"ENDED"}
Same Recording with Update State:
{"eventBody":{"sessionState":"CLOSED_NORMAL","callControllerType":"Cisco-CUCM","sessionId":"6d0b14a39a4c11a1","urls":[{"httpUrl":"http://---.---.---.---8081/media1/oramedia/mp4/6d0b14a39a4c11a1.mp4"},{"rtspUrl":"rtsp://---.---.---.---/archive/6d0b14a39a4c11a1"}],"sessionStartDate":1418306306586,"tracks":[{"trackStartDate":1418306306586,"trackDuration":44342,"codec":"PCMU","trackNumber":1,"trackMediaType":"AUDIO","participants":[{"participantStartDate":1418306306586,"deviceRef":"","isConference":false,"xRefCi":"18163327","participantDuration":44342,"V":""}]},{"trackStartDate":1418306306586,"trackDuration":44342,"codec":"PCMU","trackNumber":0,"trackMediaType":"AUDIO","participants":[{"participantStartDate":1418306306586,"deviceRef":"42211","isConference":false,"xRefCi":"18163309","participantDuration":44342,"deviceId":"SEP8056F2369CBD"}]}],"sessionDuration":44342,"callControllerIP":"---.---.---.---"},"eventType":"SESSION_EVENT","eventAction":"UPDATED"}
You can see in the above responses that no value for 'deviceRef' and 'xRefCi' secified in first track. I have taken this sample responses from a 'Conference Call'. Can anyone please guide me that in which scenarios we get such kind of responses ? Or what is the reason behind the absence of these attributes ?
Thanks for your time.
07-16-2015 05:32 AM
Hi Bilal,
We checked for the same by placing a conference call in active & recorded state and we found that 'deviceRef' and 'xRefCi' is always present. Please find snapshot for the same.
Is the sample response from a "conference call" because "isConference":false? Please confirm the MediaSense version you are using. Also please tell details about the scenario you are trying.
Regards,
Ambrose Dev
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