Brekeke SIP Server Wiki

$isTalking

Check whether the SIP-URI is listed in the Active Session list.
If no parameter is specified, it uses the Request-URI.
A SIP-URI will be listed in the Active Session list if it is initiating a call or on an active call.

Syntax:
$isTalking
$isTalking( SIP-URI )
Returns:

true – if the SIP-URI is listed in the Active Session list.
false – otherwise

 

Version Since:

1.0

 

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

 

Example:
$istalking = true

If the Request-URI is listed in the Active Session list.

$istalking( “sip:alice@192.168.0.2” ) = true

If the sip:alice@192.168.0.2 is listed in the Active Session list.

Yes No
Suggest Edit