Module: kamailio Branch: master Commit: fc4cb9db0dfad8313a249f0cf60d77fd3608268e URL: https://github.com/kamailio/kamailio/commit/fc4cb9db0dfad8313a249f0cf60d77fd...
Author: Alexandr Dubovikov alexandr.dubovikov@gmail.com Committer: Alexandr Dubovikov alexandr.dubovikov@gmail.com Date: 2016-04-18T14:50:06+02:00
Merge pull request #571 from adubovikov/master
module/sipcapture fixed type for rtpagent report
---
Modified: modules/sipcapture/sipcapture.c
---
Diff: https://github.com/kamailio/kamailio/commit/fc4cb9db0dfad8313a249f0cf60d77fd... Patch: https://github.com/kamailio/kamailio/commit/fc4cb9db0dfad8313a249f0cf60d77fd...
---
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*/