drachtio-siprec-recording-server
drachtio-siprec-recording-server copied to clipboard
Help me! I cannot receiver sip calls when i run app
I run app with comman: node app but when i make call, siprec recording server cannot receiver Sip messages I use tcpdump to catch Sip package in port 5060 then i see it exist. but Siprec server cannot process it. It alway just show: {"level":30,"time":1642566832259,"msg":"attempting inbound connection","pid":12819,"hostname":"siprec.server","host":"127.0.0.1","port":9023,"secret":"cymru","v":1} {"level":30,"time":1642566832263,"msg":"using freeswitch as the recorder","pid":12819,"hostname":"siprec.server","0":"172.32.0.4","v":1} {"level":30,"time":1642566832586,"msg":"successfully connected to redis at 127.0.0.1:9379","pid":12819,"hostname":"siprec.server","v":1} {"level":30,"time":1642566832591,"msg":"inbound connection to drachtio listening on udp/127.0.0.1:5060,udp/172.32.0.2:5060","pid":12819,"hostname":"siprec.server","v":1}
I config SBC wrong? Please help me! thank a lot, sorry because my english is bad.
please get the drachtio.log file and attach it here
I don't see anything from /home/drachtio-server/log i use docker same test file (docker-compose-testbed.yaml) volumes: - ./home/drachtio-server/log:/var/log/drachtio so, i don't know where is my config wrong. please help me! thank you very much! docker-compose.txt this is my docker yaml file
It is myconfig.
Could you help me check if it wrong?
Thank so much!
local.txt
docker-compose.txt
i just run: docker-compose up -d
and: node app
but i don't see drachtio.log file in folder /home/drachtio-server/log ( it is volumns of /var/log/drachtio)
what is the output from node app.js
?
what is the output from
node app.js
?
this is my output from node app.js
please get the drachtio.log file and attach it here
drachtio.zip this is my drachtio log file. Thanks!
@thieplehuu Are you sure that drachtio server is listening UDP 5060 on correct interfaces?
from your log: {"level":30,"time":1642566832591,"msg":"inbound connection to drachtio listening on udp/127.0.0.1:5060,udp/172.32.0.2:5060","pid":12819,"hostname":"siprec.server","v":1}
udp/127.0.0.1 is localhost udp/172.32.0.2 is docker network
SBC? Could you give me SBC vendor name?
@thieplehuu Are you sure that drachtio server is listening UDP 5060 on correct interfaces?
from your log: {"level":30,"time":1642566832591,"msg":"inbound connection to drachtio listening on udp/127.0.0.1:5060,udp/172.32.0.2:5060","pid":12819,"hostname":"siprec.server","v":1}
udp/127.0.0.1 is localhost udp/172.32.0.2 is docker network
SBC? Could you give me SBC vendor name?
I received an invitation message from SBC and the call was successfully established but the output pcap file is always 24kb, does not contain recording data, don't understand why here is my log and configuration. i use docker-compose to run drachtio and rtpenginend why here is my log and configuration. i use docker-compose to run drachtio and rtpengine. docker-compose.txt drachtio.log rtpengine.conf.txt local.json.txt rtpengine-meta.tmp.txt
If you are saying that the size of your PCAP is 24 bytes(not 24 kb as you wrote) this means that the file contains just a header and there is not data in it. I would check your firewall configuration and run the tcpdump on the rtpengine host to see if you have incoming packets from the SBC during the call.
@thieplehuu show me logs, run drachtio app with command: DEBUG=* node app and add drachtio logs