<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 ('${ARG1}','${ARG2}','${ARG3}','${ARG4}')<br>
prefix=M<br><br>and set it in dialplan :<br>exten => _0X.,n,Set( M_R(${MIXMONITOR_FILENAME}\,${CUSER}\,${EXTEN}\,${DTIME})= )<br><br>i tried to add preload => 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> Executing [0343434@admin:6] Set("IAX2/555-10991", " M_R(/records/23-09-08-02-22_555_0343434.gsm,555,0343434,23-09-08-02-22)= ") 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 M_R not registered</span><br>
<br>any suggestions ??<br><br><br><br><br></div>