Hi,
What is the best way to read a data from the location database?
I'm using postgreSQL.
E.g. Assuming there is a registered user:
if (is_method("INVITE")) {
$var(x)=read_data_from_location(" select contact where user='71000' ");
...
// do something with $var(x)
..
..
}
Thanks,
--
"Efficiency is doing things right; effectiveness is doing the right things
(Peter Drucker)"
Miguel Oyarzo
DevOps & VoIP Engineer
Linux User: # 483188 - counter.li.org
http://au.linkedin.com/in/mikeaustralia
Melbourne, Australia
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users