Hey everyone, cannot seem to figure out whats going wrong here and was hoping someone might have an idea as to whats wrong... basically all my sms's are able to be sent out however getting a status of the message doesn't work
(please note ive blanked out specific urls and usernames/passwords - smpp1test.com is replaced too) basiaclly my php script calls the sendsms cgi which all works fine and sends dlr-mask=31 and a urlencoded dlr-url $dlr_url = "http://sms.*****. com.au/delivery_report.php?smsId=$messageId[$i]&smscId=%i&status=%A&dest=%p "; $r= new HttpRequest("http://127.0.0.1:13002/cgi-bin/sendsms", HttpRequest::METH_GET); $r->addQueryData(array(username=>"matthew",password=>"password",from=>$senderId,to=>$sendList[$i],text=>urlencode($message),dlr-mask=>"31",dlr-url=>urlencode($dlr_url))); so overall my request turns out like... http://127.0.0.1:13002/cgi-bin/sendsms?username=****&password=****&from=$from&to=$to&text=$tmessage&dlr-mask=31&dlr-url=$dlr_url message gets sent, can see it on the providers ends - however no report comes back - of which i can type in the url manually and it will update my database accordingly i think the issue stems from this line 2010-06-10 13:07:39 [27802] [0] INFO: DLR rerouting for smsc id <smpp1> disabled. however i dont know what is causing this any ideas? - a big thanks to anyone that can help! my log file for the core is... 2010-06-10 13:07:39 [27802] [0] INFO: Added logfile `/home/*****/kannel.log' > with level `0'. > > 2010-06-10 13:07:39 [27802] [0] INFO: HTTP: Opening server at port 13000. > > 2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 1 > (gwlib/fdset.c:poller) > > 2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 2 > (gwlib/http.c:server_thread) > > 2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 3 > (gw/bb_http.c:httpadmin_run) > > 2010-06-10 13:07:39 [27802] [0] DEBUG: starting smsbox connection module > > 2010-06-10 13:07:39 [27802] [2] DEBUG: Thread 2 > (gwlib/http.c:server_thread) maps to pid 27802. > > 2010-06-10 13:07:39 [27802] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps > to pid 27802. > > 2010-06-10 13:07:39 [27802] [3] DEBUG: Thread 3 > (gw/bb_http.c:httpadmin_run) maps to pid 27802. > > 2010-06-10 13:07:39 [27802] [0] INFO: BOXC: 'smsbox-max-pending' not set, > using default (100). > > 2010-06-10 13:07:39 [27802] [0] DEBUG: Adding smsbox routing to id <smpp1> > for receiver no <*> and smsc id <smpp1> > > 2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 4 > (gw/bb_boxc.c:sms_to_smsboxes) > > 2010-06-10 13:07:39 [27802] [4] DEBUG: Thread 4 > (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 27802. > > 2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 5 > (gw/bb_boxc.c:smsboxc_run) > > 2010-06-10 13:07:39 [27802] [0] INFO: Set SMS resend frequency to 60 > seconds. > > 2010-06-10 13:07:39 [27802] [0] INFO: SMS resend retry set to unlimited. > > 2010-06-10 13:07:39 [27802] [0] DEBUG: smsbox MO concatenated message > handling enabled > > 2010-06-10 13:07:39 [27802] [0] INFO: DLR rerouting for smsc id <smpp1> > disabled. > > 2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 6 > (gw/smsc/smsc_smpp.c:io_thread) > > 2010-06-10 13:07:39 [27802] [6] DEBUG: Thread 6 > (gw/smsc/smsc_smpp.c:io_thread) maps to pid 27802. > > 2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 7 > (gw/smsc/smsc_smpp.c:io_thread) > > 2010-06-10 13:07:39 [27802] [0] DEBUG: Started thread 8 > (gw/bb_smscconn.c:sms_router) > > 2010-06-10 13:07:39 [27802] [0] INFO: > ---------------------------------------- > > 2010-06-10 13:07:39 [27802] [0] INFO: Kannel bearerbox II version 1.4.3 > starting > > 2010-06-10 13:07:39 [27802] [8] DEBUG: Thread 8 > (gw/bb_smscconn.c:sms_router) maps to pid 27802. > > 2010-06-10 13:07:39 [27802] [0] INFO: MAIN: Start-up done, entering > mainloop > > 2010-06-10 13:07:39 [27802] [7] DEBUG: Thread 7 > (gw/smsc/smsc_smpp.c:io_thread) maps to pid 27802. > > 2010-06-10 13:07:39 [27802] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) > maps to pid 27802. > > 2010-06-10 13:07:40 [27802] [6] DEBUG: SMPP[smpp1]: Sending PDU: > > 2010-06-10 13:07:40 [27802] [6] DEBUG: SMPP PDU 0x2b5d080010a0 dump: > > 2010-06-10 13:07:40 [27802] [6] DEBUG: type_name: bind_transceiver > > 2010-06-10 13:07:40 [27802] [6] DEBUG: command_id: 9 = 0x00000009 > > 2010-06-10 13:07:40 [27802] [6] DEBUG: command_status: 0 = 0x00000000 > > 2010-06-10 13:07:40 [27802] [6] DEBUG: sequence_number: 1 = 0x00000001 > > 2010-06-10 13:07:40 [27802] [6] DEBUG: system_id: "*****" > > 2010-06-10 13:07:40 [27802] [6] DEBUG: password: "*****" > > 2010-06-10 13:07:40 [27802] [6] DEBUG: system_type: "default" > > 2010-06-10 13:07:40 [27802] [6] DEBUG: interface_version: 52 = 0x00000034 > > 2010-06-10 13:07:40 [27802] [6] DEBUG: addr_ton: 0 = 0x00000000 > > 2010-06-10 13:07:40 [27802] [6] DEBUG: addr_npi: 0 = 0x00000000 > > 2010-06-10 13:07:40 [27802] [6] DEBUG: address_range: NULL > > 2010-06-10 13:07:40 [27802] [6] DEBUG: SMPP PDU dump ends. > > 2010-06-10 13:07:40 [27802] [7] DEBUG: SMPP[smpp1]: Sending PDU: > > 2010-06-10 13:07:40 [27802] [7] DEBUG: SMPP PDU 0x50b8020 dump: > > 2010-06-10 13:07:40 [27802] [7] DEBUG: type_name: bind_receiver > > 2010-06-10 13:07:40 [27802] [7] DEBUG: command_id: 1 = 0x00000001 > > 2010-06-10 13:07:40 [27802] [7] DEBUG: command_status: 0 = 0x00000000 > > 2010-06-10 13:07:40 [27802] [7] DEBUG: sequence_number: 2 = 0x00000002 > > 2010-06-10 13:07:40 [27802] [7] DEBUG: system_id: "****" > > 2010-06-10 13:07:40 [27802] [7] DEBUG: password: "****" > > 2010-06-10 13:07:40 [27802] [7] DEBUG: system_type: "default" > > 2010-06-10 13:07:40 [27802] [7] DEBUG: interface_version: 52 = 0x00000034 > > 2010-06-10 13:07:40 [27802] [7] DEBUG: addr_ton: 0 = 0x00000000 > > 2010-06-10 13:07:40 [27802] [7] DEBUG: addr_npi: 0 = 0x00000000 > > 2010-06-10 13:07:40 [27802] [7] DEBUG: address_range: NULL > > 2010-06-10 13:07:40 [27802] [7] DEBUG: SMPP PDU dump ends. > > 2010-06-10 13:07:41 [27802] [6] DEBUG: SMPP[smpp1]: Got PDU: > > 010-06-10 13:07:48 [27802] [6] DEBUG: SMPP PDU 0x2b5d080014b0 dump: > > 2010-06-10 13:07:48 [27802] [6] DEBUG: type_name: unbind_resp > > 2010-06-10 13:07:48 [27802] [6] DEBUG: command_id: 2147483654 = > 0x80000006 > > 2010-06-10 13:07:48 [27802] [6] DEBUG: command_status: 0 = 0x00000000 > > 2010-06-10 13:07:48 [27802] [6] DEBUG: sequence_number: 3 = 0x00000003 > > 2010-06-10 13:07:48 [27802] [6] DEBUG: SMPP PDU dump ends. > > 2010-06-10 13:07:48 [27802] [6] DEBUG: SMPP[smpp1]: io_thread: break and > shutting down > > 2010-06-10 13:07:48 [27802] [6] DEBUG: Thread 6 > (gw/smsc/smsc_smpp.c:io_thread) terminates. > > 2010-06-10 13:07:48 [27802] [7] DEBUG: SMPP[smpp1]: Sending unbind: > > 2010-06-10 13:07:48 [27802] [7] DEBUG: SMPP PDU 0x50b8220 dump: > > 2010-06-10 13:07:48 [27802] [7] DEBUG: type_name: unbind > > 2010-06-10 13:07:48 [27802] [7] DEBUG: command_id: 6 = 0x00000006 > > 2010-06-10 13:07:48 [27802] [7] DEBUG: command_status: 0 = 0x00000000 > > 2010-06-10 13:07:48 [27802] [7] DEBUG: sequence_number: 4 = 0x00000004 > > 2010-06-10 13:07:48 [27802] [7] DEBUG: SMPP PDU dump ends. > > 2010-06-10 13:07:48 [27802] [7] DEBUG: SMPP[smpp1]: Got PDU: > > 2010-06-10 13:07:48 [27802] [7] DEBUG: SMPP PDU 0x50b8220 dump: > > 2010-06-10 13:07:48 [27802] [7] DEBUG: type_name: unbind_resp > > 2010-06-10 13:07:48 [27802] [7] DEBUG: command_id: 2147483654 = > 0x80000006 > > 2010-06-10 13:07:48 [27802] [7] DEBUG: command_status: 0 = 0x00000000 > > 2010-06-10 13:07:48 [27802] [7] DEBUG: sequence_number: 4 = 0x00000004 > > 2010-06-10 13:07:48 [27802] [7] DEBUG: SMPP PDU dump ends. > and my configuration file is # # Sample configuration file for Kannel bearerbox on Debian. # See the documentation for explanations of fields. # # HTTP administration is disabled by default. Make sure you set the # password if you enable it. group = core admin-port=13000 smsbox-port=13001 admin-password=***** status-password=***** log-file="/home/*****/kannel.log" log-level=0 # box-deny-ip="*.*.*.*" #dlr-storage=mysql dlr-storage=internal box-allow-ip="*.*.*.*" group=smsc smsc=smpp smsc-id=smpp1 host=smsc6.smpp1test.com port=7777 smsc-username=*****test smsc-password=Asu3PZt6 system-type=default transceiver-mode=1 interface-version=34 connect-allow-ip="127.0.0.1" msg-id-type=0x01 receive-port=7777 log-level=0 group=smsbox bearerbox-host=127.0.0.1 sendsms-port=13002 smsbox-id=smpp1 log-level=0 log-file=\"/home/*****/smsbox.log\" access-log=\"/home/*****/smsbox-access.log\" group=sendsms-user username=**** password=**** user-allow-ip="*.*.*.*" default-smsc=smpp1 group=dlr-db id=mydlr table=dlr field-smsc=smsc field-timestamp=ts field-source=destination field-destination=source field-destination=source field-service=service field-url=url field-mask=mask field-status=status field-boxc-id=boxc group=mysql-connection id=mydlr host=localhost username=***** password=**** database=kannel max-connections=1 group=smsbox-route smsbox-id=smpp1 shortcode=* smsc-id=smpp1
