Comments (11)
Well, it seems it requires some tweaking to make it work as intended. Thanks for the report, I'll take a peek and let you know.
from kazoo-docker.
Thanks. I'll try to figure out those tweaks as well and keep you posted. Probably you'll beat me to it though as I'm not mastering Kamailio (yet).
from kazoo-docker.
@fholzhauser, please update to latest: remove all kazoo images from docker host, and run run.sh again, I've added something.
from kazoo-docker.
See https://github.com/jamhed/kazoo-docker#networking as brief explanation.
from kazoo-docker.
Thanks for the update.
I have noticed that now kamailio only starts with the run script. When trying to start it with the start script it fails with :
0(1) : <core> [core/cfg.y:3407]: yyerror_at(): parse error in config file /usr/local/kamailio/etc/kamailio/local.cfg, line 121, column 59-67: syntax error
0(1) : <core> [core/cfg.y:3407]: yyerror_at(): parse error in config file /usr/local/kamailio/etc/kamailio/local.cfg, line 121, column 59-67:
Probably it has something to do with the EXT_IP environment not being present during normal start.
Regarding the calls, I still have disconnections after 30 sec, but it might be some other issue. I'll dig into it and see whether it is related or not.
In the mean time I experimented with simply replacing the IP:Port (with subst) in the contact headers going out in the relevant routing paths (). It actually works, but probably you had a good reason not to go that way, so I'll stick to your solution.
from kazoo-docker.
Regarding the calls, I still have disconnections after 30 sec
This is definitely related with sip messages not being passed either to phone, or to Kazoo's freeswitch.
What is your setup? This works on Scaleway: Docker host with no external ip.
from kazoo-docker.
I experimented with simply replacing the IP:Port
By the way, how do you do that? AFAIK it's not that easy in Kazoo.
from kazoo-docker.
I have noticed that now kamailio only starts with the run script.
You probably need to re-install docker image (e.g. remove old one with docker rmi).
from kazoo-docker.
Sorry for the late reply.
With the latest images, calls work fine, thanks. FYI : previously I changed the contact header in the messages sent out using subst in the relevant routing rules in default.cfg of kamailio. Since the new config of yours works, I don't do that anymore.
Regarding the start problem I guess it is caused by the EXT_IP environment being present at subsequent starts of the kamailio container after run. What fixed it for me is to change the sed line in config-local.sh to replace the whole line (not only the "listen=UDP_SIP" text) when adding the advertise bit to local.cfg.
from kazoo-docker.
Yep, fixed last one. I suppose we can close this now.
from kazoo-docker.
Indeed, thanks for the fix !
from kazoo-docker.
Related Issues (14)
- cant build kamailio container HOT 1
- Freeswitch no audio HOT 7
- create master account HOT 2
- monster-ui problem HOT 5
- docker-compose ?
- kamailio container cant connect to rabbitmq - shows channel_max error
- Missing repositories
- error,unknown_cache,ecallmgr_util_cache HOT 3
- kamilio container cannot launch HOT 8
- The command '/bin/sh -c build/setup-private.sh' returned a non-zero code: 128 HOT 1
- hosts.sh missing from production git repo. HOT 6
- 2600hz/freeswitch:latest -> ./run-deploy.sh: no such file or directory HOT 3
- couchdb 1.6 uses port 15984, but couchdb 2.0 uses 5984 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kazoo-docker.