function 'UNLOCK'

[Synopsis]
Unlocks a named mutex.
 
[Description]
Unlocks a previously locked mutex. Returns '1' if the channel  had a lock
or '0' otherwise.
NOTE: It is generally unnecessary to unlock in a hangup routine, as any locks
held are automatically freed when the channel is destroyed.
NOTE: 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]
Not available

[See Also] Not available

Asterisk: функции диалплана

  • asterisk/func/unlock.txt
  • Последние изменения: 2014/05/12