Brekeke SIP Server Wiki

Define outgoing From and To headers with / method

Since Brekeke SIP Server v3.1.4.4, slash “/” can be used in Dial Plan rule [Deploy Patterns] to define display name, URI parameters in From and To headers.

Syntax:

From/ | To/

  • displayname
  • uri
  • uri/param/<name>
  • param/<name>
Example:

Ex1:

------------------
[Matching Patterns]
$request = ^INVITE

[Deploy Patterns]
From/displayname = test 
From/uri = sip:1111@192.168.200.2
To/uri/param/transport = "" 
------------------

With above dial plan rule, for any incoming call, change From header display name to “test”, URI to sip:1111@192.168.200.2, as “test” <sip:1111@192.168.200.2>
and remove transport parameter from To header if it is defined in the To header of the incoming INVITE.

Yes No
Suggest Edit