Brekeke SIP Server Wiki

Dial plans to apply two session plug-ins to one call

Set up two DialPlan rules as the order below.

 

Rule 1:

------------------------------------
[Matching Patterns]
  $addr = !<SIP_Server_IP_Address>
  $request = ^INVITE

[Deploy Patterns]
  $session = <1st_Plugin>
  $target = <SIP_Server_IP_Address> 
------------------------------------

 

Rule 2:

----------------------------------
[Matching Patterns]
  $port = 5060
  $addr = <SIP_Server_IP_Address> 
  $request = ^INVITE

[Deploy Patterns]
  $session = <2nd_Plugin>
----------------------------------

 

Note: We recommend that you combine both plugin classes into one plugin class instead of the above DialPlan rules.

Yes No
Suggest Edit