[sr-dev] get Received interface name

Patrick Karton patrickarton at hotmail.com
Fri Nov 12 12:40:28 CET 2021


i declare my interfaces like that in configuration

listen=udp:SIP_EXTERNAL_IP:5060 name "external" listen=udp:SIP_INTERNAL_IP:5060 name "internal"

how do i get the inferface name where the request was received ?

i saw some pseudo variables that deals with received interface but it is always about ip or port or proto but not the interface name ( external or internal like mentioned in the configuration file ).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211112/46aa2031/attachment.htm>

More information about the sr-dev mailing list