Send Push message to configure Mobile set for using GPRS

2008-05-13 Thread zillur rahman
Dear helper,
   
   
  Pleaese send the configuration details of how i send push sms to configure 
mobile set for using GPRS?. I have already installed bearerbox and smsbox in 
Linux . I can send and receive message. i use smpp3.4 to conect with the smsc. 
The data needed at handset for accessing internet :
   
  Profile name
  APN
  IP
  Port
  user name
  password
   
  Thanks
  Md. Zillur Rahman

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Fwd: Send Push message to configure Mobile set for using GPRS

2008-05-13 Thread Jovan Kostovski
On Tue, May 13, 2008 at 11:16 AM, zillur rahman [EMAIL PROTECTED] wrote:
  Dear helper,
 
 
  Pleaese send the configuration details of how i send push sms to configure
  mobile set for using GPRS?. I have already installed bearerbox and smsbox in
  Linux . I can send and receive message. i use smpp3.4 to conect with the
  smsc. The data needed at handset for accessing internet :

 Check the Kannel documentation
 http://www.kannel.org/download/1.4.1/userguide-1.4.1/userguide.html#AEN4416

 BR, Jovan



-- 
Advice for software developers and horse racing enthusiasts: Avoid hacks



Re: Using sqlbox, can I disable sms-service?

2008-05-13 Thread Rolandow

