i assume you use identical user pass system-type values so, use this single smsc config instead of the two separated:
group = smsc smsc = smpp smsc-id = MYRXCON host = xx.xxx.xxx.xxx port = the port for MYTXCON receive-port = xxxx smsc-username = "MYUSER" smsc-password = xxxxx system-type = "smtype" service-type = 200 dlr-group-id = MYDLRGROUP allowed-smsc-id = MYRXCON interface-version = 34 address-range = "99999" max-pending-submits = 1 reconnect-delay = 10 source-addr-ton = 1 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 bind-addr-ton = 1 bind-addr-npi = 1 msg-id-type = 0x01 log-file = /var/log/kannel/99999.log log-level = 0 cheers hafez ahmad wrote: > Dears, > > I have SMPP connection one RX and TX, when I send SMS using the TX > connection, the DLR back on the RX one, so I used this patch -DLR group - > http://www.nabble.com/Multiple-SMSCs-and-a-DLR-group-td8655999.html#a8655999 > > but I always get the following error > > 2008-11-24 22:48:41 [24613] [7] DEBUG: message_id: "4049149130" > 2008-11-24 22:48:41 [24613] [7] DEBUG: SMPP PDU dump ends. > 2008-11-24 22:48:41 [24613] [7] DEBUG: DLR[mysql]: Adding DLR > smsc=MYDLRGROUP, *ts=1226084656*, src=99999, dst=96xxxxxxxxxx, mask=31, > boxc= > 2008-11-24 22:48:41 [24613] [7] DEBUG: sql: INSERT INTO dlr (smsc, ts, > source, destination, service, url, mask, boxc, status) VALUES ('MYDLRGROUP', > '1226084656', '99999', '96xxxxxxxxxx', 'tester', ' > http://localhost/my.php?status=%d&answer=%A', '31', '', '0'); > 2008-11-24 22:48:41 [24613] [7] DEBUG: SMSC[MYTXCON]: creating DLR message > ------------- > -------------- > ------------- > 2008-11-24 22:49:01 [24613] [6] DEBUG: SMPP[MYRXCON] handle_pdu, got DLR > 2008-11-24 22:49:01 [24613] [6] DEBUG: DLR[mysql]: Looking for DLR > smsc=MYDLRGROUP,* ts=4049149130*, dst=96xxxxxxxxxx, type=1 > 2008-11-24 22:49:01 [24613] [6] DEBUG: sql: SELECT mask, service, url, > source, destination, boxc FROM dlr WHERE smsc='MYDLRGROUP' AND * > ts='4049149130';* > 2008-11-24 22:49:01 [24613] [6] DEBUG: no rows found > 2008-11-24 22:49:01 [24613] [6] WARNING: DLR[mysql]: DLR from > SMSC<MYDLRGROUP> for DST<96xxxxxxxxxx> not found. > 2008-11-24 22:49:01 [24613] [6] ERROR: SMPP[MYRXCON]: got DLR but could not > find message or was not interested in it id<4049149130> dst<96xxxxxxxxxx>, > type<1> > > > *NOTE: the kannel when insert the DLR the ts ===> 1226084656(the timestamp) > when looking for the DLR ts =** **4049149130 which is the message id* > > following my config = > > group = smsc > smsc = smpp > smsc-id = MYRXCON > host = xx.xxx.xxx.xxx > port = 0 > receive-port = xxxx > smsc-username = "MYUSER" > smsc-password = xxxxx > system-type = "smtype" > service-type = 200 > dlr-group-id = MYDLRGROUP > allowed-smsc-id = MYRXCON > interface-version = 34 > address-range = "99999" > max-pending-submits = 1 > reconnect-delay = 10 > source-addr-ton = 1 > source-addr-npi = 1 > dest-addr-ton = 1 > dest-addr-npi = 1 > bind-addr-ton = 1 > bind-addr-npi = 1 > msg-id-type = 0x01 > log-file = /var/log/kannel/99999.log > log-level = 0 > > group = smsc > smsc = smpp > smsc-id = MYTXCON > host = xx.xxx.xxx.xxx > port = xxxx > receive-port = 0 > smsc-username = "MYUSER" > smsc-password = xxxxx > system-type = "smtype" > service-type = 200 > dlr-group-id = MYDLRGROUP > allowed-smsc-id = MYTXCON > interface-version = 34 > address-range = "99999" > max-pending-submits = 1 > reconnect-delay = 10 > source-addr-ton = 5 > source-addr-npi = 1 > dest-addr-ton = 1 > dest-addr-npi = 1 > bind-addr-ton = 1 > bind-addr-npi = 1 > msg-id-type = 0x01 > log-file = /var/log/kannel/99999.log > log-level = 0 > > Any Ideas what is the problem, please ? > > Regards, > Hafez >
