Authorization failed for sendsms error when i try from browser

2012-01-12 Thread mohamed keita


 
Hello.

I think that you have not used the right parameters.Try this in your case.

http://127.0.0.1:9000/cgi-bin/sendsms?username=foobarpassword=foobarto=xxxtext=test


notification sms with kannel

2012-01-12 Thread mohamed keita


Hello

I managed to install kannel. I can receive and send messages correctly .Now i 
want to put a system in place who permits to prevent me when someone send an 
sms(keyword) to kannel. I used the function exec() in php but it does not work 
well. Do you have a solution?

Thank you in advance.
  

Re: notification sms with kannel

2012-01-12 Thread Willy Mularto
share us your configuration 



On Jan 12, 2012, at 7:04 PM, mohamed keita wrote:

 Hello
 
 I managed to install kannel. I can receive and send messages correctly .Now i 
 want to put a system in place who permits to prevent me when someone send an 
 sms(keyword) to kannel. I used the function exec() in php but it does not 
 work well. Do you have a solution?
 
 Thank you in advance.

Willy Mularto
F300HD+MR18DE (NLC1725)











ATT Sierra USB 305 - GSM MODEM

2012-01-12 Thread Diogo Hartmann
Hi everyone!

I'm having a big problem here... I have 10 USB modems Sierra 305 ATT and
I'd like to send messages from them.

*smsc.conf*
group = smsc
smsc = at
smsc-id = GSM01
modemtype = GSM01
device = /dev/GSM01
log-file = /var/log/kannel/smsc/smsc01.log
log-level = 0
#max-sms-octets = 160
alt-charset = ASCII

*modems.conf*
group = modems
id = GSM01
name = ATET 01
#init-string = ATZ
reset-string = AT
message-storage = SM
speed = 115200

All the modens are returning +CME ERROR: SIM not inserted.

2012-01-12 19:55:48 [8912] [6] INFO: AT2[GSM01]: opening device
2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: device opened. Telnet
mode = 0
2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: device opened
2012-01-12 19:55:48 [8912] [6] INFO: AT2[GSM01]: Logging in
2012-01-12 19:55:48 [8912] [6] INFO: AT2[GSM01]: init device
2012-01-12 19:55:48 [8912] [6] INFO: AT2[GSM01]: speed set to 115200
2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: -- ATZ^M
2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: -- OK
2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: -- AT^M
2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: -- AT
2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: -- OK
2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: -- ATF^M
2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: -- ATF
2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: -- OK
2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: -- ATE0^M
2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: -- ATE0
2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: -- OK
2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: -- AT+IFC=2,2^M
2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: -- ERROR
2012-01-12 19:55:49 [8912] [6] ERROR: AT2[GSM01]: Generic error: ERROR
2012-01-12 19:55:49 [8912] [6] INFO: AT2[GSM01]: cannot enable hardware
handshake
2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: -- AT+CPIN?^M
2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: -- +CME ERROR: SIM not
inserted
2012-01-12 19:55:49 [8912] [6] ERROR: AT2[GSM01]: +CME ERROR: +CME ERROR:
SIM not inserted
2012-01-12 19:56:09 [8912] [6] DEBUG: AT2[GSM01]: -- AT+CPIN?^M
2012-01-12 19:56:09 [8912] [6] DEBUG: AT2[GSM01]: -- +CME ERROR: SIM not
inserted
2012-01-12 19:56:09 [8912] [6] ERROR: AT2[GSM01]: +CME ERROR: +CME ERROR:
SIM not inserted
2012-01-12 19:56:09 [8912] [6] ERROR: AT2[GSM01]: Initialization of device
failed. Attempt #10 on -1 max.
2012-01-12 19:56:09 [8912] [6] INFO: AT2[GSM01]: Closing device
2012-01-12 19:56:09 [8912] [6] ERROR: AT2[GSM01]: Couldn't connect
(retrying in 10 seconds).
2012-01-12 19:56:15 [9263] [8] INFO: AT2[GSM01]: trying to use speed
115200 from modem definition

*
*
*
*
*
*
*Diogo Hartmann*

*skype: diogodhh*
*fone: 42 9910 0078*
*
*


Re: users Digest, Vol 65, Issue 18

2012-01-12 Thread Zaharia Constantin
  

i am using the same syntax to send messages that you are show
below, and the same syntax that i have used before i reinstall kannel on
the new server 

On Thu, 12 Jan 2012 21:06:33 +0100,
users-requ...@kannel.org wrote: 

 Hello.
 
 I think that you have
not used the right parameters.Try this in your case.
 

http://127.0.0.1:9000/cgi-bin/sendsms?username=foobarpassword=foobarto=xxxtext=test
[1]

-- 

  

Links:
--
[1]
http://127.0.0.1:13013/cgi-bin/sendsms?username=kannel|+|amp|+|password=hard2guess|+|amp|+|to=9486987049|+|amp|+|text=This+msg+is+sent+from+saga%27s+computer+with+kannel+please+reply+back+if+u+received+it


Re: users Digest, Vol 65, Issue 18

2012-01-12 Thread Juan Luis Gomez Correa
Hi Zaharia,

Attach the log files If you keep having the same issues on the new server,
maybe there's some info that can give us some clues.

JL.

