Dear all,

Please kindly help me on my problem.

Kind regards,
Mohammad Hossein

On Sun, Mar 8, 2015 at 10:52 AM, Mohammad Hossein Shafinia <
m.shafi...@rahnema.com> wrote:

> Dear All,
>
> I just want to remind you on my last mail.
>
> I would deeply appreciate it if you kindly help us on this issue.
>
> Kind regards,
> Mohammad Hossein
>
> On Sat, Mar 7, 2015 at 3:24 PM, mohammad hossein shafinia <
> mh.shafi...@gmail.com> wrote:
>
>> Hello dear Ahmed,
>>
>> Please find the TCP Dump of the traffic. In the attached file (as shown
>> in the screenshot) delivery status is available in deliver_SM section. Is
>> there a way to have the delivery status in Kannel, so that we don't need to
>> refer to log directly? Is there some parameters in Kannel.com or the URL we
>> are sending that we need to modify in order to receive delivery report in
>> Kannel?
>>
>> Kind regards,
>> Mohammad Hossein
>>
>> On Tue, Mar 3, 2015 at 1:14 PM, Ahmed Shabana <a.shab...@cequens.com>
>> wrote:
>>
>>>  ​take a pcap capture from your java app traffic .
>>>
>>> to able to compare it with kannel one.
>>>  ------------------------------
>>> *From:* Mohammad Hossein Shafinia <m.shafi...@rahnema.com>
>>> *Sent:* Tuesday, March 3, 2015 9:02 AM
>>> *To:* Ahmed Shabana
>>> *Cc:* hafez ahmad; mohammad hossein shafinia; devel@kannel.org; Hadi
>>> Bahreinian; devel-request; Farzad Tehrani
>>>
>>> *Subject:* Re: Delivery report issue
>>>
>>>  Thanks all.
>>>
>>>  Yes we set the value to 31 so all the states we can get.
>>>
>>>
>>> http://127.0.0.1:13013/cgi-bin/sendsms?username=negahbanan&password=shorapasses&from=5544&to=992987******&text=$TEXT&udh=$UDH&charset=UTF-8&coding=2&dlr-mask=31&dlr-url=http%3A%2F%2F127.0.0.1%3A7777%2Fservices%2Fdlr.php%3FsmscID%3D%25i%26dlr%3D%25d%26answer%3D%25A%26to%3D%25p%26from%3D%25P%26ts%3D%25T%26smsID%3D12099298728278320150303122824%26charset%3D%25C%26kannel_id%3D%25I
>>> <http://127.0.0.1:13013/cgi-bin/sendsms?username=negahban&password=shorapass&from=5544&to=992987******&text=$TEXT&udh=$UDH&charset=UTF-8&coding=2&dlr-mask=31&dlr-url=http%3A%2F%2F127.0.0.1%3A7777%2Fservices%2Fdlr.php%3FsmscID%3D%25i%26dlr%3D%25d%26answer%3D%25A%26to%3D%25p%26from%3D%25P%26ts%3D%25T%26smsID%3D12099298728278320150303122824%26charset%3D%25C%26kannel_id%3D%25I>
>>>
>>>  But just we get 8 and we didn't get any thing else after that.
>>>
>>>  I think SMSC does support delivery reports because some other teams
>>> who use java for developing the application for connecting to SMSC can get
>>> delivery report from the phone, but I don't know how I can use Kannel to
>>> get that report.
>>>
>>>  Kind regards,
>>> Mohammad Hossein
>>>
>>> On Tue, Mar 3, 2015 at 12:14 PM, Ahmed Shabana <a.shab...@cequens.com>
>>> wrote:
>>>
>>>>  Hi Mohammad ,
>>>>
>>>>
>>>>     Seem you have a little bit confuse ,
>>>>
>>>> if you continue reading the section below this
>>>>
>>>>
>>>>  "*If you want multiple report types, you simply add the values
>>>> together. For example if you want to get delivery success and/or failure
>>>> you set the **dlr-mask** value to 1+2. and so on. If you specify*
>>>> *dlr-mask** on the URL you pass on to Kannel you also need to specify *
>>>> *dlr-url**. **dlr-url** should contain the URL to which Kannel should
>>>> place a HTTP requests once the delivery report is ready to be delivered
>>>> back to your system*"
>>>>
>>>>
>>>>   you can think on it as a bit-operation i.e.
>>>>
>>>>
>>>>
>>>>  0000  0001 =   delivery success request set
>>>>
>>>> 0000 0010 =  delivery failure request set
>>>>
>>>> so
>>>>
>>>> 0000 0011 = delivery success set AND delivery failure set​
>>>>
>>>> and so on
>>>>
>>>>
>>>>  Best regards,
>>>>
>>>> Ahmed Shabana
>>>>  ------------------------------
>>>> *From:* devel <devel-boun...@kannel.org> on behalf of hafez ahmad <
>>>> hafezad...@gmail.com>
>>>> *Sent:* Tuesday, March 3, 2015 8:00 AM
>>>> *To:* mohammad hossein shafinia
>>>> *Cc:* farzam.hej...@gmail.com; devel@kannel.org; Hadi Bahreinian;
>>>> mohammad hossein shafinia; devel-request
>>>> *Subject:* Re: Delivery report issue
>>>>
>>>>
>>>> Hi Mohammad,
>>>>
>>>> From my experience  some SMSC return 16 or 8 only , so in this case you
>>>> should consider it delivered  to the user if you get 8,-you can check with
>>>> operator - also you can catch the acknowledgment text from the DLR url to
>>>> figure out the message states.
>>>>
>>>> Best,
>>>> Hafez Ahmad
>>>> On Mar 3, 2015 10:51 AM, "mohammad hossein shafinia" <
>>>> mh.shafi...@gmail.com> wrote:
>>>>
>>>>>  Dear all,
>>>>>
>>>>>  I hope everything is great on your end.
>>>>>
>>>>>  Regarding kannel tutorial
>>>>> <http://kannel.org/download/1.4.4/userguide-1.4.4/userguide.html#delivery-reports>,
>>>>> we always get number 8 that means delivery to SMSC but we never get 1 
>>>>> which
>>>>> means successful delivery to phone so we cant understand for which numbers
>>>>> the contents are delivered so we can send the hidden message to them to
>>>>> charge them.
>>>>>
>>>>>  When you deliver SMS to Kannel you have to indicate what kind of
>>>>> delivery report messages you would like to receive back from the system.
>>>>> The delivery report types currently implemented are:
>>>>>
>>>>> 1: delivery success
>>>>>
>>>>> 2: delivery failure
>>>>>
>>>>> 4: message buffered
>>>>>
>>>>> 8: smsc submit
>>>>>
>>>>> 16: smsc reject
>>>>>
>>>>> 32: smsc intermediate notifications
>>>>>
>>>>>  I would appreciate it if you kindly help us in this order.
>>>>>
>>>>>  Kind regards,
>>>>> Mohammad Hossein
>>>>>
>>>>
>>>
>>
>>
>> --
>> Regards,
>> M. H. Shafinia
>>
>
>


-- 
Regards,
M. H. Shafinia

Reply via email to