Displaying 1 result from an estimated 1 matches for "col_name_pair".
Did you mean:
col2_name_pair
2007 Aug 13
0
about REALTIME application
...s a replacement using application REALTIME. I found that it is very
troublesome to use it.
---------from web site---------
Set(row="${REALTIME(sipusers,callerid,${EXTEN})}"); //executing
SELECT * FROM <sipusers>* WHERE callerid=${EXTEN} into variable $row
NoOp(${row});
Set(col_name_pair=${CUT(row,"|",1)});
NoOp(${col_name_pair}); //col_name_pair become: name=mysipuser
Set(col_name=${CUT(col_name_pair,"=",2)});
NoOp(${col_name}); //col_name become: mysipuser (and that's what we want)
------------------------------------
As you can see, we need to co...