O'Reilly logo

Asterisk: The Future of Telephony by Leif Madsen, Jared Smith, Jim Van Meggelen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required