How to publish incoming call via MQTT module

44 views
Skip to first unread message

A Gun

unread,
Dec 12, 2024, 9:32:36 AM12/12/24
to baresip
Hi guys,
ich have baresip running as a container and it connects to my SIP Server (german Fritzbox router) and my MQTT Server:

`root@eb6b2b2da495 :~ /baresip# baresip -f /root/baresip
baresip v1.0.0 Copyright (C) 2010 - 2020 Alfred E. Heggestad et al.
Local network address: IPv4=eth0|172.17.0.3
ua: adding SIP CA: /etc/ssl/certs/ca-certificates.crt
aucodec: PCMU/8000/1
aucodec: PCMA/8000/1
dl: mod: /usr/lib/baresip/modules/auconv.so (/usr/lib/baresip/modules/auconv.so:
cannot open shared object file: No such file or directory)
module auconv.so: No such file or directory
dl: mod: /usr/lib/baresip/modules/auresamp.so (/usr/lib/baresip/modules/auresamp
so: cannot open shared object file: No such file or directory)
module auresamp.so: No such file or directory
ausrc: alsa
auplay: alsa
medianat: stun
medianat: turn
medianat: ice
Populated 1 account
Populated 3 contacts
mqtt: connecting to broker at 192.168.133.59:1883 as baresip01 topic baresip/01
mqtt: Publishing on /baresip/01/event, subscribing to /baresip/01/command/+
mqtt: module loaded
dl: mod: /usr/lib/baresip/modules/ctrl_dbus.so (/usr/lib/baresip/modules/ctrl dbu
S.so: cannot open shared object file: No such file or directory)
module ctrl_dbus.so: No such file or directory
dl: mod: /usr/lib/baresip/modules/netroam.so (/usr/lib/baresip/modules/netroam.so
: cannot open shared object file: No such file or directory)
module netroam.so: No such file or directory
Populated 2 audio codecs
Populated 0 audio filters
Populated 0 video codecs
Populated 0 video filters
baresip is ready.
mqtt: connected to broker at 192.168.133.59:1883
mqtt: subscribed to pattern '/baresip/01/command/+'
iobr...@fritz.box: {0/UDP/v4} 200 OK () [1 binding]
All 1 useragent registered successfully! (37 ms )
`

But I do not receive a MQTT Message for an incoming call.
The only thing I see in my MQTT topic "/baresip/01/event" is this:

`{"type":"REGISTER_OK","class":"register","accountaor":"sip:iobr...@fritz.box","param":"200 OK"}`

How can I publish an incoming call and the incoming number with the mqtt.so module?
Reply all
Reply to author
Forward
0 new messages