Closed rafaelcorreiapoli closed 4 years ago
You need to add the signal port. I set mine to 5060, so you should put for the domain
127.0.0.1:5060
You can also put localhost:5060 for simplicity
Hi!
can you add example for this scenario "run container and softphone on local environment".
i tried this by run container and use zoiper + linphone to call each other on my laptop. but still unsuccessful.
can you add what configuration on sip.conf need to be add and how to run the container it's self because i tried docker run --name sp_asterisk -v$(pwd)/test/:/etc/asterisk/ -p 5060:5060 -d -t dougbtv/asterisk
with or without -p flag doesn't seem to work.
@amidia What OS are you using?
I remember I was having problems getting the audio to work on Mac. Is the call connecting but you can't hear anything? Or not connecting at all.
DISTRIB_ID="elementary" DISTRIB_RELEASE=0.4.1 DISTRIB_CODENAME=loki DISTRIB_DESCRIPTION="elementary OS 0.4.1 Loki
You might also need to add the RTP ports, too. E.g. -p 10000:10000 -p 10001:10001
etc.
actually yes. i can't received calls without those rtp port (need to specify the port in softphone's config too). it's now can make call from laptop's softphone to android's handset extension, but still unable to make it the other way.
@amidia you need 2 ports per 1 call https://stackoverflow.com/questions/56570773/how-do-i-create-docker-container-with-asterisk-16?answertab=votes#tab-top
@dougbtv this can be closed
Hi! I'm trying to connect to the Asterisk server from X-lite Since the Asterisk container is in the same network as the host, I should be able to connect to it just by connecting to 127.0.0.1, Is this correct?
Thank you