kannel with newsyslog

2007-04-19 Thread Iain Dooley
hi all, freebsd has this thing called newsyslog (not sure what the linux equivalent is) which rotates your log files when they reach a certain size. i'm finding that, once a log file has been rotated, the new log file is always empty. it would appear that kannel doesn't like the rotation, per

Re: System error 54 during DLR

2007-04-19 Thread Iain Dooley
hi stipe, i'm still periodically getting these messages: 2007-04-15 19:07:51 [52529] [9] ERROR: Error reading from fd 28: 2007-04-15 19:07:51 [52529] [9] ERROR: System error 54: Connection reset by peer when processing dlr's. it's intermittent and occurs sometimes with very very low traffic. i

RE: kannel with newsyslog

2007-04-19 Thread Raul Igrisan
Kannel reopens the log files when it receives SIGHUP. -Original Message- From: Iain Dooley [mailto:[EMAIL PROTECTED] Sent: 19 April 2007 08:18 To: users@kannel.org Subject: kannel with newsyslog hi all, freebsd has this thing called newsyslog (not sure what the linux equivalent is) wh

Re: System error 54 during DLR

2007-04-19 Thread Iain Dooley
hi stipe i'm still periodically getting these messages: 2007-04-15 19:07:51 [52529] [9] ERROR: Error reading from fd 28: 2007-04-15 19:07:51 [52529] [9] ERROR: System error 54: Connection reset by peer when processing dlr's. it's intermittent and occurs sometimes with very very low traffic. it

full sent message in dlr...

2007-04-19 Thread tushar
Hi, Can anyone tell me how to receive full sent message from the dlr. I am getting dlrs but in that the message is only 20 bytes., I want to receive full message in the dlr? How to do it? Thanks in advance, Tuhsar

Re: full sent message in dlr...

2007-04-19 Thread Ben Suffolk
Tushar, What's in the DLR message wise actually depends on your provider. On some of my connections the DLR actually contains none of the original message. What you need to do is specify a custom dlr-url when you submit a message, this would contain an id for the message you sent, then wh

how to send sms using kannel

2007-04-19 Thread arputharaj
Hi, Wish you all great success. I am new to kannel. Just I have downloaded and compiled the gateway1.4.1., with the help of userguide I'm able to understand little bit about kannel. But I am not clear how to use the kannel to send sms via internet with out the GSM modem. Since we are getti

RE: how to send sms using kannel

2007-04-19 Thread Raul Igrisan
Read chapter 6 in Kannel user's guide. You need to connect to a GSM gateway (GSM modem, mobile phone, SMPP provider, etc) in order to send the message to mobile. _ From: arputharaj [mailto:[EMAIL PROTECTED] Sent: 18 April 2007 13:39 To: users@kannel.org Subject: how to send sms using

Re: full sent message in dlr...

2007-04-19 Thread Ben Suffolk
Tushar, Thats because the ID you are getting is the ID of the DLR its self. There is no way to get the id of the original message. You must provide your own ID into the dlr-url field when you submit a message. Regards Ben But in dlr-url which I m receiving…. I get different sms ids for

Re: full sent message in dlr...

2007-04-19 Thread Ben Suffolk
Tushar, Please keep the list copied in, other people can't offer any help if you don't ask them as well. When you send a message, make an ID up, either use a UUID or keep a rolling number that you increment each time you send a message. Append this to your dlr-url when you submit the mess

Re: Getting real IP address of the handset

2007-04-19 Thread Stipe Tolj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Davor, Davor Spasoski wrote: > I started testing the WAP gateway. My problem is that I cannot get the IP > address of the mobile handset by invoking any of the following http headers: > > $_SERVER["HTTP_CLIENT_IP"] > > $_SERVER["REMOTE_ADDR"];

Re: Getting real IP address of the handset

2007-04-19 Thread Iain Dooley
Hi Davor, Davor Spasoski wrote: I started testing the WAP gateway. My problem is that I cannot get the IP address of the mobile handset by invoking any of the following http headers: $_SERVER["HTTP_CLIENT_IP"] $_SERVER["REMOTE_ADDR"]; ok, these are obviously PHP code segments you use here

Fw: kannel with newsyslog

2007-04-19 Thread Mihai Zsigmond
- Original Message - From: "Mihai Zsigmond" <[EMAIL PROTECTED]> To: Sent: Thursday, April 19, 2007 3:24 PM Subject: Re: kannel with newsyslog Hi Ian, The equivalent on Fedora is logrotate, but also it doesn't work with kannel. I use following trick: copy the log file to some othe

Re: Any ideas why we can't bind

2007-04-19 Thread Alejandro Guerrieri
"Bind Failed" may be a connectivity problem. Most carriers use all sorts of firewalls, ids and packet filters to keep their networks safe. That also means that your connectivity depends on someone opening those ports to you. Check with the carrier if their setup it's ok (of course first check _y

Re: [OT] I want to give you traffic!

2007-04-19 Thread Juan Nin
Ben Suffolk wrote: Now, that's reasonable... I'll drop it to the org@ list for a decission concensus. I'm +1 on it. Any idea for the "name"? [EMAIL PROTECTED] ? Why not just [EMAIL PROTECTED] Ben yep, I was going to propose the same one, I think it's more intuitive just that you had a typo

reply-to address

2007-04-19 Thread Iain Dooley
hi all, i don't know about anyone else but i would prefer if the reply-to address for this list was [EMAIL PROTECTED] i accidentally send messages to the original sender quite a bit ... anyone else? cheers iain

RE: kannel with newsyslog

2007-04-19 Thread Iain Dooley
No you don't have to restart Kannel. You just have to instruct newsyslog to send SIGHUP to Kannel when it rotates the logs. ah okay, i just passed --pid-file /var/run/kannel.pid and then included this in newsyslog.conf. from man newsyslog: pid_file This optional field specifies a file cont

Re: reply-to address

2007-04-19 Thread Alex Kinch
+1 from me. On 4/19/07, Iain Dooley <[EMAIL PROTECTED]> wrote: hi all, i don't know about anyone else but i would prefer if the reply-to address for this list was [EMAIL PROTECTED] i accidentally send messages to the original sender quite a bit ... anyone else? cheers iain

Re: Getting real IP address of the handset

2007-04-19 Thread Juan Nin
Stipe Tolj wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Davor, Davor Spasoski wrote: I started testing the WAP gateway. My problem is that I cannot get the IP address of the mobile handset by invoking any of the following http headers: $_SERVER["HTTP_CLIENT_IP"] $_SERVER["REMO

HELP: Can't alocate Memory with wavecom DLR

2007-04-19 Thread Ade Mahfud
Hi, All Right now I'm using kannel with latest CVS running on Fedora Core 6. Testing with kannel using wavecom fasttrack 1306B as virtual SMSC. It is running fine when I'm sending sms without asking DLR with this command links -dump "http://127.0.0.1:13013/cgi-bin/sendsms?username=XXX&password=

Re: reply-to address

2007-04-19 Thread Alejandro Guerrieri
Yep, I agree, each time I must remember to replace the sender. Regards, Alejandro On 4/19/07, Iain Dooley <[EMAIL PROTECTED]> wrote: hi all, i don't know about anyone else but i would prefer if the reply-to address for this list was [EMAIL PROTECTED] i accidentally send messages to the origina

Re: reply-to address

2007-04-19 Thread Ben Suffolk
I'm more than happy to go along with this if it makes it easier for people, but I'm surprised you guys don't have a reply to all button in your email software. I thought that kind of thing was pretty standard. Regards Ben On 19 Apr 2007, at 19:43, Alejandro Guerrieri wrote: Yep, I agree

Re: reply-to address

2007-04-19 Thread Alejandro Guerrieri
Ben, Of course we have, but take into account: 1. Why should I want to waste bandwidth and hit the original poster with two exact versions of the same message? 2. Many mail clients (AKA Gmail) have a Reply To All button accesible only under a menu, so I must make 2 clicks instead of one, so it's

Re: reply-to address

2007-04-19 Thread Ben Suffolk
Alejandro, Unless the maillist is being very dumb it will maintain the same message id for the email it sends out as came in. Thus it will be de- duplicated by your mail server , so there will be no hitting of the user with the same message twice. Did you get my message twice? if not then

Strange probem with White/Black list errors

2007-04-19 Thread Alejandro Guerrieri
Hi, We are having a rather strange problem with a server under heavy traffic (though no load problems so far). We started noticing this error showing up on the logs: 2007-04-18 07:25:30 send-SMS request failed - Number(s) has/have been denied by white- and/or black-lists. Though no white and/o

Re: reply-to address

2007-04-19 Thread Alejandro Guerrieri
Ben, I'm also a _very_ happy Mac User (my wife and friends are already tired of my "what a wonderful piece of hardware" comments) ;) Many people uses a free webmail service for mailing lists and other "non-work" stuff. Many because corporate policies doesn't allow them to use their corporate ema

Re: reply-to address

2007-04-19 Thread Alejandro Guerrieri
BTW, gmail does the de-duping stuff fine, and if not, they would be kept on the same thread, (other of the main reasons why I use gmail for lists: the way it groups "conversations" rocks!). Regards, Alejandro On 4/19/07, Ben Suffolk <[EMAIL PROTECTED]> wrote: Alejandro, Unless the maillist is

Re: reply-to address

2007-04-19 Thread Steve Kennedy
On Thu, Apr 19, 2007 at 03:43:10PM -0300, Alejandro Guerrieri wrote: > Yep, I agree, each time I must remember to replace the sender. Reply-to: lists are just wrong. If you want to reply to the list, you should, if you want to reply to the sender, that's what you should do. Sensible mailers lik

Re: HELP: Can't alocate Memory with wavecom DLR

2007-04-19 Thread Stipe Tolj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ade Mahfud wrote: > > Hi, All > > Right now I'm using kannel with latest CVS running on Fedora Core 6. > Testing with kannel using wavecom fasttrack 1306B as virtual SMSC. > It is running fine when I'm sending sms without asking DLR with this command

Re: reply-to address

2007-04-19 Thread Iain Dooley
I'm more than happy to go along with this if it makes it easier for people, but I'm surprised you guys don't have a reply to all button in your email software. I thought that kind of thing was pretty standard. i do, but then the person who sent the message will receive the email twice. and f

Re: reply-to address

2007-04-19 Thread Iain Dooley
I'm also a _very_ happy Mac User (my wife and friends are already tired of my "what a wonderful piece of hardware" comments) ;) Many people uses a free webmail service for mailing lists and other "non-work" stuff. Many because corporate policies doesn't allow them to use their corporate email f

Re: reply-to address

2007-04-19 Thread Iain Dooley
Yep, I agree, each time I must remember to replace the sender. Reply-to: lists are just wrong. If you want to reply to the list, you should, if you want to reply to the sender, that's what you should do. it's incredibly rare that someone wants to reply to the sender only Sensible mailers

General Error using GSM Modem

2007-04-19 Thread Romulo Gomez
Hi! Im using WaveCom GSM modem to send/received messages and notice that i am having a General Error message on the log as seen below but the message to the recipient is received on the phone. im using the sendsms facility to send message. How should i resolve this error? Thanks! 2007-04-20

how to send sms using kannel

2007-04-19 Thread rarputham
hi, Thanks for your reply. I tried using procedure (available in the user guide) for TCP/IP i.e. smsc group as emi. But we are using proxy server to connect with internet.So that proxy IP is like 10.2.1.1 and the port is 3128 but I found a response in smsbox terminal as connection failed.

Re: how to send sms using kannel

2007-04-19 Thread Iain Dooley
Thanks for your reply. I tried using procedure (available in the user guide) for TCP/IP i.e. smsc group as emi. But we are using proxy server to connect with internet.So that proxy IP is like 10.2.1.1 and the port is 3128 but I found a response in smsbox terminal as connection failed. Eith

RE: HELP: Can't alocate Memory with wavecom DLR

2007-04-19 Thread Ade Mahfud
Hi, Thanks for the quick response. This panic occurred after sending just 1 SMS with one DLR. I've tested compiled kannel using --with-malloc while configuring. The result is kannel just HANG(it can't received or delivered message anymore). Thanks, Ade -Original Message- From: [EMAIL P

RE: Getting real IP address of the handset

2007-04-19 Thread Davor Spasoski
Thank you Stipe, Yes, that's the header, however it only gives the IP address of the firewall, as it is masquerading the private IP addresses of the handset. I was told by the operator that they include the "IP address in the cookie headers appended by Ericsson MIEP (some proxy) to any cookie of t

RE: Getting real IP address of the handset

2007-04-19 Thread Davor Spasoski
Hi Juan, Thank you for your proposal. I tried it, but the firewall is doing masquerading and I can't get the real IP address. I was told that a proxy server called MIAP is appending some cookie headers to any cookie of the HTTP server. The ip address is contained there. I don't really know what th