this is the config file... 

> # CORE
> group = core
> admin-port =
13000
> admin-password = foobar # this is the admin password
>
status-password = foobar #this is the admin password
> #admin-deny-ip =
"*.*.*.*"
> admin-allow-ip = "127.0.0.1;192.168.1.*"
> smsbox-port =
13001
> #box-deny-ip = "*.*.*.*"
> box-allow-ip = "*.*.*.*"
>
#box-allow-ip = "127.0.0.1;192.168.1.*"
> log-file =
"/var/log/kannel/kannel.log"
> log-level = 0
> access-log =
"/var/log/kannel/access.log"
> store-location =
"/var/log/kannel/kannel.store"
> 
>
#---------------------------------------------
> # SMSC CONNECTIONS FOR
COSMOTE
> group = smsc
> smsc = at
> smsc-id = cosmote_SMSC
> modemtype
= HUAWEI_E220
> device = /dev/ttyUSB1
> speed = 4608000
> #pin =
999638
> validityperiod = 167
> keepalive = 10
> my-number =
+40785xxxxxx
> sms-center = +40766000510
> sim-buffering = true
>
preferred-prefix = "0766;0785"
> denied-prefix =
"0721;0722;0723;0729;0735;0736"
> allowed-smsc-id = "cosmote_SMSC"
>
denied-smsc-id = "vodafone_SMSC"
> 
>
#---------------------------------------------
> # SMSC CONNECTIONS FOR
Vodafone
> group = smsc
> smsc = at
> smsc-id = vodafone_SMSC
>
modemtype = HUAWEI_E220
> device = /dev/ttyUSB3
> speed = 4608000
> #pin
= 999638
> validityperiod = 167
> keepalive = 10
> my-number =
+40721xxxxxxx
> sms-center = +40722006000
> sim-buffering = true
>
preferred-prefix = "0721;0722;0723;0729;0735;0736"
> denied-prefix =
"0766;0785"
> allowed-smsc-id = "vodafone_SMSC"
> denied-smsc-id =
"cosmote_SMSC"
> 
> include="/etc/kannel/modem.conf"
> 
> # SMSBOX
SETUP
> group = smsbox
> smsbox-id = acronSMS
> bearerbox-host =
localhost
> sendsms-port = 9000
> sendsms-chars = "0123456789+"
>
global-sender = "+40744946000"
> log-file =
"/var/log/kannel/smsbox.log"
> log-level = 0
> access-log =
"/var/log/kannel/access.log"
> 
> group = sms-service
> keyword = nop
>
text = "You asked nothing and I did it!"
> 
> # SMS SERVICES
> # there
should be default always
> group = sms-service
> accepted-smsc =
"cosmote_SMSC;vodafone_SMSC"
> accept-x-kannel-headers = true
> get-url
=
"http://192.168.1.104:8080/events/events.kml?sender=%p&mesaj=%a&timp%t";
>
#get-url =
"http://localhost/acronsms/acronsms_recived.php?mesaj=%a&expeditor=%p&timp=%t";
>
keyword = .*
> catch-all = true
> max-messages = 0
> omit-empty=true
>

> # SEND-SMS USERS
> group = sendsms-user
> username = foobar #this is
the user that i use to send message
> password = foobar #this is the
pass that i use to send message
> default-smsc = cosmote_SMSC
>
concatenation = true
> max-messages = 10
> #dlr-url =
"http://192.168.1.118/acronsms/acronsms.php?dlr=%d
> #user-deny-ip =
"*.*.*.*"
> #user-allow-ip = "127.0.0.1,192.168.1.*"

On Wed, 11 Jan
2012 17:01:04 +0300, Nyika Alex wrote: 

> Kindly share your config
file
> also note that there are credentials for administration and
others for send sms. I hope u are not using the admin credentials. 
> 
>
On 11 January 2012 16:17, Zaharia Constantin wrote:
> 
>> hi, i get this
error message when i try to send a message from browser. 
>> 
>>
"Authorization failed for sendsms" the user name and the password are
right, the ip for that request is ok, but still i get this error, any
ideea way? 
>> 
>> this is the kannel info: 
>> 
>> "Kannel bearerbox
version `1.4.3'. Build `May 19 2011 22:12:12', compiler `4.6.1'. System
Linux, release 3.0.0-14-generic-pae, version #23-Ubuntu SMP Mon Nov 21
22:07:10 UTC 2011, machine i686. Hostname Server, IP 127.0.1.1. Libxml
version 2.7.8. Using OpenSSL 1.0.0d 8 Feb 2011. Compiled with MySQL
5.1.54, using MySQL 5.1.58. Using SQLite 3.7.4. Using native malloc."

>> 
>> anyone have any idea?
> 
> -- 
> Best regards,
> Alex Nyika
>
skype: nyika.alex

-- 

  

Links:
------
[1]
mailto:[email protected]

Reply via email to