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!
--network=host no ?
On Tue, Jun 3, 2025 at 2:45 PM Fernando Lopes via sr-users < sr-users@lists.kamailio.org> 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 -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
How are you planning to expose the RTP port range?
On Tue, Jun 3, 2025, 7:10 AM Fernando Lopes via sr-users < sr-users@lists.kamailio.org> wrote:
Not really ideal for my case. __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
You can check if port TCP is opened by using simple telnet program
So you have options
telnet 127.0.0.1 5060 telnet localhost 5060 telnet host_ip 5060
Change 5060to port which you exposed from container
*Antony* satskiy.a@gmail.com
вт, 3 черв. 2025 р. о 17:34 Calvin E. via sr-users < sr-users@lists.kamailio.org> пише:
How are you planning to expose the RTP port range?
On Tue, Jun 3, 2025, 7:10 AM Fernando Lopes via sr-users < sr-users@lists.kamailio.org> wrote:
Not really ideal for my case. __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
I've fixed this, simple mistake. Now having another problem. Needed to remove the 5 in 1 sip:10.0.0.5:5061 to 1 sip:10.0.0.4:5061.