Re: Thanks alot guys. It worked finally - how i did it

2008-05-07 Thread Benmute

Hi List,

To determine the name of my phones modem I used ATI[1,2,3,4] AT command. 
The other major problem I encountered was determining the init-string for my 
phone but with the help of my friend Izmoto, we used wvdial(google it) and we 
got the init-string. (Just run the application with the modem connected and it 
auto detects the modems speed and the init string). It worked with usb 
connection but not with a serial connection so if it works for any of you 
please let us know how you went about it.
After that I assigned read/write permissions to the usb device (ttyACM0) and 
then it magically started working.

In case any one of you needs further clarification please don't hesitate to ask.

Regards.

Clarence Carino [EMAIL PROTECTED] wrote: Hi Benmute!

i'm glad it worked. but can you reply here on what you did exactly? just 
for reference purpose. so that if someone who is looking for solution, 
they can easily find it

Thanks
Clarence Carino

Benmute wrote:
 Hi List,

 I am taking this opportunity to thank all of you for the assistance 
 you have given me. I have finally succeeded in configuring kannel 
 using Nokia N70.

 Special thanks to:
  Tharanga
  Otandeka Simon Peter
  Alvaro Cornejo
  Clarence Carino

 I don't know what I could have done without you.


 www.nairobieverything.com 

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




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

Sending Enquire link issue

2008-05-07 Thread Rajendra Tiwari
Hi,

 

I have configured the SMS gateway on my local system. And trying to connect
to Airtel SMSC as given in the user document. I have created Bearerbox and
SMSBOX processes. 

 

But when I tried to send the SMS through browser then it says that messages
is queued for later delivery. And bearerbox keep saying Sending Enquire
Link, and nothing happens.

 

If anyone has faced such issues then please help me.

 

The smskannel.conf file is:

 

group = core

admin-port = 13000

smsbox-port = 13001

admin-password = admin 

#status-password = foo

admin-deny-ip = *.*.*.*

admin-allow-ip = 127.0.0.1;192.168.0.*

log-file = /tmp/kannel.log

log-level = 0

box-deny-ip = *.*.*.*

box-allow-ip = 127.0.0.1;192.168.0.*

#unified-prefix = +358,00358,0;+,00

#access-log = /tmp/access.log

#store-file = kannel.store

#ssl-server-cert-file = cert.pem

#ssl-server-key-file = key.pem

#ssl-certkey-file = mycertandprivkeyfile.pem

 

#-

# SMSC CONNECTIONS

#

# SMSC connections are created in bearerbox and they handle SMSC specific

# protocol and message relying. You need these to actually receive and send

# messages to handset, but can use GSM modems as virtual SMSCs

 

 

# This is a fake smsc connection, _only_ used to test the system and
services.

# It really cannot relay messages to actual handsets!

 

group = smsc

smsc = smpp 

smsc-id = Airtel

host = 203.145.131.149 

port = 81

smsc-username = gfish

smsc-password = gold123 

system-type = VMA

 

#-

# SMSBOX SETUP

#

# Smsbox(es) do higher-level SMS handling after they have been received from

# SMS centers by bearerbox, or before they are given to bearerbox for
delivery

 

group = smsbox

bearerbox-host = 127.0.0.1

sendsms-port = 13013

global-sender = 123123

sendsms-chars = 0123456789 +-

log-file = /tmp/smsbox.log

log-level = 0

access-log = /tmp/access.log

 

#-

# SEND-SMS USERS

#

# These users are used when Kannel smsbox sendsms interface is used to

# send PUSH sms messages, i.e. calling URL like

#
http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar.
..

 

group = sendsms-user

username = tester

password = tester 

#user-deny-ip = 

#user-allow-ip = 

 

#-

# SERVICES

#

# These are 'responses' to sms PULL messages, i.e. messages arriving from

# handsets. The response is based on message content. Only one sms-service
is

# applied, using the first one to match.

 

group = sms-service

keyword = nop

catch-all = true

max-messages = 0

text = You asked nothing and I did it!

 

# There should be always a 'default' service. This service is used when no

# other 'sms-service' is applied.

 

group = sms-service

keyword = default

text = No service specified

 

Any help would be appreciated. Thanks in advance.

 

Regards,

Rajendra Tiwari



Playsms with Kannel

2008-05-07 Thread Benmute
Hi All,

Has anyone used Playsms with Kannel? I am having problems installing playsms as 
it keeps asking for db.php. 
Any assistance will be appreciated.



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

