[SR-Users] nat_uac_test(8)

John Petrini jpetrini at coredial.com
Wed Mar 21 17:08:17 CET 2018


You could do something like below to check specifically for that case and
override the uac test.

if (sdp_get_line_startswith("$avp(cline)", "c="))
    $var(sdp_contact_host) = $(avp(cline){re.subst,/c=IN IP4 (.+)/\1/});


if (is_in_subnet("$avp(sdp_contact_host)", "192.0.0.0/29"))
    .........
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180321/65e6d8c4/attachment.html>


More information about the sr-users mailing list