您现在的位置是:首页 >技术杂谈 >HOMER7 docker setup网站首页技术杂谈
HOMER7 docker setup
# HOMER7 docker setup
## start
```shell
git clone https://github.com/sipcapture/homer7-docker
cd homer7-docker/heplify-server/hom7-prom-all
docker-compose up
```
chrome ip:9080 (admin/sipcapture)
## kamailio setting
<https://github.com/havfo/WEBRTC-to-SIP/blob/master/etc/kamailio/kamailio.cfg>
```txt
loadmodule "siptrace.so"
modparam("siptrace", "duplicate_uri", "sip:127.0.0.1:9060") # 改成HOMER7的ip地址
modparam("siptrace", "hep_mode_on", 1)
modparam("siptrace", "trace_to_database", 0)
modparam("siptrace", "trace_flag", 22)
modparam("siptrace", "trace_on", 1)
request_route {
# start duplicate the SIP message here
# sip_trace_mode("d"); # 可以考虑这上这个函数
sip_trace();
setflag(22); # 跟siptrace的模块参数trace_flag对应起来
...
```
更详细的信息:
<https://github.com/sipcapture/homer/wiki/Examples:-Kamailio#kamailio-5x-trace-node>
<https://www.youtube.com/watch?v=TpsxloY7KEU>
<https://download.csdn.net/download/qq_56167818/87807427>