
@bernard, i've just woken up and trying your suggestion VOILA!! it worked. this is how i did it, curl -X GET " http://127.0.0.1:14020/cgi-bin/sendsms?username=xxx&pass=xxxx&to=25472283xxx... " thanks and the issue has been closed. -- -erastus +254733725373 Nairobi Kenya On Thu, Jun 7, 2012 at 10:39 PM, bernard kioko <bernsoft@gmail.com> wrote:
Did you actually test that service_type suggestion i gave you?
On Thu, Jun 7, 2012 at 2:49 PM, gisho <gichuhie@gmail.com> wrote:
i was just pinpointing the where the problem seems to occur - just when sending. everything else is okay including the smsbox routing and the sender groups. looks more like there is something on their side if the many of you have a configuration just like mine. i'll get back if they finally resolve it. i have done so many other smpp connection to other providers but this one is just a pain ... 3rd day and counting ... i think this is how "QueenB" came about
group = smsc smsc = smpp smsc-id=tidebit #interface-version = "34" system-type ="" host = 192.168.9.xx port = 6695 smsc-username = "xxxxT" smsc-password = "xxxxx"
# address-range = "" source-addr-npi = 1 source-addr-ton = 0 dest-addr-npi = 1 dest-addr-ton = 1 transceiver-mode = false log-file = "/var/log/kannel/tidet.log" log-level = 0
--
On Thu, Jun 7, 2012 at 1:31 PM, joe mwirigi <joemwirigi@gmail.com> wrote:
@bernard, thot source_addr:, can work even with "rabbit" since they pick the service type as the src
@gisho, i guess if you shared your complete conf file(s) with xx on the right places, the people here will be of great help.
*_______________________________________________________________ We must Keep on, *
On Thu, Jun 7, 2012 at 1:23 PM, bernard kioko <bernsoft@gmail.com>wrote:
AND also is this: source_addr: "36547" really a valid shortcode that they have assigned you?
On Thu, Jun 7, 2012 at 1:20 PM, bernard kioko <bernsoft@gmail.com>wrote:
I think i have spotted your problem.
You have to specify the service_type which is usually same as the shortcode your sending SMS FROM.
Let me know if that works for you.
Regards Bernard
On Thu, Jun 7, 2012 at 12:58 PM, gisho <gichuhie@gmail.com> wrote:
Gents/Ladies, am here as a result of safcom's tech giving me as scanty details as possible and taking too long(days) to respond to my requests. maybe someone can give me a heads up on where the problem could be.
I am connecting normally but i can't send any SMS via the connection and here is a log excerpt
2012-06-07 12:43:45 [13117] [7] DEBUG: SMPP[tidebit]: Manually forced source addr ton = 0, source add npi = 1 2012-06-07 12:43:45 [13117] [7] DEBUG: SMPP[tidebit]: Manually forced dest addr ton = 1, dest add npi = 1 2012-06-07 12:43:45 [13117] [7] DEBUG: SMPP[tidebit]: Sending PDU: 2012-06-07 12:43:45 [13117] [7] DEBUG: SMPP PDU 0x7fb6e4000e50 dump: 2012-06-07 12:43:45 [13117] [7] DEBUG: type_name: submit_sm 2012-06-07 12:43:45 [13117] [7] DEBUG: command_id: 4 = 0x00000004 2012-06-07 12:43:45 [13117] [7] DEBUG: command_status: 0 = 0x00000000 2012-06-07 12:43:45 [13117] [7] DEBUG: sequence_number: 51 = 0x00000033 2012-06-07 12:43:45 [13117] [7] DEBUG: service_type: NULL 2012-06-07 12:43:45 [13117] [7] DEBUG: source_addr_ton: 0 = 0x00000000 2012-06-07 12:43:45 [13117] [7] DEBUG: source_addr_npi: 1 = 0x00000001 2012-06-07 12:43:45 [13117] [7] DEBUG: source_addr: "36547" 2012-06-07 12:43:45 [13117] [7] DEBUG: dest_addr_ton: 1 = 0x00000001 2012-06-07 12:43:45 [13117] [7] DEBUG: dest_addr_npi: 1 = 0x00000001 2012-06-07 12:43:45 [13117] [7] DEBUG: destination_addr: "254725[removed]" 2012-06-07 12:43:45 [13117] [7] DEBUG: esm_class: 3 = 0x00000003 2012-06-07 12:43:45 [13117] [7] DEBUG: protocol_id: 0 = 0x00000000 2012-06-07 12:43:45 [13117] [7] DEBUG: priority_flag: 0 = 0x00000000 2012-06-07 12:43:45 [13117] [7] DEBUG: schedule_delivery_time: NULL 2012-06-07 12:43:45 [13117] [7] DEBUG: validity_period: NULL 2012-06-07 12:43:45 [13117] [7] DEBUG: registered_delivery: 0 = 0x00000000 2012-06-07 12:43:45 [13117] [7] DEBUG: replace_if_present_flag: 0 = 0x00000000 2012-06-07 12:43:45 [13117] [7] DEBUG: data_coding: 0 = 0x00000000 2012-06-07 12:43:45 [13117] [7] DEBUG: sm_default_msg_id: 0 = 0x00000000 2012-06-07 12:43:45 [13117] [7] DEBUG: sm_length: 4 = 0x00000004 2012-06-07 12:43:45 [13117] [7] DEBUG: short_message: "test" 2012-06-07 12:43:45 [13117] [7] DEBUG: SMPP PDU dump ends. 2012-06-07 12:43:46 [13117] [7] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 2012-06-07 12:43:46 [13117] [7] DEBUG: SMPP[tidebit]: Got PDU: 2012-06-07 12:43:46 [13117] [7] DEBUG: SMPP PDU 0x7fb6e4000e50 dump: 2012-06-07 12:43:46 [13117] [7] DEBUG: type_name: submit_sm_resp 2012-06-07 12:43:46 [13117] [7] DEBUG: command_id: 2147483652 = 0x80000004 2012-06-07 12:43:46 [13117] [7] DEBUG: command_status: 69 = 0x00000045 2012-06-07 12:43:46 [13117] [7] DEBUG: sequence_number: 51 = 0x00000033 2012-06-07 12:43:46 [13117] [7] DEBUG: message_id: NULL 2012-06-07 12:43:46 [13117] [7] DEBUG: SMPP PDU dump ends. 2012-06-07 12:43:46 [13117] [7] ERROR: SMPP[tidebit]: SMSC returned error code 0x00000045 (Submit failed) in response to submit_sm.
kannel.conf group = smsc smsc = smpp smsc-id=tidebit #interface-version = "34" system-type = "" host = 192.168.9.xx port = 6695 smsc-username = "xxxxT" smsc-password = "xxx" # address-range = "" source-addr-npi = 1 source-addr-ton = 0 dest-addr-npi = 1 dest-addr-ton = 1 transceiver-mode = false log-file = "/var/log/kannel/tidet.log" log-level = 0
-- -erastus +254733725373 Nairobi Kenya
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke