[SR-Users] Use constants in attrs column of the dispatcher module

Karsten Horsmann khorsmann at gmail.com
Tue Oct 19 16:21:00 CEST 2021

Hi Markus,

not testet but looked at latest doc 'sockname' instead of socket could be a
So you label your sockets with "name" in the listen directive (in config
file) and use 'sockname' in dispatcher table.

listen=udp: name "sock1"

Am Di., 19. Okt. 2021 um 15:13 Uhr schrieb Markus Bönke <mb at tenios.de>:

> Hello all,
> I’ve a question regarding the dispatcher module. So far we use on every
> server a separate database table, where the attribute column is set to the
> local internal or external socket like "socket=udp:“ or
> socket=udp:80.239.xxx.xxx:5060. Is there a way to use constants here like
> socket=udp:IPADDR_INTERN:5060 or socket=udp:IPADDR_EXTERN:5060 which are
> replaced when the data is loaded from the DB?
> Thanks and regards
> Markus
> __________________________________________________________
> 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

Mit freundlichen Grüßen
*Karsten Horsmann*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211019/4d1eeaeb/attachment.htm>

More information about the sr-users mailing list