Name
RealTimeUpdate() — Updates a value via the RealTime configuration handler
Synopsis
RealTimeUpdate(family
,colmatch
,value
,newcol
,newval
)
Uses the RealTime configuration handler system to update a
value. The column newcol
in
family
matching column
colmatch
=
value
will be
updated to newval
.
; this will update the port column in the sipfriends table to a new
; value of 5061, where the name column matches "John"
exten => 123,1,RealTimeUpdate(sipfriends,name,John,port,5061)
See Also
RealTime()
Get Asterisk: The Future of Telephony now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.