Skip to end of metadata
Go to start of metadata

UNLOCK()

Synopsis

Unlocks a named mutex.

Description

Unlocks a previously locked mutex. Returns 1 if the channel had a lock or 0 otherwise.

Note

Icon

It is generally unnecessary to unlock in a hangup routine, as any locks held are automatically freed when the channel is destroyed.

Note

Icon

If live_dangerously in asterisk.conf is set to no, this function can only be executed from the dialplan, and not directly from external protocols.

Syntax

UNLOCK(lockname)
Arguments
  • lockname

See Also

Import Version

This documentation was imported from Asterisk Version SVN-branch-1.8-r403913

  • No labels