<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/en/2172/18/9/_/styles/combined.css?spaceKey=AST&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_REALTIME">Asterisk 11 Function_REALTIME</a></h2>
<h4>Page <b>added</b> by <a href="https://wiki.asterisk.org/wiki/display/~wikibot">Wiki Bot</a>
</h4>
<br/>
<div class="notificationGreySide">
<h1><a name="Asterisk11Function_REALTIME-REALTIME%28%29"></a>REALTIME()</h1>
<h3><a name="Asterisk11Function_REALTIME-Synopsis"></a>Synopsis</h3>
<p>RealTime Read/Write Functions.</p>
<h3><a name="Asterisk11Function_REALTIME-Description"></a>Description</h3>
<p>This function will read or write values from/to a RealTime repository. REALTIME(....) will read names/values from the repository, and REALTIME(....)= will write a new value/field to the repository. On a read, this function returns a delimited text string. The name/value pairs are delimited by <em>delim1</em>, and the name and value are delimited between each other with delim2. If there is no match, NULL will be returned by the function. On a write, this function will always return NULL.</p>
<h3><a name="Asterisk11Function_REALTIME-Syntax"></a>Syntax</h3>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>REALTIME(family,fieldmatch,matchvalue,delim1|field,delim2)</pre>
</div></div>
<h5><a name="Asterisk11Function_REALTIME-Arguments"></a>Arguments</h5>
<ul>
        <li>family</li>
        <li>fieldmatch</li>
        <li>matchvalue</li>
        <li>delim1|field - Use <em>delim1</em> with <em>delim2</em> on read and <em>field</em> without <em>delim2</em> on writeIf we are reading and <em>delim1</em> is not specified, defaults to <tt>,</tt></li>
        <li>delim2 - Parameter only used when reading, if not specified defaults to <tt>=</tt></li>
</ul>
<h3><a name="Asterisk11Function_REALTIME-SeeAlso"></a>See Also</h3>
<ul>
        <li><a href="/wiki/pages/createpage.action?spaceKey=AST&title=Asterisk+11+Function_REALTIME_STORE&linkCreation=true&fromPageId=20187220" class="createlink">Asterisk 11 Function_REALTIME_STORE</a></li>
        <li><a href="/wiki/pages/createpage.action?spaceKey=AST&title=Asterisk+11+Function_REALTIME_DESTROY&linkCreation=true&fromPageId=20187220" class="createlink">Asterisk 11 Function_REALTIME_DESTROY</a></li>
        <li><a href="/wiki/pages/createpage.action?spaceKey=AST&title=Asterisk+11+Function_REALTIME_FIELD&linkCreation=true&fromPageId=20187220" class="createlink">Asterisk 11 Function_REALTIME_FIELD</a></li>
        <li><a href="/wiki/pages/createpage.action?spaceKey=AST&title=Asterisk+11+Function_REALTIME_HASH&linkCreation=true&fromPageId=20187220" class="createlink">Asterisk 11 Function_REALTIME_HASH</a></li>
</ul>
<h3><a name="Asterisk11Function_REALTIME-ImportVersion"></a>Import Version</h3>
<p>This documentation was imported from Asterisk Version SVN-trunk-r370322</p>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;" class="grey">
<a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
<span style="padding: 0px 5px;">|</span>
<a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_REALTIME">View Online</a>
|
<a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_REALTIME?showComments=true&showCommentArea=true#addcomment">Add Comment</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>