Hi, No! I didn´t, I read into the official documentation that I can specify 
into the request for sendsms a dlr-mask and  even the URL for a push from 
kannel to my http server whith the data of the delivery report data, but I 
thought that if I specify the dlr-mask and url for push delivery report it 
won´t be necessary do it. Whatever I´ll try your sugestion and I´ll reply you 
the result. 

I´m using stable release kannel 1.4.4

Here is where I specify dlr-mask and a URL for push from kannel
######################################
group = sms-service
keyword = default
accepted-smsc = modemgsm
assume-plain-text = true
concatenation = true
max-messages = 0
dlr-mask = 31 # => Here is dlr-mask that mean I´ll receive all type of delivery 
report
get-url = 
http://192.168.15.1:44/get-sms/?id=%p&text=%a&charset=%C&coding=%c&time=%t&timemillis=%T
dlr-url = 
http://192.168.15.1:44/get-dlr/?id=%p&text=%a&charset=%C&coding=%c&time=%t&timemillis=%T&idmessage=%F
 #=> URL for push, I supose that when kannel receive a delivery report will 
make push whith this URL parsing all data by gets params

#####################################################################################

I wrote you into the configuration what i thought what have to happen, in case 
you thing I´m wrong, I´ll will appreciate your considerations 
Here is my bearbox log
##################################################
2018-06-25 17:43:31 [1771] [0] INFO: ----------------------------------------
2018-06-25 17:43:31 [1771] [0] INFO: Kannel bearerbox II version 1.4.4 starting
2018-06-25 17:43:31 [1771] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps 
to pid 1771.
2018-06-25 17:43:31 [1771] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 
maps to pid 1771.
2018-06-25 17:43:31 [1771] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) 
maps to pid 1771.
2018-06-25 17:43:31 [1771] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
maps to pid 1771.
2018-06-25 17:43:31 [1771] [2] DEBUG: HTTP: Including port 13000, fd 10 for 
polling in server thread
2018-06-25 17:43:31 [1771] [6] DEBUG: Thread 6 
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 1771.
2018-06-25 17:43:31 [1771] [6] INFO: Logging thread `6' to logfile 
`/var/log/kannel/smsmodem.log' with level `0'.
2018-06-25 17:43:31 [1771] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) 
maps to pid 1771.
2018-06-25 17:43:31 [1771] [0] INFO: MAIN: Start-up done, entering mainloop
2018-06-25 17:43:31 [1771] [0] DEBUG: AT2[modemgsm]: start called
2018-06-25 17:43:31 [1771] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to 
pid 1771.
2018-06-25 17:43:33 [1771] [5] INFO: Client connected from <127.0.0.1> 
2018-06-25 17:43:33 [1771] [5] DEBUG: Started thread 8 (gw/bb_boxc.c:function)
2018-06-25 17:43:33 [1771] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) maps to 
pid 1771.
2018-06-25 17:43:33 [1771] [8] DEBUG: Started thread 9 
(gw/bb_boxc.c:boxc_sender)
2018-06-25 17:43:33 [1771] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender) maps 
to pid 1771.
2018-06-25 17:44:52 [1771] [8] DEBUG: boxc_receiver: sms received
2018-06-25 17:44:52 [1771] [8] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2018-06-25 17:49:43 [1771] [0] WARNING: Killing signal or HTTP admin command 
received, shutting down...
2018-06-25 17:49:43 [1771] [0] DEBUG: Shutting down Kannel...
2018-06-25 17:49:43 [1771] [0] DEBUG: shutting down smsc
2018-06-25 17:49:43 [1771] [0] DEBUG: AT2[modemgsm]: Shutting down SMSCConn, 
slow
2018-06-25 17:49:43 [1771] [0] DEBUG: shutting down udp
2018-06-25 17:49:43 [1771] [8] INFO: Connection closed by the box <127.0.0.1>
2018-06-25 17:49:43 [1771] [9] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2018-06-25 17:49:43 [1771] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender) 
terminates.
2018-06-25 17:49:43 [1771] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) 
terminates.
2018-06-25 17:49:45 [1771] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) 
terminates.
2018-06-25 17:49:45 [1771] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 
terminates.
2018-06-25 17:49:45 [1771] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) 
terminates.
2018-06-25 17:49:45 [1771] [0] INFO: All flow threads have died, killing core
2018-06-25 17:49:45 [1771] [0] DEBUG: Waiting for 2 
(gwlib/http.c:server_thread) to terminate
2018-06-25 17:49:45 [1771] [3] DEBUG: HTTP: No clients with requests, quitting.
2018-06-25 17:49:45 [1771] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) 
terminates.
2018-06-25 17:49:45 [1771] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) 
terminates.
2018-06-25 17:49:45 [1771] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
terminates.
2018-06-25 17:49:45 [1771] [0] DEBUG: final clean-up for SMSCConn
2018-06-25 17:49:45 [1771] [0] DEBUG: MO concatenated message handling cleaned 
up
2018-06-25 17:49:45 [1771] [0] INFO: Total WDP messages: received 0, sent 0
2018-06-25 17:49:45 [1771] [0] INFO: Total SMS messages: received 0, dlr 0, 
sent 1, dlr 0
2018-06-25 17:49:45 [1771] [0] DEBUG: Immutable octet strings: 278.
2018-06-25 17:50:23 [1880] [0] INFO: Added logfile 
`/var/log/kannel/bearerbox.log' with level `0'.
2018-06-25 17:50:23 [1880] [0] INFO: HTTP: Opening server at port 13000.
2018-06-25 17:50:23 [1880] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2018-06-25 17:50:23 [1880] [0] DEBUG: Started thread 2 
(gwlib/http.c:server_thread)
2018-06-25 17:50:23 [1880] [0] DEBUG: Started thread 3 
(gw/bb_http.c:httpadmin_run)
2018-06-25 17:50:23 [1880] [0] DEBUG: starting smsbox connection module
2018-06-25 17:50:23 [1880] [0] INFO: BOXC: 'smsbox-max-pending' not set, using 
default (100).
2018-06-25 17:50:23 [1880] [0] DEBUG: Started thread 4 
(gw/bb_boxc.c:sms_to_smsboxes)
2018-06-25 17:50:23 [1880] [0] DEBUG: Started thread 5 
(gw/bb_boxc.c:smsboxc_run)
2018-06-25 17:50:23 [1880] [0] INFO: Set SMS resend frequency to 60 seconds.
2018-06-25 17:50:23 [1880] [0] INFO: SMS resend retry set to 10.
2018-06-25 17:50:23 [1880] [0] DEBUG: MO concatenated message handling enabled
2018-06-25 17:50:23 [1880] [0] INFO: DLR rerouting for smsc id <modemgsm> 
disabled.
2018-06-25 17:50:23 [1880] [0] INFO: Added logfile 
`/var/log/kannel/smsmodem.log' with level `0'.
2018-06-25 17:50:23 [1880] [0] INFO: AT2[modemgsm]: configuration shows 
modemtype <falcom>
2018-06-25 17:50:23 [1880] [0] DEBUG: AT2[modemgsm]: Reading modem definitions 
from </etc/kannel/kannel.conf>
2018-06-25 17:50:23 [1880] [0] DEBUG: AT2[modemgsm]: Found <1> modems in config
2018-06-25 17:50:23 [1880] [0] INFO: AT2[modemgsm]: read modem definition for 
<falcom>
2018-06-25 17:50:23 [1880] [0] DEBUG: Started thread 6 
(gw/smsc/smsc_at.c:at2_device_thread)
2018-06-25 17:50:23 [1880] [0] DEBUG: Started thread 7 
(gw/bb_smscconn.c:sms_router) 