Re: Problem in Bind with SMSC

2008-05-07 Thread seik
set the value of system-type = NULL
as a string, nothing else


-Original Message-
From: jyotiranjan panda [EMAIL PROTECTED]
Sent: 07 ??? 2008 ?.
To: seik
Subject:Problem in Bind with SMSC 

 Hi All,
 I am using kannel gateway-1.4.0.
 I am facing following problem 
 One of the instance of kannel gateway-1.4.0 in not able to bind with SMSC 
 using SMPP (in tranciver mode and TRx bind type).I am getting error as
 2008-05-07 12:03:05 [13090] [6] WARNING: SMPP: PDU NUL terminated string has 
 no NUL.
 2008-05-07 12:03:05 [13090] [6] ERROR: SMPP[smsc]: SMSC rejected login to 
 transmit, code 0x000d (Bind Failed).
 2008-05-07 12:03:05 [13090] [6] ERROR: SMPP[smsc]: I/O error or other error. 
 Re-connecting.
 2008-05-07 12:03:05 [13090] [6] ERROR: SMPP[smsc]: Couldn't connect to SMS 
 center (retrying in 10 seconds).
 2008-05-07 12:03:16 [13090] [6] WARNING: SMPP: PDU NUL terminated string has 
 no NUL.
 2008-05-07 12:03:16 [13090] [6] ERROR: SMPP[smsc]: SMSC rejected login to 
 transmit, code 0x000d (Bind Failed).
 2008-05-07 12:03:16 [13090] [6] ERROR: SMPP[smsc]: I/O error or other error. 
 Re-connecting.
 2008-05-07 12:03:16 [13090] [6] ERROR: SMPP[smsc]: Couldn't connect to SMS 
 center (retrying in 10 seconds).
 I confirm from SMSC end that they are geting TON and NPI as 0 (unknown) where 
 as they except TON and NPI as 1 (international).
 I have set the smsc group in gateway's smskannel.conf as
 group=smsc
 smsc = smpp
 smsc-id = smsc
 host=202.138.107.4
 port = 3775
 transceiver-mode = 1
 smsc-username = cellnext
 smsc-password = cellnext
 #address-range = ^56677[0-9]\{0.6\}$
 system-type = 
 source-addr-ton = 5
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 source-addr-autodetect = 1
 What should I set in smskannel.conf so that at SMSC end they will get TON and 
 NPI as 1 or any other thing I have to change in my smsc group configuration.
 Please suggest me solution for the above .
 Waiting for reply
 Thanks  Regards
 Jyoti Ranjan Panda





Re: Playsms with Kannel

2008-05-07 Thread Ricardo Jorge
I have it configured.

That error means that you need the Pear DB package

http://pear.php.net/package/DB

I don't know if you can install this package standalone or if you need other
PEAR libraries. I personally had PEAR installed through apt-get in my Debian
box.

On Wed, May 7, 2008 at 12:47 PM, Benmute [EMAIL PROTECTED] wrote:

 Hi All,

 Has anyone used Playsms with Kannel? I am having problems installing
 playsms as it keeps asking for db.php.
 Any assistance will be appreciated.


 --
 Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
 now.http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



Re: Playsms with Kannel

2008-05-07 Thread Alvaro Cornejo
In one of the latest playsms, that library is missing. I tought it was
corrected, since I saw some posts about that

Look at the playsms list to see if it has been fixed



On 5/7/08, Benmute [EMAIL PROTECTED] wrote:

 Hi All,

 Has anyone used Playsms with Kannel? I am having problems installing
 playsms as it keeps asking for db.php.
 Any assistance will be appreciated.


  --
 Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
 now.http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ




-- 
|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y
Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y
GPRS online
  Visitenos en www.smsglobal.com.mx y www.pravcom.com


Re: Playsms with Kannel

2008-05-07 Thread Tommi Linna
I'm using Kannel + PlaySMS with no problems. Just follow the PlaySMS 
readme step by step and that's it.


Using Debian Etch.

BR, Tommi


Alvaro Cornejo kirjoitti:
In one of the latest playsms, that library is missing. I tought it was 
corrected, since I saw some posts about that
 
Look at the playsms list to see if it has been fixed



 
On 5/7/08, *Benmute* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi All,

Has anyone used Playsms with Kannel? I am having problems installing
playsms as it keeps asking for db.php.
Any assistance will be appreciated.



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

http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ





