I'm resigned using the SQLBox patch since I do not have a way to know the problem.

Basically, what I need to do is

Task#1: Mobile Terminated (MT) messages be automatically inserted in MySQL database.

Task#2: Mobile Originated (MO) messages be automatically inserted in MySQL database.

I've heard someone who used PHP to do insertion to database. What I plan to do is this (as from my understanding of kannel):

Use PHP script to act as an intermediary between Kannel and MySQL.

Question#1: 
             In ~/gateway-1.4.0/contribs/php-admin folder, there is a script named sendsms.php. Is it the script that runs http interface sendsms interface?

Assumption#1:
            ~/gateway-1.4.0/contribs/php-admin/sendsms.php is the script that the gateway runs when using the http interface in sending sms (Mobile Terminated, MT).

Question#2:
          If Assumption#1 holds, I have an idea of inserting codes in it that connects to a MySQL database and would automatically insert MT messages. Is it feasible? Is my idea alright?

Question#3
          But this will only solve Task#1. How about Task#2? How will I use PHP to "track" incoming messages? What part of Kannel can PHP communicate so as to "sense" Mobile Originated (MO) messages?

Assumption#2:
          ~/gateway-1.4.0/contribs/php-admin/sendsms.php is NOT the script or program that the gateway executes when using the http interface in sending SMS. It some other programs or gatewat mechanism which I am do not know.

Question#4:
          If Assumption#2 holds, how will I use PHP to track outgoing (MT) messages? Question#3 is also repeated. How will I use PHP to "sense" incoming (MO) messages.

Question#5:
          As from my understanding of Kannel, it is the bearerbox that sends and receives messages. Is there some way that PHP can communicate with the bearerbox?

Question#6:
           Since I would be using PHP as an intermediary between Kannel and MySQL, will it be necessary to use "./configure --with-mysql" in compiling the gateway?

Question#7:
            Will I still need to configure DLR group in conf? What role will DLR play in my setup, assuming it is correct? (I can hardly understand DLR until now, because I cannot compile well).

Pardon for silly questions. Thanks for those who can bear with them and answer them.

"Suffer the little children..." Mark 10:13

Julius


New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

Reply via email to