drachtio-server: cannot fire a call using blink on getting started according to docs

According to developer guide >> Introduction >> Lets do something simple

Now fire up a sip client of some kind (e.g. Bria, Blink, or other), point it at the address your drachtio server is listening on, and place a call.

I needed to fire up a sip client.

I installed blink and tried to connect with a sip contact sip:22@127.0.0.1 But blink fails to connect to it.

I have used drachtio/dractio-server:latest docker image.

And have assumed its default config has been used with contacts setting as <contact>sip:*;transport=udp,tcp</contact>

What am I missing here?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19

Most upvoted comments

Just a quick follow up on linphone, I just tried it and immediately saw a problem. If you are doing everything on localhost, then you are going to run into problems with ports. The way I just solved it was to start the docker container on an alternate port, 5064 in my case. You could also configure linphone to bind to a different port as well. Ultimately, my docker run command was this:

docker run -p 9022:9022 -p 127.0.0.1:5064:5060/udp drachtio/drachtio-server:latest

I then configured my SIP account in Linphone to send calls to 5064 and all was well.

You should be able to get a capture in Wireshark via the loopback(lo) interface.

Thanks for the quick response!

I modified the ports but still can’t connect via SIP.

~ nc -vnzu 127.0.0.1 5060 Connection to 127.0.0.1 port 5060 [udp/*] succeeded!

~ nc -vnzt 127.0.0.1 5060 Connection to 127.0.0.1 port 5060 [tcp/*] succeeded!

Here’s my Linphone config (which given my network test successes could definitely be the problem…)

image

I’m placing the calls to test@127.0.0.1. I don’t see this traffic in Wireshark since it’s not heading out the network interface so it’s hard to see what’s happening under the hood with Linphone.

Would you mind sharing what your soft client setup looks like for this test?