[Serusers] (no subject)

Chahn Kim johnk at koreanet.us
Mon Nov 16 18:40:06 CET 2009


Hi all,

Need some help from experts.
I have beeb using $hdr(via[0]) to fetch the VIA header to get top via field,
which will show entire top via filed as;
<SIP/2.0/UDP 1.2.3.4:5060;branch=z9hG4bK-9aa0fded>.

Now I am in need of getting IP:port# portion only to get assigend to a variable.

What would be the most effecient way of doing it?

I didn't find any other pseudo variable to provide it based on docu.

Thanks in advance.

John Chahn Kim

email: johnk at koreanet.us






More information about the sr-users mailing list