Create XML page on daily basis

2011-07-01 Thread Ravindra Gupta // Viva
hii,

How to create status.xml page on daily basis in kannel 1.4.3 gateway.

Kindly help.


Re: Create XML page on daily basis

2011-07-01 Thread Nikos Balkanas
wget http://localhost:13000/status.xml?password=password

Put it in a cron to get it daily.

PS: The list is users, not users-request. users-request is for subscribing
and unsubscribing.

BR,
Nikos

On Fri, Jul 1, 2011 at 9:57 AM, Ravindra Gupta // Viva 
ravin...@vivainfomedia.com wrote:

 hii,

 How to create status.xml page on daily basis in kannel 1.4.3 gateway.

 Kindly help.



failed to send sms from URL ??

2011-07-01 Thread Amrit Pal Pathak
Hello
 I couldn't send a sms from url (following a user guide).In
browser it says 0: Accepted for delivery ,but in terminal it says.

amrit@ubuntu:~$ 2011-07-01 10:29:47 [3803] [6] ERROR: AT2[Nokia 3110c]:
Couldnot write to device.
2011-07-01 10:29:47 [3803] [6] ERROR: System error 5: Input/output error
2011-07-01 10:29:47 [3803] [6] ERROR: AT2[Nokia 3110c]: Error received,
notifying failure, sender: +917589124248 receiver: 918146071221 msgdata:
Hello world udhdata:


My url is:
http://127.0.0.1:13018/cgi-bin/sendsms?username=gndecpassword=abcto=+918146071221text=Hello+world

Thanks in advance.

amritpalpathakgne.wordpress.com


Re: failed to send sms from URL ??

2011-07-01 Thread ha...@aeon.pk
Your handset modem is not properly integrated with kannel.

On Fri, Jul 1, 2011 at 7:32 PM, Amrit Pal Pathak
amritpalpath...@gmail.comwrote:

 Hello
  I couldn't send a sms from url (following a user guide).In
 browser it says 0: Accepted for delivery ,but in terminal it says.

 amrit@ubuntu:~$ 2011-07-01 10:29:47 [3803] [6] ERROR: AT2[Nokia 3110c]:
 Couldnot write to device.
 2011-07-01 10:29:47 [3803] [6] ERROR: System error 5: Input/output error
 2011-07-01 10:29:47 [3803] [6] ERROR: AT2[Nokia 3110c]: Error received,
 notifying failure, sender: +917589124248 receiver: 918146071221 msgdata:
 Hello world udhdata:


 My url is:

 http://127.0.0.1:13018/cgi-bin/sendsms?username=gndecpassword=abcto=+918146071221text=Hello+world

 Thanks in advance.

 amritpalpathakgne.wordpress.com




How to use Kannel for sending binary SMS from Windows PC

2011-07-01 Thread Spenst, Aleksej
Hi All,

I need to be able to send binary SMS messages from my Windows PC. I wondering 
if this is possible with Kannel.

I've looked at the documentation and I see that it will take a lot of time to 
understand how everything works, to install everything and to get it working. 
Could you please give me some directions on how to achieve this and/or point to 
the relevant documentation parts and examples?

I can connect a mobile phone to my PC via Bluetooth/COM Port. Can Kannel be 
used to send SMS from the mobile? How to install Kannel for such a use case and 
how to use it?

This subject is new to me, so I'll appreciate any tips!

Regards,
Aleksej.




Re: How to use Kannel for sending binary SMS from Windows PC

2011-07-01 Thread Mpeirwe Benjamin
For windows try the following SMPP clients:

NowSMS
SMSC Client.net
Ozeki SMS gateway

The above are very easy to configure and use for even binary sms.

Kannel on windows could work with   CygWIn but the porting will take you
through hell.

Regards
On Fri, Jul 1, 2011 at 6:56 PM, Spenst, Aleksej
aleksej.spe...@harman.comwrote:

  Hi All,

 ** **

 I need to be able to send binary SMS messages from my Windows PC. I
 wondering if this is possible with Kannel.

 ** **

 I’ve looked at the documentation and I see that it will take a lot of time
 to understand how everything works, to install everything and to get it
 working. Could you please give me some directions on how to achieve this
 and/or point to the relevant documentation parts and examples?

 ** **

 I can connect a mobile phone to my PC via Bluetooth/COM Port. Can Kannel be
 used to send SMS from the mobile? How to install Kannel for such a use case
 and how to use it?

 ** **

 This subject is new to me, so I’ll appreciate any tips! 

 ** **

 Regards,

 Aleksej.

 ** **

 ** **




-- 
The Scientist explores what is,
the Engineer creates what has never been.
Theodore von Karman


Re: failed to send sms from URL ??

2011-07-01 Thread lucas oketch
check your file permissions for /dev/ttyACM0

