[OpenSER-Users] Accessing From header parameters

Andreas Granig agranig at sipwise.com
Tue Oct 30 14:22:18 CET 2007


Hi,

I've found that Linksys SPA9000 (some sort of IP PBX) signals extensions
in a "ref" parameter of From-Header, like:

From: <sip:line1 at matrix.sipura.com>;tag=1234;ref=105

Is there a way to easily access this parameter? Seems like...

	$var(ext) = $(fu{uri.param,ref});

... doesn't catch it because it's not part of $fu. Any other ways except
trying to assign $hdr(From) to an AVP and extract it using avp_subst(...)?

Andreas





More information about the Users mailing list