Displaying 1 result from an estimated 1 matches for "ipcontact".
Did you mean:
icontact
2009 May 09
1
Incompatible changes to asterisk 1.6 MYSQL addon query syntax
...anges introduced from passing from 1.4 to 1.6 or where
they introduced during 1.6 branch?
- by experiment I saw that it's not necessary to quote spaces or single
quotes but can all escaping be removed? what still needs to be escaped
if anything?
exten => 888,1,MYSQL(Connect connid localhost ipcontact passwd ipcontact)
exten => 888,n,GotoIf($["${connid}" = ""]?error,1)
exten => 888,n,MYSQL(Query resultid ${connid} SELECT\ `number`\ FROM\
`phones`\ WHERE\ `channel`=\'${chan}\')
exten => 888,n(fetchrow),MYSQL(Fetch *foundRow* ${resultid} number) /;
fetch row/
e...