Re: sms send problem
Hi, Try using DLRs; from them based on the status you will know exactly if the SMS reached the phone or not and if not, where it's at. Catalin Wen Jia, Gan wrote: Hi Rodrigo, Thanks for your reply. Sent. was what I got as a HTTP reply in the browser from http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobart o=90121494text=Hello+world Can I ask how do I differentiate between the different modes of Dispatched, Sent-to-smsc or Sent-to-modem? And after differentiating, how can I continue troubleshooting from there. Regards, Wen -Original Message- From: Rodrigo Cremaschi [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 10:59 PM To: Wen Jia, Gan Cc: users@kannel.org Subject: Re: sms send problem Hi Wen, Well, Sent in Kannel dictionary does not mean what we suppose at first, and may lead to some confusion. I think this should be changed to Dispatched, Sent-to-smsc or Sent-to-modem as this would be more appropriate. Rodrigo. On 9/27/05, Wen Jia, Gan [EMAIL PROTECTED] wrote: Hi there, I am new in setting up Kannel as SMS gateway, and am having problems sending SMS via HTTP interface. After sending the SMS using FireFox 1.0.4 running on Fedora Core 4: http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobar to=90121494text=Hello+world Kannel returns a page with Sent., but I do not see my GSM phone sending out the SMS, not the SMS being received. I am connected my SonyEricsson Z1010 GSM phone via infra-red(/dev/ircomm0) to use it as SMSC. I am able to communicate to the phone via infra-red using AT commands and using minicom. Would appreciate any help! Regards, Wen My smskannel.conf - group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar status-password = foo log-file = /tmp/kannel.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 access-log = /tmp/access.log # SMSC CONNECTIONS group = smsc smsc = at smsc-id = Z1010 device = /dev/ircomm0 speed = 9600 include = modems.conf #modems.conf is that obtained from the kannel distribution. # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 log-file = /tmp/smsbox.log log-level = 0 access-log = /tmp/access.log # SEND-SMS USERS group = sendsms-user username = tester password = foobar # SERVICES group = sms-service keyword = nop text = You asked nothing and I did it! # there should be default always group = sms-service keyword = default text = No service specified My Output Messages --- /usr/sbin/bearerbox -v 1 smskannel.conf 2005-09-27 17:52:41 [18622] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 0 2005-09-27 17:52:41 [18622] [0] WARNING: DLR: using default 'internal' for storage type. 2005-09-27 17:52:41 [18622] [0] INFO: DLR using storage type: internal 2005-09-27 17:52:41 [18622] [0] INFO: Added logfile `/tmp/kannel.log' with level `1'. 2005-09-27 17:52:41 [18622] [0] INFO: Started access logfile `/tmp/access.log'. 2005-09-27 17:52:41 [18622] [0] INFO: HTTP: Opening server at port 13000. 2005-09-27 17:52:41 [18622] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2005-09-27 17:52:41 [18622] [0] INFO: DLR rerouting for smsc id Z1010 disabled. 2005-09-27 17:52:41 [18622] [0] INFO: AT2[Z1010]: configuration doesn't show modemtype. will autodetect 2005-09-27 17:52:41 [18622] [0] INFO: 2005-09-27 17:52:41 [18622] [0] INFO: Kannel bearerbox II version 1.4.0 starting2005-09-27 17:52:41 [18622] [6] INFO: AT2[Z1010]: opening device 2005-09-27 17:52:41 [18622] [0] INFO: MAIN: Start-up done, entering mainloop 2005-09-27 17:52:42 [18622] [6] INFO: AT2[Z1010]: speed set to 9600 2005-09-27 17:52:52 [18622] [6] INFO: AT2[Z1010]: opening device 2005-09-27 17:52:52 [18622] [6] WARNING: AT2[Z1010]: trying to open device with not closed device!!! Please report!!! 2005-09-27 17:52:52 [18622] [6] INFO: AT2[Z1010]: closing device 2005-09-27 17:53:37 [18622] [8] INFO: Client connected from 127.0.0.1 2005-09-27 17:54:22 [18622] [8] INFO: Connection closed by the box 127.0.0.1 2005-09-27 17:54:27 [18622] [0] WARNING: Killing signal or HTTP admin command received, shutting down... - /usr/sbin/smsbox -v 1 smskannel.conf 2005-09-27 17:53:37 [18638] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 0 2005-09-27 17:53:37 [18638] [0] INFO: Starting to log to file /tmp/smsbox.log level 0 2005-09-27 17:53:37 [18638] [0] INFO: Added logfile `/tmp/smsbox.log' with level `0'. 2005-09-27 17:53:37 [18638] [0] INFO: Service global sender set as '13013' 2005-09-27 17:53:37 [18638] [0] INFO: Logging accesses to '/tmp/access.log'. 2005-09-27 17:53:37 [18638] [0] INFO: Started access logfile `/tmp/access.log'. 2005-09-27 17:53:37 [18638] [0] INFO: HTTP: Opening server at port 13013. 2005-09-27 17:53:37 [18638] [0] INFO: Set up send
RE: sms send problem
Title: RE: sms send problem Hi Catalin, Rodrigo, Thanks for both your advice! I have managed to solve my problem. It seems that the modemtype and the AT variables in the provided modem.conf are not compatible with my Sony Ericsson Z1010. I found this link which helped to solve my problem. Hope it benefits others facing similar problems too. http://henryjunior.com/blog/?p=12 Note: I was connecting my Z1010 to my USB port, so for device I was using /dev/ttyACM1 Thanks again to all who helped! Wen >From http://henryjunior.com/blog/?p=12 July 17th, 2005 I just got my Sony Ericsson T637 working with Kannel via Bluetooth (as a GSM modem). I looked around for the necessary init and config script for this phone and didnt find one so I am posting the configuration I created. Some aspects might not be necessary or could be overkill. The bottom line though is using these configurations I am able to send/receive/respond to SMS messages: # SMSC GSM group = smsc smsc = at modemtype = T630-T628 device = /dev/tty.T637-SerialPort1-1 speed = 9600 sim-buffering = true group = modems id = T630-T628 name = T630-T628 broken = true init-string = AT+CNMI=2,3,2,0,0;+CMGF=0 keepalive-cmd = AT+CBC;+CSQ;+CMGF=0 -Original Message- From: Rodrigo Cremaschi [mailto:[EMAIL PROTECTED]] Sent: Tue 9/27/2005 10:59 PM To: Wen Jia, Gan Cc: users@kannel.org Subject: Re: sms send problem Hi Wen, Well, Sent in Kannel dictionary does not mean what we suppose at first, and may lead to some confusion. I think this should be changed to Dispatched, Sent-to-smsc or Sent-to-modem as this would be more appropriate. Rodrigo. On 9/27/05, Wen Jia, Gan [EMAIL PROTECTED] wrote: Hi there, I am new in setting up Kannel as SMS gateway, and am having problems sending SMS via HTTP interface. After sending the SMS using FireFox 1.0.4 running on Fedora Core 4: http://localhost:13013/cgi-bin/sendsms?username=tester=foobar=90121494=Hello+world Kannel returns a page with Sent., but I do not see my GSM phone sending out the SMS, not the SMS being received. I am connected my SonyEricsson Z1010 GSM phone via infra-red(/dev/ircomm0) to use it as SMSC. I am able to communicate to the phone via infra-red using AT commands and using minicom. Would appreciate any help! Regards, Wen My smskannel.conf - group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar status-password = foo log-file = /tmp/kannel.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 access-log = /tmp/access.log # SMSC CONNECTIONS group = smsc smsc = at smsc-id = Z1010 device = /dev/ircomm0 speed = 9600 include = modems.conf #modems.conf is that obtained from the kannel distribution. # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 log-file = /tmp/smsbox.log log-level = 0 access-log = /tmp/access.log # SEND-SMS USERS group = sendsms-user username = tester password = foobar # SERVICES group = sms-service keyword = nop text = You asked nothing and I did it! # there should be default always group = sms-service keyword = default text = No service specified My Output Messages --- /usr/sbin/bearerbox -v 1 smskannel.conf 2005-09-27 17:52:41 [18622] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 0 2005-09-27 17:52:41 [18622] [0] WARNING: DLR: using default 'internal' for storage type. 2005-09-27 17:52:41 [18622] [0] INFO: DLR using storage type: internal 2005-09-27 17:52:41 [18622] [0] INFO: Added logfile `/tmp/kannel.log' with level `1'. 2005-09-27 17:52:41 [18622] [0] INFO: Started access logfile `/tmp/access.log'. 2005-09-27 17:52:41 [18622] [0] INFO: HTTP: Opening server at port 13000. 2005-09-27 17:52:41 [18622] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2005-09-27 17:52:41 [18622] [0] INFO: DLR rerouting for smsc id Z1010 disabled. 2005-09-27 17:52:41 [18622] [0] INFO: AT2[Z1010]: configuration doesn't show modemtype. will autodetect 2005-09-27 17:52:41 [18622] [0] INFO: 2005-09-27 17:52:41 [18622] [0] INFO: Kannel bearerbox II version 1.4.0 starting2005-09-27 17:52:41 [18622] [6] INFO: AT2[Z1010]: opening device 2005-09-27 17:52:41 [18622] [0] INFO: MAIN: Start-up done, entering mainloop 2005-09-27 17:52:42 [18622] [6] INFO: AT2[Z1010]: speed set to 9600 2005-09-27 17:52:52 [18622] [6] INFO: AT2[Z1010]: opening device 2005-09-27 17:52:52 [18622] [6] WARNING: AT2[Z1010]: trying to open device with not closed device!!! Please report!!! 2005-09-27 17:52:52 [18622] [6] INFO: AT2[Z1010]: closing device 2005-09-27 17:53:37 [18622] [8] INFO: Client connected from 127.0.0.1 2005-09-27 17:54:22 [18622] [8] INFO: Connection closed by the box 127.0.0.1 2005-09-27 17:54:27 [18622] [0] WARNING: Killing signal or HTTP admin command received, shutting down... - /
sms send problem
Title: sms send problem Hi there, I am new in setting up Kannel as SMS gateway, and am having problems sending SMS via HTTP interface. After sending the SMS using FireFox 1.0.4 running on Fedora Core 4: http://localhost:13013/cgi-bin/sendsms?username=tester=foobar=90121494=Hello+world Kannel returns a page with Sent., but I do not see my GSM phone sending out the SMS, not the SMS being received. I am connected my SonyEricsson Z1010 GSM phone via infra-red(/dev/ircomm0) to use it as SMSC. I am able to communicate to the phone via infra-red using AT commands and using minicom. Would appreciate any help! Regards, Wen My smskannel.conf - group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar status-password = foo log-file = /tmp/kannel.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 access-log = /tmp/access.log # SMSC CONNECTIONS group = smsc smsc = at smsc-id = Z1010 device = /dev/ircomm0 speed = 9600 include = modems.conf #modems.conf is that obtained from the kannel distribution. # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 log-file = /tmp/smsbox.log log-level = 0 access-log = /tmp/access.log # SEND-SMS USERS group = sendsms-user username = tester password = foobar # SERVICES group = sms-service keyword = nop text = You asked nothing and I did it! # there should be default always group = sms-service keyword = default text = No service specified My Output Messages --- /usr/sbin/bearerbox -v 1 smskannel.conf 2005-09-27 17:52:41 [18622] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 0 2005-09-27 17:52:41 [18622] [0] WARNING: DLR: using default 'internal' for storage type. 2005-09-27 17:52:41 [18622] [0] INFO: DLR using storage type: internal 2005-09-27 17:52:41 [18622] [0] INFO: Added logfile `/tmp/kannel.log' with level `1'. 2005-09-27 17:52:41 [18622] [0] INFO: Started access logfile `/tmp/access.log'. 2005-09-27 17:52:41 [18622] [0] INFO: HTTP: Opening server at port 13000. 2005-09-27 17:52:41 [18622] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2005-09-27 17:52:41 [18622] [0] INFO: DLR rerouting for smsc id Z1010 disabled. 2005-09-27 17:52:41 [18622] [0] INFO: AT2[Z1010]: configuration doesn't show modemtype. will autodetect 2005-09-27 17:52:41 [18622] [0] INFO: 2005-09-27 17:52:41 [18622] [0] INFO: Kannel bearerbox II version 1.4.0 starting2005-09-27 17:52:41 [18622] [6] INFO: AT2[Z1010]: opening device 2005-09-27 17:52:41 [18622] [0] INFO: MAIN: Start-up done, entering mainloop 2005-09-27 17:52:42 [18622] [6] INFO: AT2[Z1010]: speed set to 9600 2005-09-27 17:52:52 [18622] [6] INFO: AT2[Z1010]: opening device 2005-09-27 17:52:52 [18622] [6] WARNING: AT2[Z1010]: trying to open device with not closed device!!! Please report!!! 2005-09-27 17:52:52 [18622] [6] INFO: AT2[Z1010]: closing device 2005-09-27 17:53:37 [18622] [8] INFO: Client connected from 127.0.0.1 2005-09-27 17:54:22 [18622] [8] INFO: Connection closed by the box 127.0.0.1 2005-09-27 17:54:27 [18622] [0] WARNING: Killing signal or HTTP admin command received, shutting down... - /usr/sbin/smsbox -v 1 smskannel.conf 2005-09-27 17:53:37 [18638] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 0 2005-09-27 17:53:37 [18638] [0] INFO: Starting to log to file /tmp/smsbox.log level 0 2005-09-27 17:53:37 [18638] [0] INFO: Added logfile `/tmp/smsbox.log' with level `0'. 2005-09-27 17:53:37 [18638] [0] INFO: Service global sender set as '13013' 2005-09-27 17:53:37 [18638] [0] INFO: Logging accesses to '/tmp/access.log'. 2005-09-27 17:53:37 [18638] [0] INFO: Started access logfile `/tmp/access.log'. 2005-09-27 17:53:37 [18638] [0] INFO: HTTP: Opening server at port 13013. 2005-09-27 17:53:37 [18638] [0] INFO: Set up send sms service at port 13013 2005-09-27 17:53:37 [18638] [0] INFO: Connected to bearerbox at localhost port 13001. 2005-09-27 17:53:52 [18638] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.1 2005-09-27 17:53:52 [18638] [3] INFO: sendsms used by tester 2005-09-27 17:53:52 [18638] [3] INFO: sendsms sender:tester:13013 (127.0.0.1) to:90121494 msg:Hello world 2005-09-27 17:53:53 [18638] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.1 - tail -f /tmp/smsbox.log 2005-09-27 17:58:59 [18704] [0] INFO: Added logfile `/tmp/smsbox.log' with level `0'. 2005-09-27 17:58:59 [18704] [0] INFO: Service global sender set as '13013' 2005-09-27 17:58:59 [18704] [0] INFO: Logging accesses to '/tmp/access.log'. 2005-09-27 17:58:59 [18704] [0] INFO: Started access logfile `/tmp/access.log'. 2005-09-27 17:58:59 [18704] [0] INFO: HTTP: Opening server at port 13013. 2005-09-27 17:58:59 [18704] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2005-09-27 17:58:59 [18704] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2005-09-27 17
Re: sms send problem
Hi Wen, Well, Sent in Kannel dictionary does not mean what we suppose at first, and may lead to some confusion. I think this should be changed to Dispatched, Sent-to-smsc or Sent-to-modem as this would be more appropriate. Rodrigo. On 9/27/05, Wen Jia, Gan [EMAIL PROTECTED] wrote: Hi there, I am new in setting up Kannel as SMS gateway, and am having problems sending SMS via HTTP interface. After sending the SMS using FireFox 1.0.4 running on Fedora Core 4: http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobarto=90121494text=Hello+world Kannel returns a page with Sent., but I do not see my GSM phone sending out the SMS, not the SMS being received. I am connected my SonyEricsson Z1010 GSM phone via infra-red(/dev/ircomm0) to use it as SMSC. I am able to communicate to the phone via infra-red using AT commands and using minicom. Would appreciate any help! Regards, Wen My smskannel.conf - group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar status-password = foo log-file = /tmp/kannel.log log-level = 1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 access-log = /tmp/access.log # SMSC CONNECTIONS group = smsc smsc = at smsc-id = Z1010 device = /dev/ircomm0 speed = 9600 include = modems.conf #modems.conf is that obtained from the kannel distribution. # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 log-file = /tmp/smsbox.log log-level = 0 access-log = /tmp/access.log # SEND-SMS USERS group = sendsms-user username = tester password = foobar # SERVICES group = sms-service keyword = nop text = You asked nothing and I did it! # there should be default always group = sms-service keyword = default text = No service specified My Output Messages --- /usr/sbin/bearerbox -v 1 smskannel.conf 2005-09-27 17:52:41 [18622] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 0 2005-09-27 17:52:41 [18622] [0] WARNING: DLR: using default 'internal' for storage type. 2005-09-27 17:52:41 [18622] [0] INFO: DLR using storage type: internal 2005-09-27 17:52:41 [18622] [0] INFO: Added logfile `/tmp/kannel.log' with level `1'. 2005-09-27 17:52:41 [18622] [0] INFO: Started access logfile `/tmp/access.log'. 2005-09-27 17:52:41 [18622] [0] INFO: HTTP: Opening server at port 13000. 2005-09-27 17:52:41 [18622] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2005-09-27 17:52:41 [18622] [0] INFO: DLR rerouting for smsc id Z1010 disabled. 2005-09-27 17:52:41 [18622] [0] INFO: AT2[Z1010]: configuration doesn't show modemtype. will autodetect 2005-09-27 17:52:41 [18622] [0] INFO: 2005-09-27 17:52:41 [18622] [0] INFO: Kannel bearerbox II version 1.4.0 starting2005-09-27 17:52:41 [18622] [6] INFO: AT2[Z1010]: opening device 2005-09-27 17:52:41 [18622] [0] INFO: MAIN: Start-up done, entering mainloop 2005-09-27 17:52:42 [18622] [6] INFO: AT2[Z1010]: speed set to 9600 2005-09-27 17:52:52 [18622] [6] INFO: AT2[Z1010]: opening device 2005-09-27 17:52:52 [18622] [6] WARNING: AT2[Z1010]: trying to open device with not closed device!!! Please report!!! 2005-09-27 17:52:52 [18622] [6] INFO: AT2[Z1010]: closing device 2005-09-27 17:53:37 [18622] [8] INFO: Client connected from 127.0.0.1 2005-09-27 17:54:22 [18622] [8] INFO: Connection closed by the box 127.0.0.1 2005-09-27 17:54:27 [18622] [0] WARNING: Killing signal or HTTP admin command received, shutting down... - /usr/sbin/smsbox -v 1 smskannel.conf 2005-09-27 17:53:37 [18638] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 0 2005-09-27 17:53:37 [18638] [0] INFO: Starting to log to file /tmp/smsbox.log level 0 2005-09-27 17:53:37 [18638] [0] INFO: Added logfile `/tmp/smsbox.log' with level `0'. 2005-09-27 17:53:37 [18638] [0] INFO: Service global sender set as '13013' 2005-09-27 17:53:37 [18638] [0] INFO: Logging accesses to '/tmp/access.log'. 2005-09-27 17:53:37 [18638] [0] INFO: Started access logfile `/tmp/access.log'. 2005-09-27 17:53:37 [18638] [0] INFO: HTTP: Opening server at port 13013. 2005-09-27 17:53:37 [18638] [0] INFO: Set up send sms service at port 13013 2005-09-27 17:53:37 [18638] [0] INFO: Connected to bearerbox at localhost port 13001. 2005-09-27 17:53:52 [18638] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.1 2005-09-27 17:53:52 [18638] [3] INFO: sendsms used by tester 2005-09-27 17:53:52 [18638] [3] INFO: sendsms sender:tester:13013 (127.0.0.1) to:90121494 msg:Hello world 2005-09-27 17:53:53 [18638] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.1 - tail -f /tmp/smsbox.log 2005-09-27 17:58:59 [18704] [0] INFO: Added logfile `/tmp/smsbox.log' with level `0'.
Re: sms send problem
= smsc in kannel.conf? Maybe it is a good idea to post your config. Rene Kluwen Chimit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of john decot Sent: vrijdag 9 september 2005 7:54 To: users@kannel.org Subject: sms send problem Hi all, i m first time to setting up kannel. i have used sample smskannel.conf and run the daemon. i have tried to sent sms from http. Logs show as follows: 2005-09-09 10:42:03 [3301] [3] INFO: sendsms sender:tester:13013 (127.0.0.1) to: xxxyy msg:hello 2005-09-09 10:42:05 [3301] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.1 2005-09-09 10:44:30 [3301] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.1 2005-09-09 10:44:31 [3301] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.1 where xxx= country code yy= mobile no. web browser shows successfully sent using fake sms. But i am not getting message in my mobile. I am connected to internet only no other hardware is there. i have heard that we can send message without using mobile set gateway. what may be the problem with my kannel. Any help will be apprieciated. thanks in advance. john. Rene Kluwen [EMAIL PROTECTED] wrote: I think you better post this to the list. You still dont have any real SMSC connection. The group = smsc in your kannel.conf points back to the same Kannel instance... which doesnt have an smsc connection. Kind of like the chicken and the egg. Either install a GSM modem or get an account at one of the many service providers to send out sms messages. Rene Kluwen Chimit Click here to donate to the Hurricane Katrina relief effort. Yahoo! for Good Watch the Hurricane Katrina Shelter From The Storm concert Yahoo! for Good Watch the Hurricane Katrina Shelter From The Storm concert
RE: sms send problem
I think you better post this to the list. You still dont have any real SMSC connection. The group = smsc in your kannel.conf points back to the same Kannel instance... which doesnt have an smsc connection. Kind of like the chicken and the egg. Either install a GSM modem or get an account at one of the many service providers to send out sms messages. Rene Kluwen Chimit -Original Message-From: john decot [mailto:[EMAIL PROTECTED]Sent: zondag 11 september 2005 13:48To: Rene KluwenSubject: RE: sms send problem I think you can help me .here are the logs which i get ./smsbox -v 1 smskannel.conf2005-09-11 16:13:18 [3481] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 02005-09-11 16:13:18 [3481] [0] INFO: Service global sender set as '13013'2005-09-11 16:13:18 [3481] [0] INFO: HTTP: Opening server at port 13013.2005-09-11 16:13:18 [3481] [0] INFO: Set up send sms service at port 130132005-09-11 16:13:18 [3481] [0] INFO: Connected to bearerbox at localhost port 13001.2005-09-11 16:13:27 [3481] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.12005-09-11 16:13:28 [3481] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.12005-09-11 16:13:54 [3481] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.12005-09-11 16:13:54 [3481] [3] INFO: sendsms used by tester2005-09-11 16:13:54 [3481] [3] INFO: sendsms sender:tester:13013 (127.0.0.1) to:xxxyy msg:hello2005-09-11 16:13:56 [3481] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.1 ./bearerbox -v 1 smskannel.conf2005-09-11 16:13:15 [3472] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 02005-09-11 16:13:15 [3472] [0] WARNING: DLR: using default 'internal' for storage type.2005-09-11 16:13:15 [3472] [0] INFO: DLR using storage type: internal2005-09-11 16:13:15 [3472] [0] INFO: HTTP: Opening server at port 13000.2005-09-11 16:13:15 [3472] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100).2005-09-11 16:13:15 [3472] [0] INFO: DLR rerouting for smsc id (null) disabled.2005-09-11 16:13:15 [3472] [0] INFO: HTTP: Opening server at port 10011.2005-09-11 16:13:15 [3472] [0] INFO: HTTP[(null)]: Initiated and ready2005-09-11 16:13:15 [3472] [0] INFO: 2005-09-11 16:13:15 [3472] [0] INFO: Kannel bearerbox II version 1.4.0 starting2005-09-11 16:13:15 [3472] [0] INFO: MAIN: Start-up done, entering mainloop2005-09-11 16:13:18 [3472] [9] INFO: Client connected from 127.0.0.12005-09-11 16:13:57 [3472] [12] ERROR: Error while gw_gethostbyname occurs.2005-09-11 16:13:57 [3472] [12] ERROR: System error 1: Operation not permitted2005-09-11 16:13:57 [3472] [12] ERROR: gethostbyname failed2005-09-11 16:13:57 [3472] [12] ERROR: error connecting to server `localhost:13013' at port `13013'2005-09-11 16:13:57 [3472] [12] ERROR: Couldn't send request to http://localhost:13013?username=testerpassword=foobarto=xxxyytext=hellofrom=13013coding=0dlr-url=2005-09-11 16:13:57 [3472] [7] ERROR: HTTP[(null)]: Couldn't connect to SMS center (retrying in 10 seconds). smskannel.conf looks follows ## THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL## It is run like this:## 1% gw/bearerbox gw/smskannel.conf# 2% gw/smsbox gw/smskannel.conf# 3% test/fakesmsc -p 1 -H localhost -i 1 -m 100 "123 345 text nop"## ..all 3 commands in separate shells (or screen sessions)## For any modifications to this file, see Kannel User Guide# If that does not help, send email to users@kannel.org## Kalle Marjola May 2000# Changed for new fakesmsc version by Uoti Urpala Jan 2001# Added service and sendsms for HTTP SMSC by Kalle Marjola Mar 2001# group = coreadmin-port = 13000smsbox-port = 13001admin-password = bar#status-password = foo#admin-deny-ip = ""admin-allow-ip = ""#log-file = "/tmp/kannel.log"#log-level = 0box-deny-ip = "*.*.*.*"box-allow-ip = "127.0.0.1"#unified-prefix = "+358,00358,0;+,00"#access-log = "/tmp/access.log"#store-file = "/tmp/kannel.store"#ssl-server-cert-file = "cert.pem"#ssl-server-key-file = "key.pem"#ssl-certkey-file = "mycertandprivkeyfile.pem" # SMSC CONNECTIONS group = smscsmsc = httpsystem-type= kannelport = 10011connect-allow-ip = 127.0.0.1smsc-username= testersmsc-password= foobarsend-url = ""http://localhost:13013">http://localhost:13013"# SMSBOX SETUP group = smsboxbearerbox-host = localhostsendsms-port = 13013global-sender = 13013sendsms-chars = "0123456789 +-"#log-file = "/tmp/smsbox.log"#log-level = 0#access-log = "/tmp/access.log" # SEND-SMS USERS group = sendsms-userusername = testerpassword = foobar#user-deny-ip = ""#user-allow-ip = &q
RE: sms send problem
Here are the logs which i get ./smsbox -v 1 smskannel.conf2005-09-11 16:13:18 [3481] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 02005-09-11 16:13:18 [3481] [0] INFO: Service global sender set as '13013'2005-09-11 16:13:18 [3481] [0] INFO: HTTP: Opening server at port 13013.2005-09-11 16:13:18 [3481] [0] INFO: Set up send sms service at port 130132005-09-11 16:13:18 [3481] [0] INFO: Connected to bearerbox at localhost port 13001.2005-09-11 16:13:27 [3481] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.12005-09-11 16:13:28 [3481] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.12005-09-11 16:13:54 [3481] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.12005-09-11 16:13:54 [3481] [3] INFO: sendsms used by tester2005-09-11 16:13:54 [3481] [3] INFO: sendsms sender:tester:13013 (127.0.0.1) to:xxxyy msg:hello2005-09-11 16:13:56 [3481] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.1 ./bearerbox -v 1 smskannel.conf2005-09-11 16:13:15 [3472] [0] INFO: Debug_lvl = 1, log_file = none, log_lvl = 02005-09-11 16:13:15 [3472] [0] WARNING: DLR: using default 'internal' for storage type.2005-09-11 16:13:15 [3472] [0] INFO: DLR using storage type: internal2005-09-11 16:13:15 [3472] [0] INFO: HTTP: Opening server at port 13000.2005-09-11 16:13:15 [3472] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100).2005-09-11 16:13:15 [3472] [0] INFO: DLR rerouting for smsc id (null) disabled.2005-09-11 16:13:15 [3472] [0] INFO: HTTP: Opening server at port 10011.2005-09-11 16:13:15 [3472] [0] INFO: HTTP[(null)]: Initiated and ready2005-09-11 16:13:15 [3472] [0] INFO: 2005-09-11 16:13:15 [3472] [0] INFO: Kannel bearerbox II version 1.4.0 starting2005-09-11 16:13:15 [3472] [0] INFO: MAIN: Start-up done, entering mainloop2005-09-11 16:13:18 [3472] [9] INFO: Client connected from 127.0.0.12005-09-11 16:13:57 [3472] [12] ERROR: Error while gw_gethostbyname occurs.2005-09-11 16:13:57 [3472] [12] ERROR: System error 1: Operation not permitted2005-09-11 16:13:57 [3472] [12] ERROR: gethostbyname failed2005-09-11 16:13:57 [3472] [12] ERROR: error connecting to server `localhost:13013' at port `13013'2005-09-11 16:13:57 [3472] [12] ERROR: Couldn't send request to http://localhost:13013?username=testerpassword=foobarto=xxxyytext=hellofrom=13013coding=0dlr-url=2005-09-11 16:13:57 [3472] [7] ERROR: HTTP[(null)]: Couldn't connect to SMS center (retrying in 10 seconds). smskannel.conf looks follows## THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL## It is run like this:## 1% gw/bearerbox gw/smskannel.conf# 2% gw/smsbox gw/smskannel.conf# 3% test/fakesmsc -p 1 -H localhost -i 1 -m 100 "123 345 text nop"## ..all 3 commands in separate shells (or screen sessions)## For any modifications to this file, see Kannel User Guide# If that does not help, send email to users@kannel.org## Kalle Marjola May 2000# Changed for new fakesmsc version by Uoti Urpala Jan 2001# Added service and sendsms for HTTP SMSC by Kalle Marjola Mar 2001#group = coreadmin-port = 13000smsbox-port = 13001admin-password = bar#status-password = foo#admin-deny-ip = ""admin-allow-ip = ""#log-file = "/tmp/kannel.log"#log-level = 0box-deny-ip = "*.*.*.*"box-allow-ip = "127.0.0.1"#unified-prefix = "+358,00358,0;+,00"#access-log = "/tmp/access.log"#store-file = "/tmp/kannel.store"#ssl-server-cert-file = "cert.pem"#ssl-server-key-file = "key.pem"#ssl-certkey-file = "mycertandprivkeyfile.pem" # SMSC CONNECTIONSgroup = smscsmsc = httpsystem-type= kannelport = 10011connect-allow-ip = 127.0.0.1smsc-username= testersmsc-password= foobarsend-url = ""http://localhost:13013">http://localhost:13013"# SMSBOX SETUPgroup = smsboxbearerbox-host = localhostsendsms-port = 13013global-sender = 13013sendsms-chars = "0123456789 +-"#log-file = "/tmp/smsbox.log"#log-level = 0#access-log = "/tmp/access.log"# SEND-SMS USERSgroup = sendsms-userusername = testerpassword = foobar#user-deny-ip = ""#user-allow-ip = ""# SERVICESgroup = sms-servicekeyword = noptext = "You asked nothing and I did it!"# there should be default alwaysgroup = sms-servicekeyword = defaulttext = "No service specified" Rene Kluwen [EMAIL PROTECTED] wrote:Did you set up an smsc connection under group = smsc in kannel.conf? Maybe it is a good idea to post your config. Rene KluwenChimit -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of john decotSent: vrijdag 9 september 2005 7:54To: users@kannel.orgSubject: sms send problem Hi all, i m first time to setting up kannel. i have used sample smskannel.conf and run the daemon. i have tried to sent sms from http. Logs show as follows: 2005-09-09 10:42:03 [3301] [3] INFO: sendsms sender:tester:13013 (127.0.0.1) to: x
Re: sms send problem
John: Hello, from your post I understand you do not have a GSM modem as SMSC, nor do you have a connection to a real SMSC. So... you cannot send and SMS as a result. This is logical. I recomend further reading as to how this type of messaging works. Am i not understanding you maybe? If so, pls post your smskannel.conf so we can be of help Greetings, Alejandro - Original Message - From: john decot [EMAIL PROTECTED] To: users@kannel.org Sent: Thu, 8 Sep 2005 23:53:52 -0600 Subject: sms send problem Hi all, i m first time to setting up kannel. i have used sample smskannel.conf and run the daemon. i have tried to sent sms from http. Logs show as follows: 2005-09-09 10:42:03 [3301] [3] INFO: sendsms sender:tester:13013 (127.0.0.1) to: xxxyy msg:hello 2005-09-09 10:42:05 [3301] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.1 2005-09-09 10:44:30 [3301] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.1 2005-09-09 10:44:31 [3301] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.1 where xxx= country code yy= mobile no. web browser shows successfully sent. But i am not getting message in my mobile. I am connected to internet only no other hardware is there. i have heard that we can send message without using mobile set gateway. what may be the problem with my kannel. Any help will be apprieciated. thanks in advance. john. - Click here to donate to the Hurricane Katrina relief effort.
sms send problem
Hi all, i mfirst timeto setting up kannel. i have used sample smskannel.conf and run the daemon. i have tried to sent sms from http. Logs show as follows: 2005-09-09 10:42:03 [3301] [3] INFO: sendsms sender:tester:13013 (127.0.0.1) to: xxxyy msg:hello2005-09-09 10:42:05 [3301] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.12005-09-09 10:44:30 [3301] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.12005-09-09 10:44:31 [3301] [3] INFO: smsbox: Got HTTP request /favicon.ico from 127.0.0.1 where xxx= country code yy= mobile no. web browser shows successfully sent. But i am not getting message in my mobile. I am connected to internet only no other hardware is there. i have heard that we can send message without using mobile set gateway. what may be the problem with my kannel. Any help will be apprieciated. thanks in advance. john. Click here to donate to the Hurricane Katrina relief effort.