Module: kamailio Branch: master Commit: 770111484910cf0b63f07e2090eb403c7edac309 URL: https://github.com/kamailio/kamailio/commit/770111484910cf0b63f07e2090eb403c...
Author: Alexandr Dubovikov alexandr.dubovikov@gmail.com Committer: Alexandr Dubovikov alexandr.dubovikov@gmail.com Date: 2016-04-18T14:49:14+02:00
fixed type for rtpagent report
---
Modified: modules/sipcapture/sipcapture.c
---
Diff: https://github.com/kamailio/kamailio/commit/770111484910cf0b63f07e2090eb403c... Patch: https://github.com/kamailio/kamailio/commit/770111484910cf0b63f07e2090eb403c...
---
diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c index 41d153e..d0b4e54 100644 --- a/modules/sipcapture/sipcapture.c +++ b/modules/sipcapture/sipcapture.c @@ -2276,10 +2276,10 @@ int receive_logging_json_msg(char * buf, unsigned int len, struct hep_generic_re
/* type of proto */ - if (hg->proto_t->data == 5) sco.type = 1; + if (hg->proto_t->data == 5) sco.type = 3; else if (hg->proto_t->data == 32) sco.type = 2; - else if (hg->proto_t->data == 99) sco.type = 1; - else if (hg->proto_t->data == 100) sco.type = 1; + else if (hg->proto_t->data == 99) sco.type = 4; + else if (hg->proto_t->data == 100) sco.type = 5;
/*source ip*/