How to force the reply of an sms-service to go through a specified smsc on some conditions

2011-01-18 Thread Tshimanga Minkoka
Dear Kannel users, How can I force the reply of an sms-service to go through a specified smsc on some conditions? Basically I have a configuration with: 1 bearerbox 2 smsc smpp connections to 2 different SMSCs 1 smsbox 1 sendsms-user 1 sms-service The sms-service group receives all the traffic

Re: Why does Kannel not use sar_total_segments and sar_segment_seqnum when sending concatenated sms?

2011-01-18 Thread brett skinner
Hi guys. Does anyone have an ideas to my question below? Thanks, On Thu, Jan 13, 2011 at 11:35 AM, brett skinner wrote: > Hi > > I was looking through the logs and saw that Kannel sends concatenated SMSs > using UDH in the Short Message fields. From reading the SMPP spec I was > under the impre

Re: Why does Kannel not use sar_total_segments and sar_segment_seqnum when sending concatenated sms?

2011-01-18 Thread Alejandro Guerrieri
It's not implemented afaik. Only the UDH method is supported. Regards, Alex On Tue, Jan 18, 2011 at 10:47 AM, brett skinner wrote: > Hi guys. > > Does anyone have an ideas to my question below? > > Thanks, > > > On Thu, Jan 13, 2011 at 11:35 AM, brett skinner > wrote: > >> Hi >> >> I was looki

Re: Why does Kannel not use sar_total_segments and sar_segment_seqnum when sending concatenated sms?

2011-01-18 Thread Alejandro Guerrieri
It means that Kannel doesn't have the ability to re-assemble messages using the sar method. I'm not sure about how extensively used is this method among the carriers, I so far only encountered one case. Regards, Alex On Tue, Jan 18, 2011 at 11:08 AM, brett skinner wrote: > Do you mean as far as

ERROR: Couldn't fetch dlr-url

2011-01-18 Thread Kazi M
http://old.nabble.com/file/p30699861/smskannel.conf smskannel.conf http://old.nabble.com/file/p30699861/smsbox.log smsbox.log http://old.nabble.com/file/p30699861/kannel.log kannel.log Hello Team, I m using Kannel 1.4.3 with mysql 4.2 ... I compiled kannel with mysql succesfully and ha

Re: How to force the reply of an sms-service to go through a specified smsc on some conditions

2011-01-18 Thread Alvaro Cornejo
Kannel can not doit by itself. You should have an app that, after validate the conditions you set for the routing send the message back to kannel with the appropiate routing infomation. You just need to add &smsc=Your_smsc_id where your_smsc_id id the ID of the smsc where you need to send the MT

Re: ERROR: Couldn't fetch dlr-url

2011-01-18 Thread Alvaro Cornejo
Your dlr-url should point to where your dlr.php script is. Obviously, as you are calling a php script it must be serviced by a web server so the php script should be placed in a folder accessible and executable by your web server. In your example: http%3A%2F%2Flocalhost%2Fdlr.php%3Fsmsc means

RE: How to force the reply of an sms-service to go through a specified smsc on some conditions

2011-01-18 Thread Tshimanga Minkoka
Hi Alvaro, Thanks for your feedback. I also thought about that. The problem is that it won't use the simple 'echo' of the PHP script. I will need instead to perform a totally separate push SMS. I am still trying to avoid this solution, which also requires the max-messages to be set to 0 in the

Re: How to force the reply of an sms-service to go through a specified smsc on some conditions

2011-01-18 Thread Alvaro Cornejo
Hi That is what your script will do: receive the MO info, process in the way you need, store MO in DB, evaluate message content, etc and will call kannel through a sendsms call with the MT and routing info. You can create your scrip in whatever language you feel better. Not necesarily php. But a

RE: How to force the reply of an sms-service to go through a specified smsc on some conditions

2011-01-18 Thread Rapture
Hi, Alternatively, you can process incoming MO in the same php script that is defined to receive incoming MO in sms service to evaluate the content and respond via the Kannel Call that sends MT messages then store the MO in a db (and MT too if you like). That way you create a loop from MO-Process-

smsbox automatic shutdown

2011-01-18 Thread Ravindra Gupta // Viva
hii, if we start the smsbox service so that we got below error, # smsbox -v 0 smskannel.conf 2011-01-18 22:53:50 [22982] [0] ERROR: connect failed 2011-01-18 22:53:50 [22982] [0] ERROR: System error 111: Connection refused 2011-01-18 22:53:50 [22982] [0] ERROR: error connecting to server `127.0.

RE: smsbox automatic shutdown

2011-01-18 Thread Rene Kluwen
You have to start bearerbox before you start smsbox. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Ravindra Gupta // Viva Sent: Tuesday, 18 January, 2011 19:06 To: users-requ...@kannel.org; users@kannel.org Subject: smsbox automatic shutdown hii, if we st

RE: Why does Kannel not use sar_total_segments and sar_segment_seqnum when sending concatenated sms?

2011-01-18 Thread Rene Kluwen
I do have an existing patch for that, somewhere along the mailinglist. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Alejandro Guerrieri Sent: Tuesday, 18 January, 2011 11:11 To: brett skinner Cc: users@kannel.org Subject: Re: Why does Kannel not use

Re: ERROR: Couldn't fetch dlr-url

2011-01-18 Thread Kazi M
Dear Alvaro, Thanks for your fast response . previously I had kept my php files in /var/www ... but as you said it should be in/var/www/html .. i tried keeping those files there but no change ... 1 thing i noticed is that i am getting statuses as 8,4,2 which means smsc submit,message buffered,d