You'd get a 403/Forbidden header and a "Not routable. Do not try
again" body error from the sendsms interface when you try to enqueue
that kind of message.

I know it's not the same as a DLR, since it's a synchronous response
from the sendsms interface, but you may use it to detect when a
message it's rejected at a Kannel level that way.

Hope it helps,

Alejandro.

On 2/4/07, Hillel <[EMAIL PROTECTED]> wrote:
Hi,

We were sending SMSs via a SMSC Provider and we needed to drop the bind to
the supplier.
We are now manually moving the clients to another Provider's bind.

If the bind is down and a client that has not yet been moved over, sends an
SMS to that bind, does Kannel give any indication that it can't find the
Provider and so the SMS was not sent?

This is an important case to consider as we would like to distinguish if
Kannel has sent the SMS to the Provider and is waiting for a
submit_sm_response or could not send it at all. In the latter case the SMS
should be re-submitted via another Provider, while in the former case the
current Provider still needs to send the SMS/s.

The dlr-mark does not have an option to indicate if the Provider was down
and so the SMS could not be sent.

dlr-mask        number (bit mask)        Optional. Request for delivery reports 
with the
state of the sent message. The value is a bit mask composed of: 1: Delivered
to phone, 2: Non-Delivered to Phone, 4: Queued on SMSC, 8: Delivered to
SMSC, 16: Non-Delivered to SMSC. Must set dlr-url on sendsms-user group or
use the dlr-url CGI variable.

In testing today we got back from the latest CVS.

smsboxaccess.log:2007-02-04 10:23:58 send-SMS request added -
sender:xxxxx:2783123412341234 127.0.0.1 target:27831234567 request:
'testing'
smsbox.log:2007-02-04 10:23:58 [29182] [3] INFO: sendsms
sender:<xxxxx:2783123412341234> (127.0.0.1) to:<27831234567> msg:<testing>
bearerbox.log:2007-02-04 10:23:58 [29155] [21] WARNING: Cannot find SMSCConn
for message to <27831234567>, rejected.

Is there any way to configure Kannel to inform a program that the SMS can't
be sent or must one provide a patch to allow this?

Thanks





--
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri

Reply via email to