Here is my sms box log
2018-06-25 17:43:33 [1781] [0] DEBUG: 
----------------------------------------------
2018-06-25 17:43:33 [1781] [0] DEBUG: Kannel smsbox version 1.4.4 starting
2018-06-25 17:43:33 [1781] [0] DEBUG:   dumping group (sendsms-user):
2018-06-25 17:43:33 [1781] [0] DEBUG:     <group> = <sendsms-user>
2018-06-25 17:43:33 [1781] [0] DEBUG:     <password> = <sergio>
2018-06-25 17:43:33 [1781] [0] DEBUG:     <username> = <sergio>
2018-06-25 17:43:33 [1781] [0] DEBUG:     <user-allow-ip> = <*.*.*.*>
2018-06-25 17:43:33 [1781] [0] DEBUG: Started thread 4 
(gwlib/gw-timer.c:watch_timers)
2018-06-25 17:43:33 [1781] [0] DEBUG: Started thread 5 
(gw/smsbox.c:obey_request_thread)
2018-06-25 17:43:33 [1781] [0] DEBUG: Started thread 6 
(gw/smsbox.c:url_result_thread)
2018-06-25 17:43:33 [1781] [0] DEBUG: Started thread 7 
(gw/smsbox.c:http_queue_thread)
2018-06-25 17:43:33 [1781] [0] DEBUG: Connecting to <127.0.0.1>
2018-06-25 17:43:33 [1781] [0] INFO: Connected to bearerbox at localhost port 
13001.
2018-06-25 17:43:33 [1781] [0] DEBUG: Started thread 8 
(gw/heartbeat.c:heartbeat_thread)
2018-06-25 17:43:33 [1781] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) 
maps to pid 1781.
2018-06-25 17:43:33 [1781] [7] DEBUG: Thread 7 (gw/smsbox.c:http_queue_thread) 
maps to pid 1781.
2018-06-25 17:43:33 [1781] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
maps to pid 1781.
2018-06-25 17:43:33 [1781] [2] DEBUG: HTTP: Including port 13013, fd 9 for 
polling in server thread
2018-06-25 17:43:33 [1781] [6] DEBUG: Thread 6 (gw/smsbox.c:url_result_thread) 
maps to pid 1781.
2018-06-25 17:43:33 [1781] [5] DEBUG: Thread 5 
(gw/smsbox.c:obey_request_thread) maps to pid 1781.
2018-06-25 17:43:33 [1781] [8] DEBUG: Thread 8 
(gw/heartbeat.c:heartbeat_thread) maps to pid 1781.
2018-06-25 17:43:33 [1781] [4] DEBUG: Thread 4 (gwlib/gw-timer.c:watch_timers) 
maps to pid 1781.
2018-06-25 17:43:33 [1781] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to 
pid 1781.
2018-06-25 17:44:52 [1781] [2] DEBUG: HTTP: Creating HTTPClient for 
`192.168.15.1'.
2018-06-25 17:44:52 [1781] [2] DEBUG: HTTP: Created HTTPClient area 
0x7fe23c000ad0.
2018-06-25 17:44:52 [1781] [3] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from <192.168.15.1>
2018-06-25 17:44:52 [1781] [3] INFO: sendsms used by <sergio>
2018-06-25 17:44:52 [1781] [3] INFO: sendsms sender:<sergio:23> (192.168.15.1) 
to:<53704256> msg:<Hello world ultimatum>
2018-06-25 17:44:52 [1781] [3] DEBUG: Stored UUID 
df846117-2aa8-42db-b1f2-2da869e6bf36
2018-06-25 17:44:52 [1781] [3] DEBUG: message length 21, sending 1 messages
2018-06-25 17:44:52 [1781] [3] DEBUG: Status: 202 Answer: <Sent.>
2018-06-25 17:44:52 [1781] [3] DEBUG: Delayed reply - wait for bearerbox
2018-06-25 17:44:52 [1781] [0] DEBUG: Got ACK (0) of 
df846117-2aa8-42db-b1f2-2da869e6bf36
2018-06-25 17:44:52 [1781] [0] DEBUG: HTTP: Resetting HTTPClient for 
`192.168.15.1'.
2018-06-25 17:45:52 [1781] [1] DEBUG: Timeout for fd:25 appears.
2018-06-25 17:45:52 [1781] [1] DEBUG: HTTP: Destroying HTTPClient area 
0x7fe23c000ad0.
2018-06-25 17:45:52 [1781] [1] DEBUG: HTTP: Destroying HTTPClient for 
`192.168.15.1'.
2018-06-25 17:49:43 [1781] [0] ERROR: SIGINT received, aborting program...
2018-06-25 17:49:43 [1781] [0] INFO: Received (and handled?) 0 requests in 370 
seconds (0.00 per second)
2018-06-25 17:49:43 [1781] [0] INFO: Kannel smsbox terminating.
2018-06-25 17:49:43 [1781] [8] DEBUG: Thread 8 
(gw/heartbeat.c:heartbeat_thread) terminates.
2018-06-25 17:49:43 [1781] [0] DEBUG: Waiting for 2 
(gwlib/http.c:server_thread) to terminate
2018-06-25 17:49:43 [1781] [3] DEBUG: HTTP: No clients with requests, quitting.
2018-06-25 17:49:43 [1781] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) 
terminates.
2018-06-25 17:49:43 [1781] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) 
terminates.
2018-06-25 17:49:43 [1781] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
terminates.
2018-06-25 17:49:43 [1781] [0] DEBUG: Waiting for 5 
(gw/smsbox.c:obey_request_thread) to terminate
2018-06-25 17:49:43 [1781] [5] DEBUG: Thread 5 
(gw/smsbox.c:obey_request_thread) terminates.
2018-06-25 17:49:43 [1781] [7] DEBUG: Thread 7 (gw/smsbox.c:http_queue_thread) 
terminates.
2018-06-25 17:49:43 [1781] [0] DEBUG: Waiting for 6 
(gw/smsbox.c:url_result_thread) to terminate
2018-06-25 17:49:43 [1781] [6] DEBUG: Thread 6 (gw/smsbox.c:url_result_thread) 
terminates.
2018-06-25 17:49:43 [1781] [4] DEBUG: Thread 4 (gwlib/gw-timer.c:watch_timers) 
terminates.
2018-06-25 17:50:24 [1890] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' 
with level `0'.
2018-06-25 17:50:24 [1890] [0] INFO: HTTP: Opening server at port 13013.
2018-06-25 17:50:24 [1890] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2018-06-25 17:50:24 [1890] [0] DEBUG: Started thread 2 
(gwlib/http.c:server_thread)
2018-06-25 17:50:24 [1890] [0] INFO: Set up send sms service at port 13013
2018-06-25 17:50:24 [1890] [0] DEBUG: Started thread 3 
(gw/smsbox.c:sendsms_thread)
2018-06-25 17:50:24 [1890] [0] INFO: Using HTTP request queueing with 3 
retries, 10s delay.

