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
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
www.twitter.com/miconda -- 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