Hi Henning

> $hdr(Via)[i} don't work for you? Combine with the available transformations 
> to get e.g. specific parts of the header.

Ended up with: $var(viahost) = $(hfl(Via)[$var(i)]{s.select,0,;}{s.select,1, });

Which return host or host:port

Now I would like to test if this contains one of myself ip addresses.

But if_myself() seems to expect an URI. Any hints?

Mit freundlichen Grüssen

-Benoît Panizzon-
-- 
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to