SQL Box udhdata problem

2007-03-05 Thread Jay
Hi Guys,

SQL Box is working fine until I tried sending SMS with udhdata for multipart 
messages, 

udhdata seems not to be working...

Inserting this value in udhdata 050003180201 results in 
303530303033313930323031, 

thanks in advance for ur help.

Regards,
Roland Jay
PH

 
-
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.

Wap Push

2007-03-05 Thread Pyro Surya

Hi,

I'm testing wap push using ./test_ppg
http://localhost:8080/cgi-bin/wappush.cgi?username=suryapassword=password
si.txt iptestppg.txt

Where can I see the sent message, I'm not using a phone..
I get the following reply:
--

2007-03-05 18:24:19 [7243] [1] DEBUG: TEST_PPG: push 0 done: reply from,
http://localhost:8080/cgi-bin/wappush.cgi?username=suryapassword=password
2007-03-05 18:24:19 [7243] [1] DEBUG: TEST_PPG: reply headers were
2007-03-05 18:24:19 [7243] [1] DEBUG: Octet string at 0x85022a0:
2007-03-05 18:24:19 [7243] [1] DEBUG:   len:  20
2007-03-05 18:24:19 [7243] [1] DEBUG:   size: 22
2007-03-05 18:24:19 [7243] [1] DEBUG:   immutable: 0
2007-03-05 18:24:19 [7243] [1] DEBUG:   data: 53 65 72 76 65 72 3a 20 50 79
72 6f 47 57 2f 31   Server: PyroGW/1
2007-03-05 18:24:19 [7243] [1] DEBUG:   data: 2e 34 2e
31   .4.1
2007-03-05 18:24:19 [7243] [1] DEBUG: Octet string dump ends.
2007-03-05 18:24:19 [7243] [1] DEBUG: Octet string at 0x8502390:
2007-03-05 18:24:19 [7243] [1] DEBUG:   len:  17
2007-03-05 18:24:19 [7243] [1] DEBUG:   size: 19
2007-03-05 18:24:19 [7243] [1] DEBUG:   immutable: 0
2007-03-05 18:24:19 [7243] [1] DEBUG:   data: 43 6f 6e 74 65 6e 74 2d 4c 65
6e 67 74 68 3a 20   Content-Length:
2007-03-05 18:24:19 [7243] [1] DEBUG:   data:
355
2007-03-05 18:24:19 [7243] [1] DEBUG: Octet string dump ends.
2007-03-05 18:24:19 [7243] [1] DEBUG: Octet string at 0x85023c0:
2007-03-05 18:24:19 [7243] [1] DEBUG:   len:  41
2007-03-05 18:24:19 [7243] [1] DEBUG:   size: 43
2007-03-05 18:24:19 [7243] [1] DEBUG:   immutable: 0
2007-03-05 18:24:19 [7243] [1] DEBUG:   data: 43 6f 6e 74 65 6e 74 2d 54 79
70 65 3a 20 74 65   Content-Type: te
2007-03-05 18:24:19 [7243] [1] DEBUG:   data: 78 74 2f 70 6c 61 69 6e 3b 20
63 68 61 72 73 65   xt/plain; charse
2007-03-05 18:24:19 [7243] [1] DEBUG:   data: 74 3d 22 55 54 46 2d 38
22t=UTF-8
2007-03-05 18:24:19 [7243] [1] DEBUG: Octet string dump ends.
2007-03-05 18:24:19 [7243] [1] DEBUG: TEST_PPG: reply body was
2007-03-05 18:24:19 [7243] [1] DEBUG: Octet string at 0x8503058:
2007-03-05 18:24:19 [7243] [1] DEBUG:   len:  5
2007-03-05 18:24:19 [7243] [1] DEBUG:   size: 6
2007-03-05 18:24:19 [7243] [1] DEBUG:   immutable: 0
2007-03-05 18:24:19 [7243] [1] DEBUG:   data: 53 65 6e 74
2eSent.
2007-03-05 18:24:19 [7243] [1] DEBUG: Octet string dump ends.
Entity: line 1: parser error : Start tag expected, '' not found
Sent.
^
2007-03-05 18:24:19 [7243] [1] WARNING: PAP COMPILER: pap_compile: parse
error in pap source
2007-03-05 18:24:19 [7243] [1] WARNING: TEST_PPG: receive_push_reply: cannot
compile pap message
2007-03-05 18:24:19 [7243] [1] INFO: TEST_PPG: In thread 1 0 succeeded, 1
failed
2007-03-05 18:24:19 [7243] [1] DEBUG: Thread 1 (test/test_ppg.c:push_thread)
terminates.
2007-03-05 18:24:19 [7243] [0] INFO: TEST_PPG: 1 requests in
0.00seconds, inf requests per second
2007-03-05 18:24:19 [7243] [0] DEBUG: Waiting for 3
(gwlib/http.c:write_request_thread) to terminate
2007-03-05 18:24:19 [7243] [3] DEBUG: Thread 3
(gwlib/http.c:write_request_thread) terminates.
2007-03-05 18:24:19 [7243] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller)
terminates.
2007-03-05 18:24:19 [7243] [0] DEBUG: Immutable octet strings: 12.


Re: Hello All

2007-03-05 Thread Ben Suffolk

HI Joe,

Welcome to the world of Kannel!

At the moment HA is not built into kannel (i.e. you can not run  
multiple bearerbox's and have the talk to each other, and had  
messages between them when a SMSC connection becomes unavailable on  
one).


What you can do is run multiple bearebox's each with the same  
connections to the SMSCs (assuming you can have multiple connections  
to your SMSCs, but its more than likely you can), and obviously  
multiple smsbox's (each can connect only to 1 bearerbox). This would  
allow some form of redundancy in the event of a server / site going  
down.