On Jul 1, 2011 5:34 PM, Amrit Pal Pathak amritpalpath...@gmail.com
wrote:
 Hello
 I couldn't send a sms from url (following a user guide).In
 browser it says 0: Accepted for delivery ,but in terminal it says.

 amrit@ubuntu:~$ 2011-07-01 10:29:47 [3803] [6] ERROR: AT2[Nokia 3110c]:
 Couldnot write to device.
 2011-07-01 10:29:47 [3803] [6] ERROR: System error 5: Input/output error
 2011-07-01 10:29:47 [3803] [6] ERROR: AT2[Nokia 3110c]: Error received,
 notifying failure, sender: +917589124248 receiver: 918146071221 msgdata:
 Hello world udhdata:


 My url is:

http://127.0.0.1:13018/cgi-bin/sendsms?username=gndecpassword=abcto=+918146071221text=Hello+world

 Thanks in advance.

 amritpalpathakgne.wordpress.com


Adding/removing a prefix

2011-07-01 Thread Garth Patil
Hi,
I'm trying to understand the functionality of the 'unified-prefix'
parameter in the 'smsc' group configuration. Here is what I'm trying
to acheive:
- For a destination number of '+12125551212'  when receiving messages
from smsbox, I'd like the SMSC connection to use '2125551212', because
this format is required by the operator's SMSC.
- For a sender number of '2125551212' when receiving SMS messages from
the SMSC, I'd like the smsbox sms-service to use '+12125551212' when
it posts the message to my application.
Is this possible using the 'unified-prefix' parameter? Can someone
give me help on the syntax to use to achieve the above result? Or
perhaps there's another recommended way to do this?
Thanks,
Garth



Bearerbox couldn't be start ??

2011-07-01 Thread Amrit Pal Pathak
Bearbox starting couldn't be.its gives.

2011-07-01 15:02:05 [18638] [0] INFO: Debug_lvl = 1, log_file = none,
log_lvl = 0
2011-07-01 15:02:05 [18638] [0] ERROR: Group 'modems' may not contain field
'message-start'.
2011-07-01 15:02:05 [18638] [0] ERROR: Error found on line 68 of file
`ppp/kannel.conf'.
2011-07-01 15:02:05 [18638] [0] PANIC: Couldn't read configuration from
`ppp/kannel.conf'.
2011-07-01 15:02:05 [18638] [0] PANIC: bearerbox(gw_panic+0xcd) [0x80cdb5d]
2011-07-01 15:02:05 [18638] [0] PANIC: bearerbox(main+0xcf8) [0x8054698]
2011-07-01 15:02:05 [18638] [0] PANIC:
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xdf4bd6]
2011-07-01 15:02:05 [18638] [0] PANIC: bearerbox() [0x8052c61]


kannel.conf file has:


#Sample configuration file for Kannel bearerbox on Debian.
# See the documentation for explanations of fields.
#

# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.

group = core
admin-port = 13015
admin-password = abc
#admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1
dlr-storage = internal
smsbox-port = 13016
#wdp-interface-name = *
log-file = /var/log/kannel/bearerbox.log
access-log = /var/log/kannel/access.log
#box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
log-level = 0

#group = wapbox
#bearerbox-host = localhost
#log-file = /var/log/kannel/wapbox.log
group = smsc
smsc-id = Nokia 3110c
smsc = at
modemtype = Nokia 3110c
device= /dev/ttyACM0
my-number = +917589124248
connect-allow-ip = 127.0.0.1
#sim-buffering = true
log-level = 0

# DLR with MySQL support configuration
group = mysql-connection
id = mydlr
host = localhost
username = root
password = 12345
database = kan

group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-source=source
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

group = modems
id = nokia
name = Nokia
detect-string = Nokia
init-string = ATZ
#init-string = AT+CMEE=1
init-string = AT Q0 V1 E1 S0=0 C1 D2 +FCLASS=0
init-string = AT+CNMI=0,1
#message-storage = SM
message-start = 0
#speed = 460800
#message-start = 0

group = smsbox
smsbox-id = mysmsc
bearerbox-host = localhost
#bearerbox-port = 13018
#18 port is for sms-servicce that is to start the smsbox
sendsms-port = 13018
global-sender = +917589124248
access-log = /var/log/kannel/smsbox-access.log
log-file = /var/log/kannel/smsbox.log
log-level = 0
mo-recode = true

group = sendsms-user
username = gndec
password = abc
concatenation= true
max-messages = 1

group = sms-service
keyword-regex = .*
text = Thanks for sending SMS
catch-all = yes
accepted-smsc = Nokia 3110c
max-messages = 3
#get-url = http://localhost/sms.php?phone=%ptext=%a;


Please somebody help

Thanks in advacne

amritpalpathakgne.wordpress.com


Re: Bearerbox couldn't be start ??

2011-07-01 Thread Alvaro Cornejo
The error shown  says it Group 'modems' may not contain field 'message-start'.

remove/comment that line from your modem config.

regards

Alvaro

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