From:  Zaharia Constantin soulra...@muscel.ro
Organization:  S.C. Acron Electronics RoFleet S.R.L.
Reply-To:  soulra...@muscel.ro
Date:  Thu, 12 Jan 2012 23:11:47 +0300
To:  users@kannel.org
Subject:  Re: users Digest, Vol 65, Issue 18

i am using the same syntax to send messages that you are show below, and the
same syntax that i have used before i reinstall kannel on the new server

On Thu, 12 Jan 2012 21:06:33 +0100, users-requ...@kannel.org wrote:
 
  
 Hello.
 
 I think that you have not used the right parameters.Try this in your case.
 
 http://127.0.0.1:9000/cgi-bin/sendsms?username=foobarpassword=foobarto=x
 xxtext=test 
 http://127.0.0.1:13013/cgi-bin/sendsms?username=kannelpassword=hard2guessto
 =9486987049text=This+msg+is+sent+from+saga%27s+computer+with+kannel+please+re
 ply+back+if+u+received+it
-- 
 




notification sms with kannel‏

2012-01-12 Thread mohamed keita


Hello. Here is my configuration file. I want to be notified in addition to the 
server's response when the users send a message(keyword) to kannel.
 

group = core

admin-port = 13000

admin-password = fyle-gtw

status-password = fyle-gtw



admin-allow-ip = 127.0.0.1,192.168.2.12



smsbox-port= 13001

wdp-interface-name = *



log-file =
/var/log/kannel/bearerbox.log





box-allow-ip = 127.0.0.1





sms-incoming-queue-limit
= -1



smsbox-max-pending
= 400

 

#Configuration smsbox

group =smsbox

bearerbox-host =
localhost

global-sender=13003

sendsms-port=13003

log-level=4

log-file=/var/log/kannel/smsbox.log

 





# Configuration
send-sms user(Parametres de connexion avec le navigateur)

 

group= sendsms-user

username=fyle

password=fyle

#concatenation=true

max-messages = 3

 

# Configuration sms-service

 

group=sms-service

keyword=default

text=Le
texte a ete mal saisi, veuillez le resaisir.

 

group=sms-service

keyword=numero

aliases=Numero

get-url=http://localhost/kannel/traitement.php?numero=%ptime=%ttext=%a;

faked-sender = 445

 

 # Smsc
(telephone portable)

 

group = smsc

smsc = at

modemtype = samsung

device =/dev/ttyACM0

#device=/dev/usb/tts/0

my-number = 

log-level=1

host=192.168.2.12

sim-buffering=true

 

#Configuration Modem Samsung

 

group = modems

id = samsung

name =  SAMSUNG Mobile USB Modem

detect-string = samsung

init-string = AT+CNMI=2,1,0,0,0

#init-string = ATZ

#init-string = ATQ0 V1 E1 S0=0 C1 D2
+FCLASS=0

speed=9600

message-storage=sm

smsc-id=fyle-smsc

 

 
 
  

unsubscribe

2012-01-12 Thread Tigran Avanesov
 



Re: notification sms with kannel‏

2012-01-12 Thread Willy Mularto
Go through the user guide, read the sms-service group specification and Kannel 
HTTP API to send sms. During development period, it is recommended to set your 
log-level to 0, to show all possible error and response.




On Jan 13, 2012, at 3:52 AM, mohamed keita wrote:

 Hello. Here is my configuration file. I want to be notified in addition to 
 the server's response when the users send a message(keyword) to kannel.
  
 group = core
 admin-port = 13000
 admin-password = fyle-gtw
 status-password = fyle-gtw
 admin-allow-ip = 127.0.0.1,192.168.2.12
 smsbox-port= 13001
 wdp-interface-name = *
 log-file = /var/log/kannel/bearerbox.log
 box-allow-ip = 127.0.0.1
 sms-incoming-queue-limit = -1
 smsbox-max-pending = 400
  
 #Configuration smsbox
 group =smsbox
 bearerbox-host = localhost
 global-sender=13003
 sendsms-port=13003
 log-level=4
 log-file=/var/log/kannel/smsbox.log
  
 # Configuration send-sms user(Parametres de connexion avec le navigateur)
  
 group= sendsms-user
 username=fyle
 password=fyle
 #concatenation=true
 max-messages = 3
  
 # Configuration sms-service
  
 group=sms-service
 keyword=default
 text=Le texte a ete mal saisi, veuillez le resaisir.
  
 group=sms-service
 keyword=numero
 aliases=Numero
 get-url=http://localhost/kannel/traitement.php?numero=%ptime=%ttext=%a;
 faked-sender = 445
  
  # Smsc (telephone portable)
  
 group = smsc
 smsc = at
 modemtype = samsung
 device =/dev/ttyACM0
 #device=/dev/usb/tts/0
 my-number = 
 log-level=1
 host=192.168.2.12
 sim-buffering=true
  
 #Configuration Modem Samsung
  
 group = modems
 id = samsung
 name =  SAMSUNG Mobile USB Modem
 detect-string = samsung
 init-string = AT+CNMI=2,1,0,0,0
 #init-string = ATZ
 #init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
 speed=9600
 message-storage=sm
 smsc-id=fyle-smsc
  
  
 
  
 
 

Willy Mularto
F300HD+MR18DE (NLC1725)











unsubscribe

2012-01-12 Thread orma2000 orma2000