<div dir="ltr">hi all , please need help for an<br>asterisk version <a href="http://1.4.21.2" target="_blank">1.4.21.2</a><br><br>i created a write func odbc list records files in sql table:<br>[R]<br>dsn=connector<br>write=INSERT INTO ast_records (filename,caller,callee,dtime) VALUES (&#39;${ARG1}&#39;,&#39;${ARG2}&#39;,&#39;${ARG3}&#39;,&#39;${ARG4}&#39;)<br>

prefix=M<br><br>and set it in dialplan :<br>exten =&gt; _0X.,n,Set( M_R(${MIXMONITOR_FILENAME}\,${CUSER}\,${EXTEN}\,${DTIME})= )<br><br>i tried to add preload =&gt; func_odbc.so to load before extentions.conf<br>but when i excute it still have ast_func_write: M_R Function not registered:<br>

<br>&nbsp;Executing [0343434@admin:6] Set(&quot;IAX2/555-10991&quot;, &quot; M_R(/records/23-09-08-02-22_555_0343434.gsm,555,0343434,23-09-08-02-22)= &quot;) in new stack<br>[Sep 23 02:22:14] ERROR[3261]: pbx.c:1564 astr _func_write: <span style="color: rgb(153, 0, 0);">Function&nbsp; M_R not registered</span><br>

<br>any suggestions ??<br><br><br><br><br></div>