0

I installed rapidsms in local for send messages. The application tested with local server. Now i would like to store the incoming messages in another database via a php application. Means when a message received in rapidsms (Django-Python) app, i want to call a php application function and store message in php app database. For this which method is best?

Thanks

1 Answer 1

2

You could use python-suds to communicate via WSDL with your PHP app. IMHO the best option would be to inspect the PHP database and directly store the data from python. Low latency and no overhead.

Sign up to request clarification or add additional context in comments.

3 Comments

Here when i receive a message in rapidsms application, i want to call php function. Is it possible with python-suds?
Suds is a SOAP Client. You need to create a SOAP-API on your PHP side. If the PHP script is on the same machine and you simply want to call it you could use subprocess docs.python.org/2/library/subprocess.html
Hi, thanks for reply. I'm newbie in python and this comment not well clear to me. Can you explain more briefly?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.