#######################################################################
Here is my modem logs
2018-06-25 17:43:31 [1771] [6] INFO: AT2[modemgsm]: opening device
2018-06-25 17:43:31 [1771] [6] DEBUG: AT2[modemgsm]: device opened. Telnet mode 
= 0
2018-06-25 17:43:31 [1771] [6] DEBUG: AT2[modemgsm]: device opened
2018-06-25 17:43:31 [1771] [6] INFO: AT2[modemgsm]: Logging in
2018-06-25 17:43:32 [1771] [6] INFO: AT2[modemgsm]: init device
2018-06-25 17:43:32 [1771] [6] INFO: AT2[modemgsm]: speed set to 9600
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: --> ATZ^M
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: --> AT^M
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: <-- AT
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: --> AT&F^M
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: <-- AT&F
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: --> ATE0^M
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: <-- ATE0
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: --> AT+IFC=2,2^M
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: --> AT+CPIN?^M
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: <-- +CPIN: READY
2018-06-25 17:43:32 [1771] [6] DEBUG: AT2[modemgsm]: --> AT+CMGF=0^M
2018-06-25 17:43:33 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK
2018-06-25 17:43:33 [1771] [6] DEBUG: AT2[modemgsm]: --> AT+CSMS=?^M
2018-06-25 17:43:33 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK
2018-06-25 17:43:33 [1771] [6] DEBUG: AT2[modemgsm]: --> 
AT+CSMS=1;AT+CNMI=2,0,0,2,1;AT+CSMP=49,167,0,0;+CMEE=1^M
2018-06-25 17:43:33 [1771] [6] DEBUG: AT2[modemgsm]: <-- +CSMS: (0,1)
2018-06-25 17:43:33 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK
2018-06-25 17:43:33 [1771] [6] INFO: AT2[modemgsm]: AT SMSC successfully opened.
2018-06-25 17:43:33 [1771] [6] DEBUG: AT2[modemgsm]: <-- +CSMS: 1,1,1
2018-06-25 17:43:33 [1771] [6] DEBUG: AT2[modemgsm]: <-- NO CARRIER
2018-06-25 17:43:35 [1771] [6] DEBUG: AT2[modemgsm]: --> AT^M
2018-06-25 17:43:35 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK
2018-06-25 17:44:36 [1771] [6] DEBUG: AT2[modemgsm]: --> AT^M
2018-06-25 17:44:36 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK
2018-06-25 17:44:54 [1771] [6] DEBUG: AT2[modemgsm]: TP-Validity-Period: 24.0 
hours
2018-06-25 17:44:54 [1771] [6] DEBUG: AT2[modemgsm]: --> AT+CMGS=31^M
2018-06-25 17:44:54 [1771] [6] DEBUG: AT2[modemgsm]: <-- >
2018-06-25 17:44:54 [1771] [6] DEBUG: AT2[modemgsm]: send command status: 1
2018-06-25 17:44:54 [1771] [6] DEBUG: AT2[modemgsm]: --> 
0011000881350724650000A715C8329BFD06DDDF7236195467D3D3ED30BDDE06
2018-06-25 17:44:55 [1771] [6] DEBUG: AT2[modemgsm]: --> ^Z
2018-06-25 17:44:58 [1771] [6] DEBUG: AT2[modemgsm]: <-- >
2018-06-25 17:44:58 [1771] [6] DEBUG: AT2[modemgsm]: <-- +CMGS: 145
2018-06-25 17:44:58 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK
2018-06-25 17:44:58 [1771] [6] DEBUG: AT2[modemgsm]: send command status: 0
2018-06-25 17:46:00 [1771] [6] DEBUG: AT2[modemgsm]: --> AT^M
2018-06-25 17:46:01 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK
2018-06-25 17:47:03 [1771] [6] DEBUG: AT2[modemgsm]: --> AT^M
2018-06-25 17:47:03 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK
2018-06-25 17:48:05 [1771] [6] DEBUG: AT2[modemgsm]: --> AT^M
2018-06-25 17:48:05 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK
2018-06-25 17:49:06 [1771] [6] DEBUG: AT2[modemgsm]: --> AT^M
2018-06-25 17:49:06 [1771] [6] DEBUG: AT2[modemgsm]: <-- OK

Thanks

Reply via email to