Re: Kamailio Dispatcher for Docker Asterisk
Antonio via sr-users <[email protected]>
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <CAFgS45vxZpBv=PkhjDcGgBnfs9ZAgZJnQHNBgPaoWS7LUYkdUA@mail.gmail.com> |
--network=host no ? On Tue, Jun 3, 2025 at 2:45 PM Fernando Lopes via sr-users < [email protected]> wrote: > Hello everyone, > I have Kamailio running on port 5060, and I'm running Asterisk inside a > Docker container. I'm trying to connect to Asterisk via port 5061. Could > someone please advise what I should add to my dispatcher list? > Currently, I have the dispatcher.list entry: > 1 sip:10.0.0.5:5061;transport=tcp 0 > > Here’s the network info for my Kamailio host (eth0 interface): > inet 10.0.0.4/24 brd 10.0.0.255 scope global eth0 > > And here are the relevant port mappings from Docker: > 5038/tcp -> 0.0.0.0:5038 > 5060/tcp -> 0.0.0.0:5061 > 5060/udp -> 0.0.0.0:5061 > ... > My main question: > Is the dispatcher entry sip:10.0.0.5:5061;transport=tcp correct if > Asterisk is listening on port 5061 in the container? Do I need to adjust > anything on the Kamailio side or change the dispatcher entry format? > > Thanks in advance for any help! > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions -- > [email protected] > To unsubscribe send an email to [email protected] > Important: keep the mailing list in the recipients, do not reply only to > the sender! > -- *Antony* [email protected] __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!