diff options
| author | 梁超 <[email protected]> | 2024-07-23 07:39:33 +0000 |
|---|---|---|
| committer | 梁超 <[email protected]> | 2024-07-23 07:39:33 +0000 |
| commit | 000436ec34cd1c16d13d047f2b6161b1e153e776 (patch) | |
| tree | ea74a9d0d746a7e6dd78e706d85f29fffb14ec50 | |
| parent | 9a39b814e6e8a86e14a36ddfb5cc0748aac06d66 (diff) | |
| parent | 319c73ec0ac9936cf5f643d0239d5d5ae08964fd (diff) | |
Merge branch 'bugfix/voip-fields' into 'master'v2.0-rc6
bugfix: add field for 'VoIP' records
See merge request galaxy/tsg_olap/sip-rtp-correlation!32
| -rw-r--r-- | pom.xml | 2 | ||||
| -rw-r--r-- | src/main/resources/jobs/job.yml | 50 | ||||
| -rw-r--r-- | src/site/markdown/download.md | 10 |
3 files changed, 29 insertions, 33 deletions
@@ -7,7 +7,7 @@ <groupId>com.geedgenetworks.application</groupId> <artifactId>sip-rtp-correlation</artifactId> - <version>2.0-rc5</version> + <version>2.0-rc6</version> <name>Flink : SIP-RTP : Correlation</name> diff --git a/src/main/resources/jobs/job.yml b/src/main/resources/jobs/job.yml index b34a2d4..8f92508 100644 --- a/src/main/resources/jobs/job.yml +++ b/src/main/resources/jobs/job.yml @@ -1411,21 +1411,8 @@ pipeline: @i.$sent_bytes AS sent_bytes, @i.$received_bytes AS received_bytes, - @i.$sip_call_id AS sip_call_id, - @i.$sip_originator_description AS sip_originator_description, - @i.$sip_responder_description AS sip_responder_description, - @i.$sip_user_agent AS sip_user_agent, - @i.$sip_server AS sip_server, - @i.$sip_originator_sdp_connect_ip AS sip_originator_sdp_connect_ip, - @i.$sip_originator_sdp_media_port AS sip_originator_sdp_media_port, - @i.$sip_originator_sdp_media_type AS sip_originator_sdp_media_type, - @i.$sip_originator_sdp_content AS sip_originator_sdp_content, - @i.$sip_responder_sdp_connect_ip AS sip_responder_sdp_connect_ip, - @i.$sip_responder_sdp_media_port AS sip_responder_sdp_media_port, - @i.$sip_responder_sdp_media_type AS sip_responder_sdp_media_type, - @i.$sip_responder_sdp_content AS sip_responder_sdp_content, - @i.$sip_duration_s AS sip_duration_s, - @i.$sip_bye AS sip_bye, + withColumns(sip_call_id to sip_bye), + @i.$rtp_payload_type_c2s AS rtp_payload_type_c2s, @i.$rtp_payload_type_s2c AS rtp_payload_type_s2c, @i.$rtp_pcap_path AS rtp_pcap_path, @@ -1496,25 +1483,26 @@ pipeline: @i.$sent_bytes AS sent_bytes, @i.$received_bytes AS received_bytes, - @i.$sip_call_id AS sip_call_id, - @i.$sip_originator_description AS sip_originator_description, - @i.$sip_responder_description AS sip_responder_description, - @i.$sip_user_agent AS sip_user_agent, - @i.$sip_server AS sip_server, - @i.$sip_originator_sdp_connect_ip AS sip_originator_sdp_connect_ip, - @i.$sip_originator_sdp_media_port AS sip_originator_sdp_media_port, - @i.$sip_originator_sdp_media_type AS sip_originator_sdp_media_type, - @i.$sip_originator_sdp_content AS sip_originator_sdp_content, - @i.$sip_responder_sdp_connect_ip AS sip_responder_sdp_connect_ip, - @i.$sip_responder_sdp_media_port AS sip_responder_sdp_media_port, - @i.$sip_responder_sdp_media_type AS sip_responder_sdp_media_type, - @i.$sip_responder_sdp_content AS sip_responder_sdp_content, - @i.$sip_duration_s AS sip_duration_s, - @i.$sip_bye AS sip_bye, + @sip.$sip_call_id AS sip_call_id, + @sip.$sip_originator_description AS sip_originator_description, + @sip.$sip_responder_description AS sip_responder_description, + @sip.$sip_user_agent AS sip_user_agent, + @sip.$sip_server AS sip_server, + @sip.$sip_originator_sdp_connect_ip AS sip_originator_sdp_connect_ip, + @sip.$sip_originator_sdp_media_port AS sip_originator_sdp_media_port, + @sip.$sip_originator_sdp_media_type AS sip_originator_sdp_media_type, + @sip.$sip_originator_sdp_content AS sip_originator_sdp_content, + @sip.$sip_responder_sdp_connect_ip AS sip_responder_sdp_connect_ip, + @sip.$sip_responder_sdp_media_port AS sip_responder_sdp_media_port, + @sip.$sip_responder_sdp_media_type AS sip_responder_sdp_media_type, + @sip.$sip_responder_sdp_content AS sip_responder_sdp_content, + @sip.$sip_duration_s AS sip_duration_s, + @sip.$sip_bye AS sip_bye, + @i.$rtp_payload_type_c2s AS rtp_payload_type_c2s, @i.$rtp_payload_type_s2c AS rtp_payload_type_s2c, @i.$rtp_pcap_path AS rtp_pcap_path, - ( @i.$client_ip == sip_originator_sdp_connect_ip).?(1, (@i.$client_ip == sip_responder_sdp_connect_ip).?(2, 0) ) AS rtp_originator_dir + ( @i.$client_ip == @sip.$sip_originator_sdp_connect_ip).?(1, (@i.$client_ip == @sip.$sip_responder_sdp_connect_ip).?(2, 0) ) AS rtp_originator_dir - SCHEDULING USING PROCESS TIME FOR NOW + 6 * 60 * 1000 schedule: - if: '@rtp.isNotNull && @rtp.cardinality > 0' diff --git a/src/site/markdown/download.md b/src/site/markdown/download.md index a3a6d02..dd679b2 100644 --- a/src/site/markdown/download.md +++ b/src/site/markdown/download.md @@ -2,12 +2,20 @@ ### ${project.version} -- 修复 VoIP 字段错误,使用 `decoded_as` 表示 VoIP 日志。 +- VoIP Record 增加字段: SIP, RTP `protocol` 相关字段。 | Easy Stream | UDF Jar | Job | |-------------| ------------------------------------------------------------ | ------------------------------------------------------------ | | ${easy.stream.version} | [JAR](${project.distributionManagement.repository.url}/com/geedgenetworks/application/sip-rtp-correlation/${project.version}/${project.artifactId}-${project.version}.jar) ( [MD5](${project.distributionManagement.repository.url}/com/geedgenetworks/application/sip-rtp-correlation/${project.version}/${project.artifactId}-${project.version}.jar.md5) [SHA1](${project.distributionManagement.repository.url}/com/geedgenetworks/application/sip-rtp-correlation/${project.version}/${project.artifactId}-${project.version}.jar.sha1) ) | [YML](${project.distributionManagement.repository.url}/com/geedgenetworks/application/sip-rtp-correlation/${project.version}/${project.artifactId}-${project.version}.tar.gz) ( [MD5](${project.distributionManagement.repository.url}/com/geedgenetworks/application/sip-rtp-correlation/${project.version}/${project.artifactId}-${project.version}.tar.gz.md5) [SHA1](${project.distributionManagement.repository.url}/com/geedgenetworks/application/sip-rtp-correlation/${project.version}/${project.artifactId}-${project.version}.tar.gz.sha1) ) | +### 2.0-rc5 + +- 修复 VoIP 字段错误,使用 `decoded_as` 表示 VoIP 日志。 + +| Easy Stream | UDF Jar | Job | +|-------------| ------------------------------------------------------------ | ------------------------------------------------------------ | +| 1.3-rc1 | [JAR](http://192.168.40.153:8081/content/repositories/platform-release/com/geedgenetworks/application/sip-rtp-correlation/2.0-rc5/sip-rtp-correlation-2.0-rc5.jar) ( [MD5](http://192.168.40.153:8081/content/repositories/platform-release/com/geedgenetworks/application/sip-rtp-correlation/2.0-rc5/sip-rtp-correlation-2.0-rc5.jar.md5) [SHA1](http://192.168.40.153:8081/content/repositories/platform-release/com/geedgenetworks/application/sip-rtp-correlation/2.0-rc5/sip-rtp-correlation-2.0-rc5.jar.sha1) ) | [YML](http://192.168.40.153:8081/content/repositories/platform-release/com/geedgenetworks/application/sip-rtp-correlation/2.0-rc5/sip-rtp-correlation-2.0-rc5.tar.gz) ( [MD5](http://192.168.40.153:8081/content/repositories/platform-release/com/geedgenetworks/application/sip-rtp-correlation/2.0-rc5/sip-rtp-correlation-2.0-rc5.tar.gz.md5) [SHA1](http://192.168.40.153:8081/content/repositories/platform-release/com/geedgenetworks/application/sip-rtp-correlation/2.0-rc5/sip-rtp-correlation-2.0-rc5.tar.gz.sha1) ) | + ### 2.0-rc4 - 移除对 `log_id`, `recv_time` 字段的强制非空校验, 该字段在后续步骤中处理。 |
