Displaying 1 result from an estimated 1 matches for "mysipus".
Did you mean:
mysip
2007 Aug 13
0
about REALTIME application
...-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 count the position of the key-value pair
that we can to get. It causes many problems.
1. Changi...