Thanks Alej. Nikos ----- Original Message ----- From: Alejandro Guerrieri To: Nikos Balkanas Cc: Thomas Gottgens ; [email protected] Sent: Sunday, January 25, 2009 11:30 PM Subject: Re: Re[2]: SQLBox Problem - Group 'sqlbox' is no valid group identifier.
Nikos, You're unnecessary complicating things! Wap-pushes ARE delivered as binary messages over the air. What PPG does is to accept a specially crafter XML, and create a binary message from it. I don't know where did you inferred that it was wbxml encoded (I didn't say that...). If you wish to create that binary message, time ago I've crafted a PHP function "send_wap_push()" that does the trick of encoding an URL into a binary sms that, when sent, arrives as a wap-push: http://www.blogalex.com/archives/12 If you get the output of that funtion and insert it into sqlbox, it'll arrive as a wap-push. This is not the same as sending an SMS with an URL in it. Most phones recognize the URL and provides means to access it, but that's not a "real" wap push. A real wap-push comes into the "service inbox", not as a regular SMS. Regards, Alejandro 2009/1/25 Nikos Balkanas <[email protected]> Hi Alej, PPG is not binary (wbxml) encoded. It is sent as SMS. There is some light encoding, however, relating to PAP control documents and si/sl. The final SMS delivered is a short message (SMS) within a URL. So I imagine what I need to do, is to take a tcpdump between the communication of wapbox and bearerbox, and use that format to send my PPG messages. I just need to bulk insert the messages in the database pointed by SQLbox, and it will mass process them. Is the advantage significantly better than mass sending parallel PPG requests over HTTP? Thanx, Nikos ----- Original Message ----- From: Alejandro Guerrieri To: Nikos Balkanas Cc: Thomas Gottgens ; [email protected] Sent: Sunday, January 25, 2009 8:55 PM Subject: Re: Re[2]: SQLBox Problem - Group 'sqlbox' is no valid group identifier. Nikos, If you've meant to use kannel's PPG instead, no, afaik you cannot do it that way. However, If you binary-encode the messages, you can insert wap-pushes as binary messages into the DB and it will be queued into bearerbox as well. Regards, Alejandro On Sun, Jan 25, 2009 at 6:00 PM, Nikos Balkanas <[email protected]> wrote: Thanks, So it is used for efficient bulk sendSMS. I imagine it can not be used for bulk PPG. Correct? Nikos ----- Original Message ----- From: Thomas Gφttgens To: Nikos Balkanas Cc: users Sent: Sunday, January 25, 2009 6:35 PM Subject: Re[2]: SQLBox Problem - Group 'sqlbox' is no valid group identifier. Hello Nikos, Sunday, January 25, 2009, 5:16:02 PM, you wrote: Sorry for the naive question. What is SQLbox used for? I read the README file, but apparently I do not understand the purpose of a DB middleware between the communication of bearerbox and smsbox. SQLbox is great for 'burst' traffic injection. We use Kannel als a backend for Paramedic and Firefighter alerts, so most of the time our SMSC links idle, but in case we need traffic it's spiking. Injecting each message via HTTP would be feasible, but sqlbox does the job better and with less system load. Imagine having to inject hundreds of messages within a few seconds, and you see where sqlbox comes into the game. -- Best regards, Thomas mailto:[email protected]
