Re: How to stop 'Could not fecth' error from going to mobile
Hi Khary: You can use reply-couldnotfetch configuration variable to change the message. That will not stop the message from reaching the phone, though. Maybe you can try a combination of reply-couldnotfetch = omit-empty = true as Seik suggests. I never tried it. The best way to avoid this problem is effectively fetching the content from the webserver. If you still can't get your webserver to be always available, you will need some programming to catch the error before it reaches Kannel (using a local script as an interface between Kannel and the webserver). Best regards, Rodrigo. On 8/13/07, seik [EMAIL PROTECTED] wrote: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html Table 6-8. SMS-Service Group Variables omit-empty = true cheers seik -Original Message- From: Khary Sharpe [EMAIL PROTECTED] Sent: 13 ?? 2007 ?. To: seik Subject:How to stop 'Could not fecth' error from going to mobile Hi All, Does anyone know how disable the 'Could not fech' error that is sent back to phones when Kannel fails to fetch a URL? Thanks - Khary
Re: How to stop 'Could not fecth' error from going to mobile
Hi Rodrigo, Thanks for your reply. The configuration below appears (based on the docs) to apply to the smsbox and not the sms-service, is this the case or does it apply to both? Good suggestion on running locally however, we are processing hundreds of thousand request per day and it appears that the LAMP (specifically apache) is not handling the requests that well. Placing it locally may have an impact on the kannel server which we don't want . We are going to setting up load balancing on the web server but the hardware will take sometime. I wanted an interim solution. - Khary Rodrigo Cremaschi wrote: Hi Khary: You can use reply-couldnotfetch configuration variable to change the message. That will not stop the message from reaching the phone, though. Maybe you can try a combination of reply-couldnotfetch = omit-empty = true as Seik suggests. I never tried it. The best way to avoid this problem is effectively fetching the content from the webserver. If you still can't get your webserver to be always available, you will need some programming to catch the error before it reaches Kannel (using a local script as an interface between Kannel and the webserver). Best regards, Rodrigo. On 8/13/07, seik [EMAIL PROTECTED] wrote: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html Table 6-8. SMS-Service Group Variables omit-empty = true cheers seik -Original Message- From: Khary Sharpe [EMAIL PROTECTED] Sent: 13 ?? 2007 ?. To: seik Subject:How to stop 'Could not fecth' error from going to mobile Hi All, Does anyone know how disable the 'Could not fech' error that is sent back to phones when Kannel fails to fetch a URL? Thanks - Khary
Re: Is it possible to set the outgoing Kannel port?
Cyrus, That's pretty strange. I don't know of any config files to set that. Furthermore, it's quite unpractical, since it's the undelying OS the one setting the ports. Even if you were able to set a port, there's no guarantee from the OS that the specified port will even be available when kannel tries to allocate it. Maybe reserving a 1024 port, but even then you have to be careful. Even then, Kannel will use one port for each connection established, so you'll have as many ports as connections. Anyway, are you absolutely sure about the requirement? Doesn't seem reasonable IMHO. Kannel is a _client_, so it will first connect to a given SMPP port on the SMSC and then the underlying OS will set a different local port for each connection. Maybe you can hack some solution by using stunnel, iptables or maybe a tcp proxy capable of mangling packets and ports. I'm not sure if it's possible, though, the VPN in the middle will add extra complexity also. IMHO any firewall issues on the SMSC side could and should be worked out at their side. Hope it helps. Alejandro On 8/13/07, Cyrus Patel [EMAIL PROTECTED] wrote: Hello, We are trying to use Kannel to connect to a SMSC over a VPN. We are having a problem because the SMSC's firewall engineers want our Kannel client to always connect using the same outgoing port each time (as opposed to randomly selecting a port as usual). Is it possible to set this in the kannel config file? Thanks, Cyrus *Cyrus Patel*** *Senior Software Engineer* *Seeker Wireless*** * * *TEL: +61 2 9499 9848* *FAX: +61 2 9499 9845* *MOB: +61 413 685 795*** [EMAIL PROTECTED] * * *Seeker Wireless Pty. Ltd., ABN 95 106 550 805. This electronic mail includes information from Seeker Wireless Pty Ltd which may be privileged or confidential. This information is for the use of the individual(s) or entity named in the greeting above. If you are not the intended recipient please be aware that any use of this information is prohibited. If you have received this electronic mail in error, please notify the sender (above) by return email**.*** No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.15/949 - Release Date: 12/08/2007 11:03 -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri
Re: Cingular 8125 GSM Cellphone or other ATT GSM cellphones and Kannel.
Michael, I have a Cingular 8525 with the latest ATT firmware installed. I'm not sure how similar to your device is, but maybe this helps you. There's a program called Internet Sharing that it should be used to connect to the device. Previous firmware had a setting for that, I don't remember the name though. I didn't tried (yet) to connect to kannel with this device, but I'd start checking that. I'd also check setting extra BT ports from the BT configuration menu. Hope it helps. Alejandro On 8/13/07, Michael Habashy [EMAIL PROTECTED] wrote: On 8/11/07, Michael Habashy [EMAIL PROTECTED] wrote: On 8/11/07, Essien Ita Essien [EMAIL PROTECTED] wrote: Michael Habashy wrote: On 8/10/07, *Essien Ita Essien* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Michael Habashy wrote: Has anyone gotten a cingular 8125 wireless cellphone to work with Kannel? If so, can you provide an easy config for me to follow? If you got another Att cellphone to work with Kannel to send and recieve sms text messeges - that would be great as well. I am having a hard time having it open devices: usbdev2.5_ep00 usbdev2.5_ep03 usbdev2.5_ep81 usbdev2.5_ep82 i've not worked with the Cingular phones or ATT, but i've used a GSM modem over USB to connect to Kannel. I'm using ArchLinux and I had to first modprobe the Serial over USB kernel driver. Its called 'ftdi_sio' # modprobe ftdi_sio Should do the trick and you should get /dev/ttyUSB0, etc, assuming that its a serial over USB protocol that will be used by the phone. Cheers, Essien it has been a long struggle. thanks mjh i got this returned in dmesg file usbcore: registered new driver usbserial drivers/usb/serial/usb-serial.c: USB Serial support registered for generic usbcore: registered new driver usbserial_generic drivers/usb/serial/usb- serial.c: USB Serial Driver core drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device usbcore: registered new driver ftdi_sio drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver usb 1-8: USB disconnect, address 5 usb 1-8: new full speed USB device using ohci_hcd and address 6 usb 1-8: configuration #1 chosen from 1 choice first... i load the driver 'modprobe ftdi_sio' then i connect my usb gsm modem. And i get: usb 1-1: new full speed USB device using ohci_hcd and address 2 usb 1-1: configuration #1 chosen from 1 choice ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected drivers/usb/serial/ftdi_sio.c: Detected FT8U232AM usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0 kernel 2.6.22 on ArchLinux. It looks like it loaded fine... rider:~# lsmod |grep usb usbserial 39152 1 ftdi_sio hci_usb22812 2 bluetooth 61572 7 rfcomm,l2cap,hci_usb usb_storage87616 1 scsi_mod 153008 3 sd_mod,libata,usb_storage ide_core 147584 5 ide_generic,ide_cd,usb_storage,generic,amd74xx But nothing has shown up under the /dev/ directory...driving me nuts Should it say what it is ?? where would it say it??? weird. unless its not a serial over usb device then. But which distro are you using? cheers, Essien thanks mjh I am using Debian 4.0 ...the latest and greatest. I did a modprobe on usb-serial and ftdi_sio and they both load great...after loading what am i suppose to see? Should it say ttyUSB0 device ready or somehting like that ? The strange thing is that i have a bluetooth dongle --that is in one of th usb ports..and that works ..b/c i am able to hook it up to my phone. I am further able to connect to it with rfcomm. It looks like i can take the modem off the hook..but I am at a dead end there..because i can not reference the device in Kannel. my dmesg looks like this: drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device usbcore: registered new driver ftdi_sio drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver and my lsusb looks like this: Bus 002 Device 003: ID 0bb4:0bce High Tech Computer Corp. Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 002 Device 001: ID : Bus 001 Device 004: ID 0d49:5020 Maxtor Bus 001 Device 001: ID : and my lsmod looks like this: usbserial 39152 1 ftdi_sio hci_usb22812 2 bluetooth 61572 7 rfcomm,l2cap,hci_usb usb_storage87616 1 scsi_mod
Re: DLR Kannel but SMSC send DLR using standard incoming SMS
Ady, From what I understand, you send a message and gets loaded on the dlr table, but when the dlr comes back (it comes back, right) kannel does not recognize it and the dlr stays forever on the table? Or, kannel recognizes it but doesn't hit dlr-url? First of all, check the logs and make sure wich case is yours, maybe something's wrong on the conf files (there's a setting for the format on the message_id, for example, some SMSC return in hex, some in decimal and that could be confusing the dlr engine). Also make sure that you are sending the dlr-url urlencoded. If you want to paste some relevant log entries we could take a look at it. Regards, Alejandro On 8/12/07, Ady Wicaksono [EMAIL PROTECTED] wrote: I think we have a little missunderstanding :) the problem is dlr-url is not working :) if when DLR comes and kannel could detect it then it should be hit dlr-url right? the problem is, kannel never hit dlr-url I defined when doing submit SMS On 8/13/07, Alejandro Guerrieri [EMAIL PROTECTED] wrote: Ady, Have you really _read_ the docs? Think about a little, what purpose could have a dlr engine if you cannot have a mean to identify each particular message? The %d parameter carries the message id, so you can identify the delivery when it gets back. Pass the %d parameter on the dlr-url, and it will get back with the message id when the dlr is updated. Regards, Alejandro On 8/12/07, Ady Wicaksono [EMAIL PROTECTED] wrote: Hi Alejandro The problem is not on delivery report value itself. The problem is, I need to know which message is delivered, or undelivered I send SMS A (submit_sm) -- to kannel HTTP Service only got status Accepted for delivery. By common case, kannel will maintain SMSC, one kannel found DLR it will generate HTTP request as defined by me when doing submit_sm. But it's not happening, SMSC send standard incoming SMS without informing that this SMS is delivery report, but I know the format is DLR. Kannel NEVER generate HTTP request to my delivery report handler. On 8/12/07, Alejandro Guerrieri [EMAIL PROTECTED] wrote: Ady, Check the user guide for the %d parameter, it's what you're looking for. Regards, Alejandro On 8/12/07, Ady Wicaksono [EMAIL PROTECTED] wrote: I have one SMSC connection and already setup DLR for kannel. I use DLR-MySQL with configuration like this --- cut here - group = dlr-db id = mydlr table = t_kannel_dlr field-smsc = smsc field-timestamp = timestamp field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc --- cut here - Anytime I send SMS I use HTTP Request like this: GET /sendsms?dlr-mask=31username=kakek01password=xto=somenumbertext=sometextfrom=senderdlr-url=somedlr-url HTTP/1.0 However, delivery report comes to me as standard incoming SMS and hit my default SMS handler like this like this GET /smshandler/reg_sms_bulksms.php?msisdn=0sms=id%3A1267572+sub%3A000+dlvrd%3A0 00+submit+date%3A0708110516+done+date%3A0708110516+stat%3ADELIVRD+err%3A00+text%3AGW290+MCC%3D505+MNC%3D3+BillingMNC%3D3trx_ date=2007-08-11+18:02:34dest=someMSISDN HTTP/1.1 or something like this in kannel access msg:134: id:1322900 sub:000 dlvrd:000 submit date:0708110218 done date:0708110218 stat:DELIVRD err:00 text:GW290 MCC=505 MNC=11 BillingMNC=11 My Question is, can I save id 1322900 while doing submit_sm so one day SMSC give me DLR using standard incoming sms I could detect this DLR and process to update my SMS data? Or any other way for this case? -- Regards, Ady Wicaksono Email: ady.wicaksono at gmail.com http://adywicaksono.wordpress.com/ -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri -- Regards, Ady Wicaksono Email: ady.wicaksono at gmail.com http://adywicaksono.wordpress.com/ -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri -- Regards, Ady Wicaksono Email: ady.wicaksono at gmail.com http://adywicaksono.wordpress.com/ -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri
Re: Cingular 8125 GSM Cellphone or other ATT GSM cellphones and Kannel.
Thanks Alejandro - Have you tried other phones I am not trying to use the internet with the phone - just the capability to send sms text messeges from kannel through the phone. Will you try that phone with kannel? please let me know how you make out. I will check the BT connect. But do you know any of the AT commands for cingular or att phones thanks mjh On 8/14/07, Alejandro Guerrieri [EMAIL PROTECTED] wrote: Michael, I have a Cingular 8525 with the latest ATT firmware installed. I'm not sure how similar to your device is, but maybe this helps you. There's a program called Internet Sharing that it should be used to connect to the device. Previous firmware had a setting for that, I don't remember the name though. I didn't tried (yet) to connect to kannel with this device, but I'd start checking that. I'd also check setting extra BT ports from the BT configuration menu. Hope it helps. Alejandro On 8/13/07, Michael Habashy [EMAIL PROTECTED] wrote: On 8/11/07, Michael Habashy [EMAIL PROTECTED] wrote: On 8/11/07, Essien Ita Essien [EMAIL PROTECTED] wrote: Michael Habashy wrote: On 8/10/07, *Essien Ita Essien* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Michael Habashy wrote: Has anyone gotten a cingular 8125 wireless cellphone to work with Kannel? If so, can you provide an easy config for me to follow? If you got another Att cellphone to work with Kannel to send and recieve sms text messeges - that would be great as well. I am having a hard time having it open devices: usbdev2.5_ep00 usbdev2.5_ep03 usbdev2.5_ep81 usbdev2.5_ep82 i've not worked with the Cingular phones or ATT, but i've used a GSM modem over USB to connect to Kannel. I'm using ArchLinux and I had to first modprobe the Serial over USB kernel driver. Its called 'ftdi_sio' # modprobe ftdi_sio Should do the trick and you should get /dev/ttyUSB0, etc, assuming that its a serial over USB protocol that will be used by the phone. Cheers, Essien it has been a long struggle. thanks mjh i got this returned in dmesg file usbcore: registered new driver usbserial drivers/usb/serial/usb-serial.c: USB Serial support registered for generic usbcore: registered new driver usbserial_generic drivers/usb/serial/usb- serial.c: USB Serial Driver core drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device usbcore: registered new driver ftdi_sio drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver usb 1-8: USB disconnect, address 5 usb 1-8: new full speed USB device using ohci_hcd and address 6 usb 1-8: configuration #1 chosen from 1 choice first... i load the driver 'modprobe ftdi_sio' then i connect my usb gsm modem. And i get: usb 1-1: new full speed USB device using ohci_hcd and address 2 usb 1-1: configuration #1 chosen from 1 choice ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected drivers/usb/serial/ftdi_sio.c: Detected FT8U232AM usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0 kernel 2.6.22 on ArchLinux. It looks like it loaded fine... rider:~# lsmod |grep usb usbserial 39152 1 ftdi_sio hci_usb22812 2 bluetooth 61572 7 rfcomm,l2cap,hci_usb usb_storage87616 1 scsi_mod 153008 3 sd_mod,libata,usb_storage ide_core 147584 5 ide_generic,ide_cd,usb_storage,generic,amd74xx But nothing has shown up under the /dev/ directory...driving me nuts Should it say what it is ?? where would it say it??? weird. unless its not a serial over usb device then. But which distro are you using? cheers, Essien thanks mjh I am using Debian 4.0 ...the latest and greatest. I did a modprobe on usb-serial and ftdi_sio and they both load great...after loading what am i suppose to see? Should it say ttyUSB0 device ready or somehting like that ? The strange thing is that i have a bluetooth dongle --that is in one of th usb ports..and that works ..b/c i am able to hook it up to my phone. I am further able to connect to it with rfcomm. It looks like i can take the modem off the hook..but I am at a dead end there..because i can not reference the device in Kannel. my dmesg looks like this: drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device usbcore: registered new driver ftdi_sio
Re: Cingular 8125 GSM Cellphone or other ATT GSM cellphones and Kannel.
Michael, Theoretically, it should accept regular AT commands (never tried yet). I'll try it when I have a minute and post the results. I've tried with many other phones, with mixed results. I've used a Siemens C60, Motorola C385 and V3 with good results (only testing and proof of concept, never used it in real applications since we have SMPP connections with carriers to do that). I've also used a Nokia 3660 over BT, but had some problems with the rfcomm link. In short, AT module on kannel works fine with many phones and modems. I'd go for the GSM modem road if I were to setup a service over modems, though. Hope it helps, Alejandro. On 8/14/07, Michael Habashy [EMAIL PROTECTED] wrote: Thanks Alejandro - Have you tried other phones I am not trying to use the internet with the phone - just the capability to send sms text messeges from kannel through the phone. Will you try that phone with kannel? please let me know how you make out. I will check the BT connect. But do you know any of the AT commands for cingular or att phones thanks mjh On 8/14/07, Alejandro Guerrieri [EMAIL PROTECTED] wrote: Michael, I have a Cingular 8525 with the latest ATT firmware installed. I'm not sure how similar to your device is, but maybe this helps you. There's a program called Internet Sharing that it should be used to connect to the device. Previous firmware had a setting for that, I don't remember the name though. I didn't tried (yet) to connect to kannel with this device, but I'd start checking that. I'd also check setting extra BT ports from the BT configuration menu. Hope it helps. Alejandro On 8/13/07, Michael Habashy [EMAIL PROTECTED] wrote: On 8/11/07, Michael Habashy [EMAIL PROTECTED] wrote: On 8/11/07, Essien Ita Essien [EMAIL PROTECTED] wrote: Michael Habashy wrote: On 8/10/07, *Essien Ita Essien* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Michael Habashy wrote: Has anyone gotten a cingular 8125 wireless cellphone to work with Kannel? If so, can you provide an easy config for me to follow? If you got another Att cellphone to work with Kannel to send and recieve sms text messeges - that would be great as well. I am having a hard time having it open devices: usbdev2.5_ep00 usbdev2.5_ep03 usbdev2.5_ep81 usbdev2.5_ep82 i've not worked with the Cingular phones or ATT, but i've used a GSM modem over USB to connect to Kannel. I'm using ArchLinux and I had to first modprobe the Serial over USB kernel driver. Its called 'ftdi_sio' # modprobe ftdi_sio Should do the trick and you should get /dev/ttyUSB0, etc, assuming that its a serial over USB protocol that will be used by the phone. Cheers, Essien it has been a long struggle. thanks mjh i got this returned in dmesg file usbcore: registered new driver usbserial drivers/usb/serial/usb-serial.c: USB Serial support registered for generic usbcore: registered new driver usbserial_generic drivers/usb/serial/usb- serial.c: USB Serial Driver core drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device usbcore: registered new driver ftdi_sio drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver usb 1-8: USB disconnect, address 5 usb 1-8: new full speed USB device using ohci_hcd and address 6 usb 1-8: configuration #1 chosen from 1 choice first... i load the driver 'modprobe ftdi_sio' then i connect my usb gsm modem. And i get: usb 1-1: new full speed USB device using ohci_hcd and address 2 usb 1-1: configuration #1 chosen from 1 choice ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected drivers/usb/serial/ftdi_sio.c: Detected FT8U232AM usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0 kernel 2.6.22 on ArchLinux. It looks like it loaded fine... rider:~# lsmod |grep usb usbserial 39152 1 ftdi_sio hci_usb22812 2 bluetooth 61572 7 rfcomm,l2cap,hci_usb usb_storage87616 1 scsi_mod 153008 3 sd_mod,libata,usb_storage ide_core 147584 5 ide_generic,ide_cd,usb_storage,generic,amd74xx But nothing has shown up under the /dev/ directory...driving me nuts Should it say what it is ?? where would it say it??? weird. unless its not a serial over usb device then. But which distro are you using?
smsc-id forwarding between several kannels
Hi What I want to have is: The message commes to the kannel network in kannel1 with smsc = 1, it forwadrs the message to a 3rd kannel smsc, through a 2nd kannel but want to have kannel 3 know that the message entered into the system through kannel1/smsc1 and not from kannel2/smsc2 that is the smsc that delivered the message to kannel3/smsc3 sms -- [Kannel SMSC id 1] -- [Kannel SMSC id 2] -- [Kannel SMSC id 3] As per the user guide, I'm supposed to use %i or %I (What is the difference?) but in my tests, kannel3/smsc3 always receve the smsc origin as kannel2/smsc2 instead of kannel1/smsc1. Regards Alvaro
Response to SMSC HTTP MO Message
Hi ALL I use HTTP SMSC connection to a carrier. The carrier does not support push MT hence I do not have valid send-url in my configuration. The Carrier requires I send only one MT with an MO to reply to an incoming MO. I must respond back to the MT as the body of their get Http of request. But I don't know how to achieve this in kannel. Presently, kannel send the message Sent. back as MT for each MO. I don't know where in kannel to change the default text Sent to the message I want to send back. Thanks for your assistance. Ismail kannel 1.4.0 group = smsc smsc = http smsc-id = abchttp system-type = kannel smsc-username = * smsc-password = * port = 80014 send-url = http://localhost; preferred-smsc-id = abchttp allowed-smsc-id = abchttp
Can not send sms frm kannel
Hello all, I am very new to kannel. I have mnaged to configure the kannel gateway over my secure VPN connections. Thanks for all your help. now i have a different problem. i am starting kannel (bearerbox) and it is connecting to the server (SMSC) as well. i am starting the smsbox and it shows that it gets connected to the bearerbox also. but when i try sending SMS nothing happens. i have a confusion. i know that sendsms needs to be accessed to send SMS. now, i have placed one copy of sendsms from /root/kanel/gateway- 1.4.1/contrib/ to one of my domain's cgi-bin directory(I did not find the file anywhere else so i guess it remains there only). kannel doc tell me that by default kannel expect the sendsms to be in this path /cgi-bin/sendsms. i do not have a cgi-bin directory in my root (/ i guess stands for root in linux) so i had no way but to put it in this directory. now, i am trying to use the php based admin that comes with kannel . i have configured the config.inc also. (both my kannel.conf and config.inc are given here) but, nothing happens when i put a number and press send. no log is shown (i run kannel with -v 1 option) and also msg is not delivered. i fell in another confusion when i saw in the doc it writen http://smsbox.host.name:13013/cgi-bin/sendsms http://smsbox.host.name:13013/cgi-bin/sendsms?sername=foopassword=barto=0 123456text=Hello+world ?sername=foopassword=barto=0123456text=Hello+world will send a msg. what is meant here by smsbox.host.name what value should be here according the senario i described? i am puzzled. can anybody please advise. i have tried to figure out by reading the doc. but i am puzzled..can anybody share with me practical experience regarding this? Thanks in advance. Amr Qanadilo
Re: Can not send sms frm kannel
Amr, You're confusing things. Kannel creates a virtual file /cgi-bin/sendsms that has nothing to do with your regular web server (that listens on port 80, while kannel listens on the port you've configured on the kannel.conf file). You won't find the sendsms file anywhere in your path, but if you access the uri: http://myhost:myport/cgi-bin/sendsms (Assuming that you use localhost or your host IP if you're accessing from another machine for myhost and the port configured on kannel.conf on myport) You'll get a response from kannel. This is what the docs call the sendsms interface. BTW, Kannel should NOT be placed in any web-accesible path. It's composed of a group of daemons/services that should run using an unprivileged user and out of web space. Please read the docs again if not sure. Hope it helps, Alejandro On 8/14/07, Amr Qanadilo //AMC// [EMAIL PROTECTED] wrote: Hello all, I am very new to kannel. I have mnaged to configure the kannel gateway over my secure VPN connections. Thanks for all your help. now i have a different problem. i am starting kannel (bearerbox) and it is connecting to the server (SMSC) as well. i am starting the smsbox and it shows that it gets connected to the bearerbox also. but when i try sending SMS nothing happens. i have a confusion. i know that sendsms needs to be accessed to send SMS. now, i have placed one copy of sendsms from /root/kanel/gateway- 1.4.1/contrib/ to one of my domain's cgi-bin directory(I did not find the file anywhere else so i guess it remains there only). kannel doc tell me that by default kannel expect the sendsms to be in this path /cgi-bin/sendsms. i do not have a cgi-bin directory in my root (/ i guess stands for root in linux) so i had no way but to put it in this directory. now, i am trying to use the php based admin that comes with kannel . i have configured the config.inc also. (both my kannel.conf and config.inc are given here) but, nothing happens when i put a number and press send. no log is shown (i run kannel with -v 1 option) and also msg is not delivered. i fell in another confusion when i saw in the doc it writen http://smsbox.host.name:13013/cgi-bin/sendsms ?sername=foopassword=barto=0123456text=Hello+world will send a msg. what is meant here by smsbox.host.name what value should be here according the senario i described? i am puzzled. can anybody please advise. i have tried to figure out by reading the doc. but i am puzzled..can anybody share with me practical experience regarding this? Thanks in advance. Amr Qanadilo -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri