Skip to content

sip capture server by hep。work with OpenSIPS, Kamailo, and FreeSWITCH。

Notifications You must be signed in to change notification settings

wangduanduan/siphub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
eddie murphy
Sep 21, 2024
338eca0 · Sep 21, 2024

History

15 Commits
Sep 7, 2024
Sep 19, 2024
Sep 6, 2024
Sep 21, 2024
Sep 21, 2024
Oct 31, 2023
Oct 31, 2023
Sep 6, 2024
Sep 21, 2024
Sep 21, 2024
Nov 7, 2022
Sep 21, 2024
Sep 21, 2024
Sep 21, 2024
Nov 7, 2022
Sep 21, 2024
Aug 28, 2024
Sep 6, 2024
Sep 21, 2024
Sep 21, 2024
Sep 21, 2024

Repository files navigation

siphub功能介绍

截图

搜索页面展示

时序图展示页面

  • 点击时序图的连线,对应原始消息会滚动到界面可视区域
  • 点击原始消息,同时也会高亮对应连线,并滚动到可视区域
  • 所有请求消息使用实线
  • 所有响应消息使用虚线
  • 相同的SIP事务的线条颜色相同
  • 时序图显示的内容为:F序号 SIP请求/状态码 [原因] 信令时间差

Roadmap

  • 时序图搜索
  • 时序图展示
  • 分表
  • 数据保留天数设置
  • 收藏
  • 导入pcap
  • 导入json
  • 导出json
  • AB Call-leg关联

依赖

  • PostgreSQL 16

部署

docker 部署

docker run -d --name=siphub \
    -e DBUser=root \
    -e DBPasswd=mypass \
    -e DBAddr=1.2.3.4 \
    -e DBPort=5432 \
    -e DBName=postgres \
    -e dataKeepDays=10 \
    -p 3000:3000 \
    eddiemurphy5/siphub:latest

启动环境变量说明

  • DBUser: 数据库用户名, 默认wangduanduan
  • DBPasswd: 数据库密码
  • DBAddr: 数据库地址,默认127.0.0.1
  • DBPort: 数据库端口,默认5432,
  • DBName: 数据库名,默认postgres,
  • LogLevel: 日志级别, 默认debug
  • QueryLimit: 一次性查询的行数,默认10
  • dataKeepDays: 数据保留几天,默认3

架构图

  • OpenSIPS、FreeSWITCH、Heplify 将SIP消息以HEP格式写入到hep-connect
  • hep-connect将消息写入数据库, hep-connect部署文档参考 https://github.com/wangduanduan/hep-connect
  • siphub提供web查询界面,负责从数据库查询和展示SIP消息