[SR-Users] nat_uac_test(8)

Sergiu Pojoga pojogas at gmail.com
Wed Mar 21 18:38:23 CET 2018


Convoluted solution for an abnormal problem, but it works, thanks!

On Wed, Mar 21, 2018 at 12:08 PM, John Petrini <jpetrini at coredial.com>
wrote:

> 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"))
>     .........
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180321/5b0a1b69/attachment.html>


More information about the sr-users mailing list