[OpenSER-Users] Accessing From header parameters

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Oct 30 14:57:15 CET 2007


Hi Andreas,

not really :(..there is no other way. Maybe trying to make use of the 
list transformations:
    
http://www.openser.org/dokuwiki/doku.php/transformations:1.2.x#parameters_list_transformations

regards,
bogdan

Andreas Granig wrote:
> 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
>
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>   





More information about the Users mailing list