Nobody with any ideas? :-(

Rolandow wrote:


Hi Guys,

I am using kannel with the sqlbox, and I am directly processing my 
messages from the mysql database. So I thought I'd leave the default 
sms-service with an empty get-url. Unfortunately this gives me an error:


2008-05-09 10:12:50 [21023] [1] INFO: Starting to service Yesenia 
from 4671020481 to 10551
2008-05-09 10:12:50 [21023] [6] ERROR: URL  doesn't start with 
`http://' nor `https://'

2008-05-09 10:12:50 [21023] [6] ERROR: Couldn't send request to 
2008-05-09 10:12:50 [21023] [2] INFO: No reply sent, denied.

So my question is: how can I make the sms-service a dummy service, 
which does nothing, and does not take any resources. I could of course 
to a http://localhost or something, but I think this is a waste.


I tried just leaving out the sms-service at all, but this gives me an 
error too.


Any suggestions?

Kind regards,
Roland.




Re[2]: Using sqlbox, can I disable sms-service?

2008-05-13 Thread seik
some additional info:

and set the default one with empty response text, and set omit empty = true ..

i believe you got the idea

-Original Message-
From: users@kannel.org [EMAIL PROTECTED]
Sent: 13 ??? 2008 ?.
To: seik
Subject:Using sqlbox, can I disable sms-service? 

 Nobody with any ideas?  

 Rolandow wrote: 

 Hi Guys,

 I am using kannel with the sqlbox, and I am directly processing my messages 
 from the mysql database. So I thought I'd
 leave the default sms-service with an empty get-url. Unfortunately this gives 
 me an error:

 2008-05-09 10:12:50 [21023] [1] INFO: Starting to service Yesenia from 
 4671020481 to 10551
 2008-05-09 10:12:50 [21023] [6] ERROR: URL  doesn't start with `http://' 
 nor `https://'
 2008-05-09 10:12:50 [21023] [6] ERROR: Couldn't send request to 
 2008-05-09 10:12:50 [21023] [2] INFO: No reply sent, denied.

 So my question is: how can I make the sms-service a dummy service, which 
 does nothing, and does not take any
 resources. I could of course to a http://localhost or something, but I think 
 this is a waste.

 I tried just leaving out the sms-service at all, but this gives me an error 
 too.

 Any suggestions?

 Kind regards,
 Roland.




How add sender number in wappush

2008-05-13 Thread Kashif Ali Bukhari

Dear kannel list members.
   I want to send from number ( i.e 300, 
500) dynamically using wappush , I am using bellow mentioned script .  
please guide me how can I sender  number.



--- php core -
?

$country_code = $_REQUEST[cc];
$phone = $_REQUEST[ph];
$push_url = $_REQUEST[url];
$text = $_REQUEST[msg];
$smsc_id  = $_REQUEST[smsc];

send_wap_push($smsc_id, $country_code, $phone, $url, $text);

function function_that_generates_a_unique_id()
   {
   return |md5(uniqid(rand(), true));
   }

function send_wap_push($smsc_id, $country_code, $phone, $push_url, $text)
   {
   $host = '127.0.0.1:';
   $port = '8080';
   $url  =  http://$host:$port;;
  
   $ppg_user = '';

   $ppg_pass = '';
  
   $wap_push_id = function_that_generates_a_unique_id(){


   return |md5(uniqid(rand(), true));|
   }

   $body =--multipart-boundary\r\n.Content-type: 
application/xml\r\n\r\n.'?xml version=1.0?'.\r\n.'!DOCTYPE pap 
PUBLIC -//WAPFORUM//DTD PAP 
1.0//EN'.\r\n.'http://www.wapforum.org/DTD/pap_1.0.dtd; 
'.\r\n.'pap'.\r\n.'push-message 
push-id='.$wap_push_id.''.\r\n.'address 
address-value=WAPPUSH=+'.$country_code.$phone.'/TYPE=PLMN at 
ppg.nokia.com/'.\r\n.'quality-of-service 
delivery-method=unconfirmed network=GSM 
bearer=SMS/'./push-message\r\n./pap\r\n\r\n.--multipart-boundary\r\n.Content-type: 
text/vnd.wap.si\r\n\r\n.'?xml version=1.0?'.\r\n.'!DOCTYPE si 
PUBLIC -//WAPFORUM//DTD SI 
1.0//EN'.\r\n.'http://www.wapforum.org/DTD/si.dtd;'.\r\n.si\r\n.'indication 
action=signal-high 
si-id='.$wap_push_id.'href='.$push_url.''.$text.'/indication'.\r\n./si\r\n.--multipart-boundary--\r\n;


   $post = POST /wappush HTTP/1.1\r\n.Host: 
$host:$port\r\n.X-Kannel-SMSC: $smsc_id\r\n.'Content-Type: 
multipart/related; 
boundary=multipart-boundary;type=application/xml'.\r\n.Content-Length: 
.strlen($body).\r\n.\r\n.$body;


   $ch = curl_init();
   curl_setopt ($ch, CURLOPT_URL, $url);
   curl_setopt($ch, CURLOPT_HEADER, 1);
   curl_setopt($ch, CURLOPT_TIMEOUT, 15);
   curl_setopt ($ch,CURLOPT_CUSTOMREQUEST , $post);
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
   $reply = curl_exec($ch);
   curl_close ($ch);
  
   print_r($reply);

}

?
//php 
code-



Best regards,
Kashif Ali Bukhari





SMS database logging

2008-05-13 Thread Eduardo Raad
Dear Kannel list,

I have been looking at several posts on multiple mailing lists regarding SMS
database logging for Kannel. This means logging each MO and MT on a Mysql
(or other database) table.

I understand that this is not supported by Kannel? Please, can some confirm
if the lastest development release supports this?

If not, is someone willing to develop a patch for a fee?

Thanks in advance.

-- 
Eduardo Raad
Gerente General
Metromovil

móvil + 593 9397
oficina + 593 42329455 x 1099

Av. 10 de Agosto 511 y Chimborazo
Edificio Equinoxcorp, Piso 3
Guayaquil, Ecuador


Re: Kannel converting binary message

2008-05-13 Thread Luis Augusto C. Sauerbronn
So?

Can anyone shed some light upon this question?

Best regards,
Luis

2008/5/12 Luis Augusto C. Sauerbronn [EMAIL PROTECTED]:

 Hello,

 I was sending a binary message to kannel but even when I send coding=1
 some of the characters were converted.
 Here is the picture:

1. *Message is sent from kannel sendsms interface: *from= 54321,
to=987, smsc=SMSCMON, *text=000BFF0E*;
2. *Kannel delivers message to SMSC correctly;*
3. *SMSC sends back massage to kannel:* from= 54321, to=987,
smsc=SMSC987, *text=000BFF0E*;
4. *Kannel sends message to external script:* from= 54321, to=987,
smsc=SMSC987, *text=%00+%FF%0E*;


 Does anyone know why would kannel convert the message it received before
 it puts it on an URL?
 How can I prevent it from happening?
 Attached are the logs generated by the messages described above.

 Best regards,

 Luis




-- 
Luis Augusto C. Sauerbronn
Prill Tecnologia
[EMAIL PROTECTED]
Cel: +55 21 81881180
http://www.prill.com.br


RE: Kannel converting binary message

2008-05-13 Thread info.ubichip
it convert it otherwise it could not be pass correctly to the web server
(because of encoding type stuff).
But if it is a binary message, don't forget that the message is the data pdu
itself and not the orginal data.
 
hope it help..
 
 

  _  

From: Luis Augusto C. Sauerbronn [mailto:[EMAIL PROTECTED] 
Sent: mardi 13 mai 2008 11:31
To: users@kannel.org
Subject: Re: Kannel converting binary message


So?

Can anyone shed some light upon this question?

Best regards,
Luis


2008/5/12 Luis Augusto C. Sauerbronn [EMAIL PROTECTED]:


Hello,

I was sending a binary message to kannel but even when I send coding=1 some
of the characters were converted.
Here is the picture:


1.  Message is sent from kannel sendsms interface: from= 54321, to=987,
smsc=SMSCMON, text=000BFF0E; 

2.  Kannel delivers message to SMSC correctly; 

3.  SMSC sends back massage to kannel: from= 54321, to=987,
smsc=SMSC987, text=000BFF0E; 

4.  Kannel sends message to external script: from= 54321, to=987,
smsc=SMSC987, text=%00+%FF%0E; 


Does anyone know why would kannel convert the message it received before it
puts it on an URL?
How can I prevent it from happening?
Attached are the logs generated by the messages described above.

Best regards,

Luis






-- 
Luis Augusto C. Sauerbronn
Prill Tecnologia
[EMAIL PROTECTED]
Cel: +55 21 81881180
http://www.prill.com.br