--
|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier 
celular y
Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS 
y GPRS online
  Visitenos en www.smsglobal.com.mx 
http://www.smsglobal.com.mx y www.pravcom.com http://www.pravcom.com




Receive binary sms

2008-05-07 Thread info.ubichip
Hello,

I'm looking to receive binary sms and I would to forward them to an external
application web. 

I'm using sms service but the content of the sms is not I was looking for :

2008-05-07 21:44:45  QueryString:
t=2008-05-07+19:44:34q=%2B123456789a=%3F(%A3%40%E9%24%40%40%40%40%40%40%40
%40%40%40%40%40%3F%E8%26Q%F2%E9%EC%3F%25+%A3%EC%E8ihfacegg%3B%3F%F9%A3%40%40
%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%
40%40%40%40%40%40%40%40%A3%EC%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%4
0%40%40%40%40%40%40%A3%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%EC
%3F%C7%24%40%F9%3F%3F%C7%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%
40%40%40%40%40%40%40%40%40%40%40%40%40%40



Here are the string I received from access.log of kannel :

2008-05-07 21:47:31 Receive SMS [SMSC:GSM0] [SVC:] [ACT:] [BINF:]
[from:+xx] [to:yyy] [flags:-1:0:-1:0:-1]
[msg:160:?([EMAIL PROTECTED]?èQòéì?%
£ìèihfacegg;?ù£@@@£ì¥@£@
[EMAIL PROTECTED]@@]


As you could see there is some tricky characters at the beginning of the
content. How to tell kannel to send them as binary (I already tried to put
b=%b but with same wrong result).


Hope someone got the answer

Best regards




RE: Receive binary sms

2008-05-07 Thread info.ubichip
Hello all,

I forget to precise that the originator sms was in hex and it looks like the
folliwng line when I sent it with another modem application :

AT+CMGF=0;+CPMS=ME;+CSCS=HEX;+WMGO=001;+CMGW=154
0031000B913366399524F78FA0135400500060CA210A07CB
ED153010D26873584C369F639042
0008148500402806
03042100205840924200
00
 

My need is to get the same hexa result transmit by kannel throug the sms
service to the target web application.

Does someone got any idea ?

Regards



-Original Message-
From: info.ubichip [mailto:[EMAIL PROTECTED] 
Sent: mercredi 7 mai 2008 13:18
To: users@kannel.org
Subject: Receive binary sms

Hello,

I'm looking to receive binary sms and I would to forward them to an external
application web. 

I'm using sms service but the content of the sms is not I was looking for :

2008-05-07 21:44:45  QueryString:
t=2008-05-07+19:44:34q=%2B123456789a=%3F(%A3%40%E9%24%40%40%40%40%40%40%40
%40%40%40%40%40%3F%E8%26Q%F2%E9%EC%3F%25+%A3%EC%E8ihfacegg%3B%3F%F9%A3%40%40
%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%
40%40%40%40%40%40%40%40%A3%EC%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%4
0%40%40%40%40%40%40%A3%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%EC
%3F%C7%24%40%F9%3F%3F%C7%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%
40%40%40%40%40%40%40%40%40%40%40%40%40%40



Here are the string I received from access.log of kannel :

2008-05-07 21:47:31 Receive SMS [SMSC:GSM0] [SVC:] [ACT:] [BINF:]
[from:+xx] [to:yyy] [flags:-1:0:-1:0:-1]
[msg:160:?([EMAIL PROTECTED]?èQòéì?%
£ìèihfacegg;?ù£@@@£ì¥@£@
[EMAIL PROTECTED]@@]


As you could see there is some tricky characters at the beginning of the
content. How to tell kannel to send them as binary (I already tried to put
b=%b but with same wrong result).


Hope someone got the answer

Best regards






RE: Receive binary sms

2008-05-07 Thread info.ubichip
Any people got experience of sms service with %b ?

From the kannel guide, we got :
%b the original SMS message, in a binary form 

I was using it but unfortunelty for me the result was the same as %a !

If someone got some ideas on this issue ?

Regards

 


-Original Message-
From: info.ubichip [mailto:[EMAIL PROTECTED] 
Sent: mercredi 7 mai 2008 16:25
To: users@kannel.org
Subject: RE: Receive binary sms

Hello all,

I forget to precise that the originator sms was in hex and it looks like the
folliwng line when I sent it with another modem application :

AT+CMGF=0;+CPMS=ME;+CSCS=HEX;+WMGO=001;+CMGW=154
0031000B913366399524F78FA0135400500060CA210A07CB
ED153010D26873584C369F639042
0008148500402806
03042100205840924200
00
 

My need is to get the same hexa result transmit by kannel throug the sms
service to the target web application.

Does someone got any idea ?

Regards



-Original Message-
From: info.ubichip [mailto:[EMAIL PROTECTED]
Sent: mercredi 7 mai 2008 13:18
To: users@kannel.org
Subject: Receive binary sms

Hello,

I'm looking to receive binary sms and I would to forward them to an external
application web. 

I'm using sms service but the content of the sms is not I was looking for :

2008-05-07 21:44:45  QueryString:
t=2008-05-07+19:44:34q=%2B123456789a=%3F(%A3%40%E9%24%40%40%40%40%40%40%40
%40%40%40%40%40%3F%E8%26Q%F2%E9%EC%3F%25+%A3%EC%E8ihfacegg%3B%3F%F9%A3%40%40
%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%
40%40%40%40%40%40%40%40%A3%EC%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%4
0%40%40%40%40%40%40%A3%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%EC
%3F%C7%24%40%F9%3F%3F%C7%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%
40%40%40%40%40%40%40%40%40%40%40%40%40%40



Here are the string I received from access.log of kannel :

2008-05-07 21:47:31 Receive SMS [SMSC:GSM0] [SVC:] [ACT:] [BINF:]
[from:+xx] [to:yyy] [flags:-1:0:-1:0:-1]
[msg:160:?([EMAIL PROTECTED]?èQòéì?%
£ìèihfacegg;?ù£@@@£ì¥@£@
[EMAIL PROTECTED]@@]


As you could see there is some tricky characters at the beginning of the
content. How to tell kannel to send them as binary (I already tried to put
b=%b but with same wrong result).


Hope someone got the answer

Best regards








Problem in calling get-url in Kannel Gateway-1.4.0

2008-05-07 Thread jyotiranjan panda
Hi All,
I am using Kannel Gateway-1.4.0 both Pushing and Pulling SMSs.

 When MO message comming from SMSC to gateway-1.4.0 (SMPP) , its creating
and calling get-url of my short code application.Its working fine but after
a random number of MO message gateway is not able to call the get-url. When
this problem arises its showing only Receive SMS in gateway access.log
like below

2008-05-07 00:12:18 Receive SMS [SMSC:bsnln6677] [SVC:] [ACT:] [BINF:]
[from:+91941901] [to:56677] [flags:-1:0:-1:0:-1] [msg:22:Rcm bus 7942118
03572]

2008-05-07 00:12:20 Receive SMS [SMSC:bsnln6677] [SVC:] [ACT:] [BINF:]
[from:+919450358532] [to:56677] [flags:-1:0:-1:0:-1] [msg:32:CHAT BQ7T Hello
this is prashant] [udh:0:]

No SMS HTTP-request and Sent SMS  is showing in gateway access.log.

I have analize the gateway smsbox log (ss.log) , no Parsing URL is showing
.means when this problem arises nothing is writing in gateway ss.log file.

So data losses at kannel end. Please suggest me solution for the above issue
.

Waiting for reply

Thanks  Regards

Jyoti Ranjan Panda


RE: Playsms with Kannel

2008-05-07 Thread Badli Al Rashid
Just install the required module, I did mine by installing php-pear  php-db
on ubuntu 8.04.

Hope that helps

 



-Original Message-
From: Tommi Linna [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 8 May, 2008 12:53 AM
Cc: users@kannel.org
Subject: Re: Playsms with Kannel

I'm using Kannel + PlaySMS with no problems. Just follow the PlaySMS 
readme step by step and that's it.

Using Debian Etch.

BR, Tommi


Alvaro Cornejo kirjoitti:
 In one of the latest playsms, that library is missing. I tought it was 
 corrected, since I saw some posts about that
  
 Look at the playsms list to see if it has been fixed
 
 
  
 On 5/7/08, *Benmute* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 Hi All,
 
 Has anyone used Playsms with Kannel? I am having problems installing
 playsms as it keeps asking for db.php.
 Any assistance will be appreciated.
 
 


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

http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8
HDtDypao8Wcj9tAcJ
 
 
 
 
 
 -- 

|---
--|
 Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier 
 celular y
 Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS 
 y GPRS online
   Visitenos en www.smsglobal.com.mx 
 http://www.smsglobal.com.mx y www.pravcom.com http://www.pravcom.com