{"push_id":1119101619,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"b57032c3646229ab5abcb16f8a7e77bde350afae","before":"1f36270b21149e92f0552170acd441ae543c0ff2","commits":[{"sha":"e06a23681ca8c6933d705ad9e52c24395ed0a506","author":{"email":"317a993f1126881a6019d7e476a07af7fa3e05fe@digium.com","name":"Matt Jordan"},"message":"res_hep: Provide an option to pick the UUID type\n\nAt one point in time, it seemed like a good idea to use the Asterisk\nchannel name as the HEP correlation UUID. In particular, it felt like\nthis would be a useful identifier to tie PJSIP messages and RTCP\nmessages together, along with whatever other data we may eventually send\nto Homer. This also had the benefit of keeping the correlation UUID\nchannel technology agnostic.\n\nIn practice, it isn't as useful as hoped, for two reasons:\n1) The first INVITE request received doesn't have a channel. As a\n   result, there is always an 'odd message out', leading it to be\n   potentially uncorrelated in Homer.\n2) Other systems sending capture packets (Kamailio) use the SIP Call-ID.\n   This causes RTCP information to be uncorrelated to the SIP message\n   traffic seen by those capture nodes.\n\nIn order to support both (in case someone is trying to use res_hep_rtcp\nwith a non-PJSIP channel), this patch adds a new option, uuid_type, with\ntwo valid values - 'call-id' and 'channel'. The uuid_type option is used\nby a module to determine the preferred UUID type. When available, that\nsource of a correlation UUID is used; when not, the more readily available\nsource is used.\n\nFor res_hep_pjsip:\n - uuid_type = call-id: the module uses the SIP Call-ID header value\n - uuid_type = channel: the module uses the channel name if available,\n                        falling back to SIP Call-ID if not\nFor res_hep_rtcp:\n - uuid_type = call-id: the module uses the SIP Call-ID header if the\n                        channel type is PJSIP and we have a channel,\n                        falling back to the Stasis event provided\n                        channel name if not\n - uuid_type = channel: the module uses the channel name\n\nASTERISK-25352 #close\n\nChange-Id: Ide67e59a52d9c806e3cc0a797ea1a4b88a00122c","distinct":true,"url":"https://api.github.com/repos/asterisk/asterisk/commits/e06a23681ca8c6933d705ad9e52c24395ed0a506"},{"sha":"b57032c3646229ab5abcb16f8a7e77bde350afae","author":{"email":"e7bf676187195e47c70a931cb0e87f318fea16b3@digium.com","name":"Joshua Colp"},"message":"Merge \"res_hep: Provide an option to pick the UUID type\"","distinct":true,"url":"https://api.github.com/repos/asterisk/asterisk/commits/b57032c3646229ab5abcb16f8a7e77bde350afae"}]}