The dlr-mask value is the SUM of all status values you want to receive.

ie dlr-mask = 11 means 1+2+8 which is delivered, rejected and submitted.

Therefore if you set dlr-mask=16 you will ONLY receive rejected dlrs.

Regards

Alvaro
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.com


On Fri, Feb 7, 2014 at 9:06 AM, خان ابو زید <khan.abuz...@gmail.com> wrote:
> set dlr-mask to 31 all dlr status.
>
>
>  32 == Intermediate
>
>  16 == Rejected
>   8 == Submitted
>   4 == Buffered
>   2 == Rejected/Failed
>   1 == Delivered
>
>
>
>
> On Fri, Feb 7, 2014 at 7:25 PM, dhcmega <dhcad...@gmail.com> wrote:
>>
>> Hi Willy, thanks for you answer.
>> I am setting the dlr-mask to 16, assuming that it means all of them, from
>> 1 to 16. Isn't it?
>>
>>
>> On Thu, Feb 6, 2014 at 10:43 PM, Willy Mularto <sangpr...@gmail.com>
>> wrote:
>>>
>>> We assume you have set your dlr-mask. Try to set dlr-mask=8 , all ACK
>>> assume as success while others are failed. This will be related to your back
>>> end script/programming.
>>>
>>>
>>> Willy Mularto
>>> SMS Gateway, Content Provider, Mobile Solution Specialist
>>> M: +62811923464, +62818923464
>>> PIN BBM: 74924429
>>>
>>>
>>>
>>> On Feb 7, 2014, at 2:17 AM, dhcmega <dhcad...@gmail.com> wrote:
>>>
>>> Ok, my service provider is telling this to me:
>>>
>>> "These result codes are additional to the SMPP protocol specific codes.
>>> These codes are sent in the command_status field."
>>>
>>> And there is a huge list of codes.
>>> Could this be my problem?
>>> Thanks
>>>
>>>
>>>
>>>
>>> On Thu, Feb 6, 2014 at 3:21 PM, dhcmega <dhcad...@gmail.com> wrote:
>>>>
>>>> Hi all
>>>> It looks like that when I receive a command_status: 0, there is no DLR
>>>> notification triggered, like in this response:
>>>>
>>>> 2014-02-06 14:33:22 [21859] [6] DEBUG: SMPP[smsc_conn_1]: Got PDU:
>>>> 2014-02-06 14:33:22 [21859] [6] DEBUG: SMPP PDU 0x2aaaac0720d0 dump:
>>>> 2014-02-06 14:33:22 [21859] [6] DEBUG:   type_name: submit_sm_resp
>>>> 2014-02-06 14:33:22 [21859] [6] DEBUG:   command_id: 2147483652 =
>>>> 0x80000004
>>>> 2014-02-06 14:33:22 [21859] [6] DEBUG:   command_status: 0 = 0x00000000
>>>> 2014-02-06 14:33:22 [21859] [6] DEBUG:   sequence_number: 2309 =
>>>> 0x00000905
>>>> 2014-02-06 14:33:22 [21859] [6] DEBUG:   message_id: "d1e113b"
>>>>
>>>> 2014-02-06 14:33:22 [21859] [6] DEBUG: SMPP PDU dump ends.
>>>>
>>>>
>>>> if the command_status is not 0, like this:
>>>>
>>>>
>>>> 2014-02-06 14:34:02 [21859] [6] DEBUG: SMPP PDU 0x2aaaac0720d0 dump:
>>>> 2014-02-06 14:34:02 [21859] [6] DEBUG:   type_name: submit_sm_resp
>>>> 2014-02-06 14:34:02 [21859] [6] DEBUG:   command_id: 2147483652 =
>>>> 0x80000004
>>>> 2014-02-06 14:34:02 [21859] [6] DEBUG:   command_status: 1003 =
>>>> 0x000003eb
>>>> 2014-02-06 14:34:02 [21859] [6] DEBUG:   sequence_number: 2312 =
>>>> 0x00000908
>>>> 2014-02-06 14:34:02 [21859] [6] DEBUG:   message_id: "d1e357d"
>>>>
>>>> 2014-02-06 14:34:02 [21859] [6] DEBUG: SMPP PDU dump ends.
>>>>
>>>>
>>>> Then I get the DLR notification.
>>>> Do I have a configuration error?
>>>> Thanks
>>>>
>>>> dhcmega
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>
>
>
> --
> Regards
>
> Khan Abuzaid
> Mob# :09664541886/9594092200
> Mumbai

Reply via email to