However you would have to make sure you used a common DB server for  
the DLRs as they could easily some back to a different bearer box  
than the one that sent it. I have 3 SMSC connections to different  
locations, but the same account, and if I send a message via 1 of  
them then DLR can, and often does,  come back on a different one of  
them.


I have been thinking about the best way to get bearerbox's talking to  
each other so that I can implement a higher availability system  
myself. Its not at the top of my priority list, but it is reasonably  
high. So I may be able to help you with some patches in the not too  
distant future.


Out of interest which country are you in Joe?

Regards

Ben


On 3 Mar 2007, at 17:04, Joe Trecokas wrote:


Hi All,

I just subscribed to the list and am just getting started with  
kannel and I am Iooking for a little direction.   I have read over  
the documentation, and I believe that I have a good understanding  
of how the service works.  The AMG that we are connecting to  
requires us to use Multiple Geographic locations, are there any  
caveats that I need to look for to make the gateway operate in a HA  
form.


My current plan for setup is as follows.

FreeBSD 6.2
CARP for redundant Connections at a Single Site
2 Geographic Locations(So I will be totaling 2 boxes at each site)
Postgresql for database backend

I am working for an MVNO and we plan on using all features of  
Kannel as we grow, starting with SMS.  I hope to add some input  
back into the group as we grow, so any help to get off on the right  
foot would be greatly appreciated.


Joe Trecokas






USB phones (SMS) and Kannel might not work

2007-03-05 Thread Raymond Jimenez
For future users:
I've posted here before and have been testing Kannel on how to work with my four
USB phones, sending and receiving SMSs, from different operators.
I haven't managed to put it to work, as the messages keep going out through
phones they shouldn't be going. Behaviour is completely erratic. And all this
occurs without even trying to plug/unplug phones...
I've seen all the messages regarding Kannel  USB and I can only assume it
doesn't work...
rj




Re: SQL Box udhdata problem

2007-03-05 Thread Alejandro Guerrieri

You need to send the binary data urlencoded. In other words, put a %
before each pair of characters on the UDH

i.e: %05%00%03%18 and so on...

Hope it helps,

Alejandro.

On 3/5/07, Jay [EMAIL PROTECTED] wrote:

Hi Guys,

SQL Box is working fine until I tried sending SMS with udhdata for multipart
messages,

udhdata seems not to be working...

Inserting this value in udhdata 050003180201 results in
303530303033313930323031,

thanks in advance for ur help.

Regards,
Roland Jay
PH


 
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.





--
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri



RE: USB phones (SMS) and Kannel might not work

2007-03-05 Thread info.ubichip
Hello all,


In fact, it is running well, the more difficult is to assign a usb port and
map it to a link in kannel. You could do that using the hotplug usb in linux
and extract some relevant information in the signature of each usb device.

I adapt a script I found in the mailing list and I'm running that with up to
7 usb phones on a same system right now and it is working fine.

The usb phone I'm using is Teltonika (new brand name of the nokia 12)

I suggest you search in the mailing list, this subject has been threated
long time ago.

regards

-Original Message-
From: Raymond Jimenez [mailto:[EMAIL PROTECTED]
Sent: lundi 5 mars 2007 21:17
To: users@kannel.org
Subject: USB phones (SMS) and Kannel might not work

For future users:
I've posted here before and have been testing Kannel on how to work with my
four
USB phones, sending and receiving SMSs, from different operators.
I haven't managed to put it to work, as the messages keep going out through
phones they shouldn't be going. Behaviour is completely erratic. And all
this
occurs without even trying to plug/unplug phones...
I've seen all the messages regarding Kannel  USB and I can only assume it
doesn't work...
rj






  _  

Antivirus avast! http://www.avast.com : message Sortant sain. 


Base de donnees virale (VPS) : 000721-1, 03/03/2007
Analyse le : 05/03/2007 23:30:07
avast! - copyright (c) 1988-2007 ALWIL Software.






Re: USB phones (SMS) and Kannel might not work

2007-03-05 Thread Raymond Jimenez
Yes, I've tried the script you referred to, and several other tricks. The truth
is it that it doesn't work, as others have also told. I even see messages going
out through a phone, despite being specifically blocked in the configuration
file. Every time I try it, I cannot be sure which phone is being used...
rj




DRM Forward lock

2007-03-05 Thread Nicolas de Bari Embriz Garcia Rojas

Hello, how can i send content with drm forward lock wrapper using php ?

I send a wap push via sms to something like k9.cx/test.dm, the dm  
file is a php scrip that contains this:


?php
header(Content-type: application/vnd.oma.drm.message;  
boundary=boundary-1);

print(--boundary-1\n);
print(Content-type: image/jpeg\n);
print(Content-Transfer-Encoding: binary\n);
print(\n);
readfile('test.jpg');
print(\n--boundary-1--\n);
?

Any idea on how to correctly apply add the forward lock to the jpg.


regards.




Re: USB phones (SMS) and Kannel might not work

2007-03-05 Thread Mihai Zsigmond
Hi there,
It looks much more like a routing MT messages to the correct SMSC connection 
issue than  an USB connected phones problem. This problem has been also long 
debated on the list, search for it. Try also to post the relevant part of the 
conf file, you  can get some advice.

Best regards,
Mihai

  - Original Message - 
  From: Raymond Jimenez 
  To: users@kannel.org 
  Sent: Tuesday, March 06, 2007 1:08 AM
  Subject: Re: USB phones (SMS) and Kannel might not work


  Yes, I've tried the script you referred to, and several other tricks. The 
truth
  is it that it doesn't work, as others have also told. I even see messages 
going
  out through a phone, despite being specifically blocked in the configuration
  file. Every time I try it, I cannot be sure which phone is being used...
  rj