Asterisk with new functions
Posted
by MhdAboAhmad
on Stack Overflow
See other posts from Stack Overflow
or by MhdAboAhmad
Published on 2010-04-15T11:22:35Z
Indexed on
2010/04/15
11:23 UTC
Read the original article
Hit count: 206
hi all , please need help for an asterisk
I created a write func odbc list records files in sql table:
[R] dsn=connector
write=INSERT INTO ast_records (filename,caller,callee,dtime) VALUES ('${ARG1}','${ARG2}','${ARG3}','${ARG4}')
prefix=M
and set it in dialplan :
exten => _0X.,n,Set( M_R(${MIXMONITOR_FILENAME}\,${CUSER}\,${EXTEN}\,${DTIME})= )
when I excute it I get an error : ast_func_write: M_R Function not registered:
© Stack Overflow or respective owner