cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1026
Views
0
Helpful
1
Replies

deviceRef and xRefCi not Specified in Session Notification Responses

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.

1 Reply 1

ambdev
Cisco Employee
Cisco Employee

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.conf_2.png

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: