Brekeke SIP Server Wiki

%{} in Dial Plan Deploy Patterns

From Brekeke SIP Server v3.2, %{} definition can be used to get value of property variables, functions and SIP headers directly without catching these values with parenthesis in Matching Patterns and reference by %n.



  • %{&property_variable_name}
  • %{$function_name}
  • %{header_name}
[Matching Patterns]
$request = ^INVITE
To = sip:(.+)@

[Deploy Patterns]
To = sip:%{$getSIPuser(To)}@

The deploy patterns is the same as To = sip:%1@

Yes No
Suggest Edit