Dear List
Before anything, I'll like to THANKS Nikos for his great support.
The "problem" I had was due to a miss-configuration of my init script
where I lauched bearerbox & smsbox from the current version but wapbox
was launched from an old executable I had...
root 8861 1 7 09:10 ? 00:00:04
/usr/local/sbin/bearerbox /etc/kannel/kannel.conf
root 8898 1 0 09:10 ? 00:00:00 /usr/sbin/wapbox
/etc/kannel/kannel.conf
root 8902 1 0 09:10 ? 00:00:00 /usr/local/sbin/smsbox
/etc/kannel/kannel.conf
Regards
Alvaro
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com
>
>
> On Sat, 2009-04-04 at 22:21 +0300, Nikos Balkanas wrote:
>> Well, your problem to start with is that bearerbox doesn't get it correctly.
>> If it had reached the queue, you wouldn't have the problem.
>>
>> It's been many years since I have worked php, and certainly don't have an
>> example for this. I am hardcore programmer, and my client is C. I call it
>> gw, is mutlithreaded, supports WTP, WSP, PPG, HTTP, HTTPS and its main
>> function is to benchmark gateways. I developed in for Solaris, though. If
>> you have Solaris, I can send it to you.
>>
>> Here is quick gdb primer from gateway directory:
>>
>> make distclean
>>
>> CFLAGS="-g -Wall -m64" configure <options>
>>
>> {m64 only for 64bit machine, else skip)
>>
>> make
>>
>> gdb
>> > file gw/bearerbox
>> >b msg_unpack_real (That's where you get the message)
>> > help (will show you help)
>> >where (will show you where you are - function calls)
>>
>> >From another shell start wapbox.
>> Send your push and watch where gdb stops. Examine data.
>>
>> BR,
>> Nikos
>>