Re: Concatenated MT delaying

2011-02-28 Thread David Tubia

Hi

thanks Nikos!

yes, it could be a way... (although the protocol is not SMPP... a 
propietary vodafone protocol 'redbox' that I added modifiying the .c 
sources). But, could it be possible to make Kannel 'save' in somewhere 
an internal field received by the smsbox (conextID, the 'sessionId', 
shared by the the MO and the two MT) and then let the driver 'know' if a 
MT with a the same sessionID has been sent previously and make a delay 
(enqueuing it for example...)?



Regards

David Tubía




El 28/02/11 05:34, Nikos Balkanas escribió:

Hi,

Please read UG about dlrs. You could specify a suitable dlr-url that 
could send in the 2nd MT if the 1st one is succesfull. Make sure that 
you set your dlr-mask to at least 8. That corresponds to accepted by 
SMSc or in SMPP terms SMSc ACK.


BR,
Nikos
- Original Message - From: David Tubia dtu...@wpr.es
To: users@kannel.org
Sent: Sunday, February 27, 2011 2:35 PM
Subject: Concatenated MT delaying


Hi all!

I have a problem with a SMSC (with a custom protocol, 'redbox'). The 
issue

is about they need 2 MT for each MO in order to bill them. One MT is the
premium content and the second is the legal text message.

The problem is about they don't recognize them if I send the 2 MT
consecutively. the 2 MT have a session ID (the same) and I would need to
wait an 'ACK' from the first MT and then send the second MT. But I cannot
do it with kannel (could it be possible???)

The application that is sending the MT answers for the MO received send
the two MT at the same time.

A workaround consists on sending the first MT, wait for a while (1 
second)

and then send the second MT. I tried it modifiying the .c sources but I
couldn't see the way to delay one MT from specifically another, and
delaying all MTs is a BIG problem when sending huge number of MT (several
hundreds)

I asked for devs to make a short delay between both MTs but they refused
(several apps to touch, they said) and asked me to make the work with
kannel.

I would like to know if there is any way to implement this with kannel,
and I don't know where to see at this moment... can anyone help me?

Thanks in advance

David Tubνa






Concatenated MT delaying

2011-02-27 Thread David Tubía
Hi all!

I have a problem with a SMSC (with a custom protocol, 'redbox'). The issue
is about they need 2 MT for each MO in order to bill them. One MT is the
premium content and the second is the legal text message.

The problem is about they don't recognize them if I send the 2 MT
consecutively. the 2 MT have a session ID (the same) and I would need to
wait an 'ACK' from the first MT and then send the second MT. But I cannot
do it with kannel (could it be possible???)

The application that is sending the MT answers for the MO received send
the two MT at the same time.

A workaround consists on sending the first MT, wait for a while (1 second)
and then send the second MT. I tried it modifiying the .c sources but I
couldn't see the way to delay one MT from specifically another, and
delaying all MTs is a BIG problem when sending huge number of MT (several
hundreds)

I asked for devs to make a short delay between both MTs but they refused
(several apps to touch, they said) and asked me to make the work with
kannel.

I would like to know if there is any way to implement this with kannel,
and I don't know where to see at this moment... can anyone help me?

Thanks in advance

David Tubía




Re: Concatenated MT delaying

2011-02-27 Thread Nikos Balkanas

Hi,

Please read UG about dlrs. You could specify a suitable dlr-url that could 
send in the 2nd MT if the 1st one is succesfull. Make sure that you set your 
dlr-mask to at least 8. That corresponds to accepted by SMSc or in SMPP 
terms SMSc ACK.


BR,
Nikos
- Original Message - 
From: David Tubia dtu...@wpr.es

To: users@kannel.org
Sent: Sunday, February 27, 2011 2:35 PM
Subject: Concatenated MT delaying


Hi all!

I have a problem with a SMSC (with a custom protocol, 'redbox'). The issue
is about they need 2 MT for each MO in order to bill them. One MT is the
premium content and the second is the legal text message.

The problem is about they don't recognize them if I send the 2 MT
consecutively. the 2 MT have a session ID (the same) and I would need to
wait an 'ACK' from the first MT and then send the second MT. But I cannot
do it with kannel (could it be possible???)

The application that is sending the MT answers for the MO received send
the two MT at the same time.

A workaround consists on sending the first MT, wait for a while (1 second)
and then send the second MT. I tried it modifiying the .c sources but I
couldn't see the way to delay one MT from specifically another, and
delaying all MTs is a BIG problem when sending huge number of MT (several
hundreds)

I asked for devs to make a short delay between both MTs but they refused
(several apps to touch, they said) and asked me to make the work with
kannel.

I would like to know if there is any way to implement this with kannel,
and I don't know where to see at this moment... can anyone help me?

Thanks in advance

David Tubνa