Rodrigo, You�ll receive many DLR reports, one for each status change.
1.2.1 has many many bugs regarding DLRs. I've followed the suggestions from the users of this list and I've switched to 1.3.2 yesterday. Apart from a problem compiling MySQL (It doesn�t find the libraries despite my attempts to point to them using --with-mysql-dir): checking whether to compile with MySQL support... searching checking for mysql_config... /usr/bin/mysql_config checking mysql version... 3.23.58 checking mysql libs... -L'/usr/lib/mysql' -lmysqlclient -lz -lcrypt -lnsl -lm checking for mysql_init in -lmysqlclient... no configure: error: Unable to find MySQL client libraries By now I've just switched off MySQL and I�ll be testing that later. I think you should add the DLR status in your URL if you're planning to detect wether the message was accepted or not. Something like: dlrurl=http://localhost/cgi-bin/DLR.pl?type=%d&id=1234 Where 1234 is an arbitrary message ID and %d gets filled with the DLR status from the server. Regards, ----- Original Message ----- From: "Rodrigo A. Cremaschi" <[EMAIL PROTECTED]> To: "Kannel" <[EMAIL PROTECTED]> Sent: Thursday, August 19, 2004 6:10 PM Subject: DLR problem > > Hi all, > I'm using Kannel 1.2.1, FreeBSD port. When trying to push a message using > > lynx -dump > "http://localhost:13013/cgi-bin/sendsms?username=xxxxr&password=yyyy&from=15 > 6&to=nnnnnnnn&text=DLRMASK+DLRURL+TEST&dlrmask=3&dlrurl=http%3A%2F%2Flocalho > st%2Fcgi-bin%2FDLR.pl%3Ftype%3D3" > > (that is: dlrurl=http://localhost/cgi-bin/DLR.pl?type=3) > > The cgi script is invoked immediatley (!), I get this answer (problem in the > DLR) and the message is not delivered. > What am I missing?: > > 2004-08-19 12:17:46 [9] DEBUG: boxc_receiver: sms received > 2004-08-19 12:17:46 [6] DEBUG: SMPP[UNIFON]: Sending PDU: > 2004-08-19 12:17:46 [6] DEBUG: SMPP PDU 0x8103a00 dump: > 2004-08-19 12:17:46 [6] DEBUG: type_name: submit_sm > 2004-08-19 12:17:46 [6] DEBUG: command_id: 4 = 0x00000004 > 2004-08-19 12:17:46 [6] DEBUG: command_status: 0 = 0x00000000 > 2004-08-19 12:17:46 [6] DEBUG: sequence_number: 34 = 0x00000022 > 2004-08-19 12:17:46 [6] DEBUG: service_type: NULL > 2004-08-19 12:17:46 [6] DEBUG: source_addr_ton: 2 = 0x00000002 > 2004-08-19 12:17:46 [6] DEBUG: source_addr_npi: 1 = 0x00000001 > 2004-08-19 12:17:46 [6] DEBUG: source_addr: "156" > 2004-08-19 12:17:46 [6] DEBUG: dest_addr_ton: 2 = 0x00000002 > 2004-08-19 12:17:46 [6] DEBUG: dest_addr_npi: 1 = 0x00000001 > 2004-08-19 12:17:46 [6] DEBUG: destination_addr: "nnnnnnnn" > 2004-08-19 12:17:46 [6] DEBUG: esm_class: 0 = 0x00000000 > 2004-08-19 12:17:46 [6] DEBUG: protocol_id: 0 = 0x00000000 > 2004-08-19 12:17:46 [6] DEBUG: priority_flag: 0 = 0x00000000 > 2004-08-19 12:17:46 [6] DEBUG: schedule_delivery_time: NULL > 2004-08-19 12:17:46 [6] DEBUG: validity_period: NULL > 2004-08-19 12:17:46 [6] DEBUG: registered_delivery: 1 = 0x00000001 > 2004-08-19 12:17:46 [6] DEBUG: replace_if_present_flag: 0 = 0x00000000 > 2004-08-19 12:17:46 [6] DEBUG: data_coding: 0 = 0x00000000 > 2004-08-19 12:17:46 [6] DEBUG: sm_default_msg_id: 0 = 0x00000000 > 2004-08-19 12:17:46 [6] DEBUG: sm_length: 0 = 0x00000000 > 2004-08-19 12:17:46 [6] DEBUG: short_message: "DLRMASK DLRURL TEST" > 2004-08-19 12:17:46 [6] DEBUG: SMPP PDU dump ends. > 2004-08-19 12:17:46 [6] WARNING: SMPP: PDU NUL terminated string has no NUL. > 2004-08-19 12:17:46 [6] DEBUG: SMPP[UNIFON]: Got PDU: > 2004-08-19 12:17:46 [6] DEBUG: SMPP PDU 0x8103a00 dump: > 2004-08-19 12:17:46 [6] DEBUG: type_name: submit_sm_resp > 2004-08-19 12:17:46 [6] DEBUG: command_id: 2147483652 = 0x80000004 > 2004-08-19 12:17:46 [6] DEBUG: command_status: 7 = 0x00000007 > 2004-08-19 12:17:46 [6] DEBUG: sequence_number: 34 = 0x00000022 > 2004-08-19 12:17:46 [6] DEBUG: message_id: NULL > 2004-08-19 12:17:46 [6] DEBUG: SMPP PDU dump ends. > 2004-08-19 12:17:46 [6] ERROR: SMPP[UNIFON]: SMSC returned error code > 0x00000007 in response to submit_sm. > 2004-08-19 12:17:46 [6] INFO: SMPP[UNIFON]: creating DLR message > 2004-08-19 12:17:46 [6] INFO: SMPP[UNIFON]: DLR = > http://localhost/cgi-bin/DLR.pl?type=3 > 2004-08-19 12:17:46 [10] DEBUG: boxc_sender: sent message to <127.0.0.1> > 2004-08-19 12:17:46 [9] DEBUG: boxc_receiver: got ack > > > > Este mensaje se dirige exclusivamente a su destinatario y puede contener > informaci�n CONFIDENCIAL sometida a secreto profesional o cuya divulgaci�n > est� prohibida en virtud de la legislaci�n vigente. Si ha recibido este > mensaje por error, le rogamos que nos lo comunique inmediatamente por esta > misma v�a o por tel�fono (54.11 5776-5000) y proceda a su destrucci�n. > N�tese que el correo electr�nico v�a Internet no permite asegurar ni la > confidencialidad de los mensajes que se transmiten ni la correcta recepci�n > de los mismos. En caso de que el destinatario de este mensaje no > consintiera la utilizaci�n de correo electr�nico v�a Internet rogamos lo > ponga en nuestro conocimiento de manera inmediata. > > >