On Fri, Jul 1, 2011 at 2:04 PM, Amrit Pal Pathak
amritpalpath...@gmail.com wrote:
 Bearbox starting couldn't be.its gives.
 2011-07-01 15:02:05 [18638] [0] INFO: Debug_lvl = 1, log_file = none,
 log_lvl = 0
 2011-07-01 15:02:05 [18638] [0] ERROR: Group 'modems' may not contain field
 'message-start'.
 2011-07-01 15:02:05 [18638] [0] ERROR: Error found on line 68 of file
 `ppp/kannel.conf'.
 2011-07-01 15:02:05 [18638] [0] PANIC: Couldn't read configuration from
 `ppp/kannel.conf'.
 2011-07-01 15:02:05 [18638] [0] PANIC: bearerbox(gw_panic+0xcd) [0x80cdb5d]
 2011-07-01 15:02:05 [18638] [0] PANIC: bearerbox(main+0xcf8) [0x8054698]
 2011-07-01 15:02:05 [18638] [0] PANIC:
 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xdf4bd6]
 2011-07-01 15:02:05 [18638] [0] PANIC: bearerbox() [0x8052c61]

 kannel.conf file has:

 #Sample configuration file for Kannel bearerbox on Debian.
 # See the documentation for explanations of fields.
 #
 # HTTP administration is disabled by default. Make sure you set the
 # password if you enable it.
 group = core
 admin-port = 13015
 admin-password = abc
 #admin-deny-ip = *.*.*.*
 admin-allow-ip = 127.0.0.1
 dlr-storage = internal
 smsbox-port = 13016
 #wdp-interface-name = *
 log-file = /var/log/kannel/bearerbox.log
 access-log = /var/log/kannel/access.log
 #box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1
 log-level = 0
 #group = wapbox
 #bearerbox-host = localhost
 #log-file = /var/log/kannel/wapbox.log
 group = smsc
 smsc-id = Nokia 3110c
 smsc = at
 modemtype = Nokia 3110c
 device= /dev/ttyACM0
 my-number = +917589124248
 connect-allow-ip = 127.0.0.1
 #sim-buffering = true
 log-level = 0
 # DLR with MySQL support configuration
 group = mysql-connection
 id = mydlr
 host = localhost
 username = root
 password = 12345
 database = kan
 group = dlr-db
 id = mydlr
 table = dlr
 field-smsc = smsc
 field-timestamp = ts
 field-source=source
 field-destination = destination
 field-service = service
 field-url = url
 field-mask = mask
 field-status = status
 field-boxc-id = boxc
 group = modems
 id = nokia
 name = Nokia
 detect-string = Nokia
 init-string = ATZ
 #init-string = AT+CMEE=1
 init-string = AT Q0 V1 E1 S0=0 C1 D2 +FCLASS=0
 init-string = AT+CNMI=0,1
 #message-storage = SM
 message-start = 0
 #speed = 460800
 #message-start = 0
 group = smsbox
 smsbox-id = mysmsc
 bearerbox-host = localhost
 #bearerbox-port = 13018
 #18 port is for sms-servicce that is to start the smsbox
 sendsms-port = 13018
 global-sender = +917589124248
 access-log = /var/log/kannel/smsbox-access.log
 log-file = /var/log/kannel/smsbox.log
 log-level = 0
 mo-recode = true
 group = sendsms-user
 username = gndec
 password = abc
 concatenation= true
 max-messages = 1
 group = sms-service
 keyword-regex = .*
 text = Thanks for sending SMS
 catch-all = yes
 accepted-smsc = Nokia 3110c
 max-messages = 3
 #get-url = http://localhost/sms.php?phone=%ptext=%a;

 Please somebody help
 Thanks in advacne
 amritpalpathakgne.wordpress.com



Re: Adding/removing a prefix

2011-07-01 Thread Mfawa Alfred Onen
Hello Garth, try using this *unified-prefix = 2125551212,+12125551212*.

Regards!

On Fri, Jul 1, 2011 at 6:35 PM, Garth Patil garthpa...@gmail.com wrote:

 Hi,
 I'm trying to understand the functionality of the 'unified-prefix'
 parameter in the 'smsc' group configuration. Here is what I'm trying
 to acheive:
 - For a destination number of '+12125551212'  when receiving messages
 from smsbox, I'd like the SMSC connection to use '2125551212', because
 this format is required by the operator's SMSC.
 - For a sender number of '2125551212' when receiving SMS messages from
 the SMSC, I'd like the smsbox sms-service to use '+12125551212' when
 it posts the message to my application.
 Is this possible using the 'unified-prefix' parameter? Can someone
 give me help on the syntax to use to achieve the above result? Or
 perhaps there's another recommended way to do this?
 Thanks,
 Garth




-- 
*Mfawa Alfred Onen*
*M.Sc Telecoms, B.Eng Elect/Elect, CCNA, RHCE(in view)*
System Administrator
Department of Computer Science,
Bingham University.

E-Mail: systemad...@binghamuni.edu.ng
Phone1: +234 805 944 3154
Phone2: +234 803 079 6088