Hi Gang We use a mysql database to store call forwarding information for customers.
To reduce the amount of mysql queries from the config, we use an expiring htable to cache this information. This has the drawback that if a customer alters his call forwarding settings this might not be immediately active as long as old data is still cached in the htable. To avoid this I am looking for a way to remove cached data when a customer calls a service number. jsonrpc_exec() calling htable.delete on the key works. We have a pair of redundant servers so I would need to also delete the key on another server via RPC HTTP request. How can I perform an jsonrpc call via HTTP to a remote server? Mit freundlichen Grüssen -Benoît Panizzon- -- I m p r o W a r e A G - Leiter Commerce Kunden ______________________________________________________ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln Fax +41 61 826 93 01 Schweiz Web http://www.imp.ch ______________________________________________________ __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
