[SR-Users] dispatcher socket attrs binding

Daniel-Constantin Mierla miconda at gmail.com
Tue Mar 29 12:05:23 CEST 2022


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 at 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 at gmail.com
>>     phone: +34669448337
>>
>>     __________________________________________________________
>>     Kamailio - Users Mailing List - Non Commercial Discussions
>>       * sr-users at 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 at 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 at gmail.com
> phone: +34669448337

-- 
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220329/0f327f37/attachment.htm>


More information about the sr-users mailing list