Brekeke SIP Server Wiki

$pbx

$pbx is a function used for some default dialplan rules on the bundled SIP Server in Brekeke PBX.

*Do NOT change the default dialplan rules on the bundled SIP Server in Brekeke PBX unless you have a special reason.

 

$pbx.src

 

Returns:

true – If the request comes from PBX

false – otherwise

Where the function can be used:
  • Preliminary rules
  • Regular rules

$pbx.precheck

 

Returns:

Necessary processing is performed when using as a PBX, such as ignoring requests that seem to be attacks. If true is returned as a return value,$pbx.preproces on the deploy patterns will be executed.

 

Where the function can be used:
  • Preliminary rules

 

Yes No
Suggest Edit