Hello guys,
Im starting kamailio with listen=0.0.0.0:5060 and in my dispatcher list i have in the attrs something like: socket=udp:172.17.0.2:5060 That IP address belongs to kamailio's host and it is binging to it.
Is it right i can't set a specific IP in the socket attribute if listen is 0.0.0.0? maybe i should be able to?
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Hello,
if you want to listen on all ip addresses, then do not set any listen parameter.
Cheers, Daniel
On 21.03.22 14:49, David Villasmil wrote:
Hello guys,
Im starting kamailio with listen=0.0.0.0:5060 http://0.0.0.0:5060 and in my dispatcher list i have in the attrs something like: socket=udp:172.17.0.2:5060 http://172.17.0.2:5060 That IP address belongs to kamailio's host and it is binging to it.
Is it right i can't set a specific IP in the socket attribute if listen is 0.0.0.0? maybe i should be able to?
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Yes, I know. But what’s happening is when using 0.0.0.0 I can’t then call force_send_socket to a specific ip.
On Thu, 24 Mar 2022 at 14:11, Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
if you want to listen on all ip addresses, then do not set any listen parameter.
Cheers, Daniel On 21.03.22 14:49, David Villasmil wrote:
Hello guys,
Im starting kamailio with listen=0.0.0.0:5060 and in my dispatcher list i have in the attrs something like: socket=udp:172.17.0.2:5060 That IP address belongs to kamailio's host and it is binging to it.
Is it right i can't set a specific IP in the socket attribute if listen is 0.0.0.0? maybe i should be able to?
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
-- Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - Online March 28-31, 2022 (Europe Timezone)
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Yes, because you didn't specify any other specific ip -- that's a single "special" socket, no other sockets in kamailio to select from.
On 29.03.22 10:56, David Villasmil wrote:
Yes, I know. But what’s happening is when using 0.0.0.0 I can’t then call force_send_socket to a specific ip.
On Thu, 24 Mar 2022 at 14:11, Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello, if you want to listen on all ip addresses, then do not set any listen parameter. Cheers, Daniel On 21.03.22 14:49, David Villasmil wrote:
Hello guys, Im starting kamailio with listen=0.0.0.0:5060 <http://0.0.0.0:5060> and in my dispatcher list i have in the attrs something like: socket=udp:172.17.0.2:5060 <http://172.17.0.2:5060> That IP address belongs to kamailio's host and it is binging to it. Is it right i can't set a specific IP in the socket attribute if listen is 0.0.0.0? maybe i should be able to? Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com> www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda> Kamailio Advanced Training - Online March 28-31, 2022 (Europe Timezone) * https://www.asipto.com/sw/kamailio-advanced-training-online/ __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Ok, thanks for the clarification, appreciate it.
On Tue, 29 Mar 2022 at 12:05, Daniel-Constantin Mierla miconda@gmail.com wrote:
Yes, because you didn't specify any other specific ip -- that's a single "special" socket, no other sockets in kamailio to select from. On 29.03.22 10:56, David Villasmil wrote:
Yes, I know. But what’s happening is when using 0.0.0.0 I can’t then call force_send_socket to a specific ip.
On Thu, 24 Mar 2022 at 14:11, Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
if you want to listen on all ip addresses, then do not set any listen parameter.
Cheers, Daniel On 21.03.22 14:49, David Villasmil wrote:
Hello guys,
Im starting kamailio with listen=0.0.0.0:5060 and in my dispatcher list i have in the attrs something like: socket=udp:172.17.0.2:5060 That IP address belongs to kamailio's host and it is binging to it.
Is it right i can't set a specific IP in the socket attribute if listen is 0.0.0.0? maybe i should be able to?
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
-- Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - Online March 28-31, 2022 (Europe Timezone)
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
-- Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - Online March 28-31, 2022 (Europe Timezone)
--
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337