Hi, Sorry to interput , I dont think there is any mandatory that source_address should have a valid number. We may place any number as a masking there(less than 11 for alphanumeric and for numeric even I have tested with 16).
Regards Jyoti Ranjan Panda 2009/5/1 Nikos Balkanas <[email protected]> > Talk to them then, because it is *their* number that is wrong. I don't know > any part of the world with 8-digit phone nyumbers. Maybe you copied down the > wrong number. > > BR, > Nikos > ----- Original Message ----- From: "Tony" <[email protected]> > To: "Nikos Balkanas" <[email protected]>; "Tharanga" < > [email protected]> > Cc: <[email protected]>; <[email protected]> > Sent: Friday, May 01, 2009 7:00 PM > > Subject: Re: Kannel not connecting to smsc > > > These are the values that our smc centre gave us for testing. >> They have come back to me and made me change some other values and now I'm >> waiting to see if they got the test message. >> Fingers crossed. >> >> Thanks >> Tony >> >> ----- Original Message ----- From: "Nikos Balkanas" <[email protected]> >> To: "Tony" <[email protected]>; "Tharanga" <[email protected]> >> Cc: <[email protected]>; <[email protected]> >> Sent: Friday, May 01, 2009 4:54 PM >> Subject: Re: Kannel not connecting to smsc >> >> >> Hi, >>> >>> Before you got the same exact error. Therefore it was not a question of >>> setting the source address, but rather setting the correct source address. >>> It must be a valid mobile number. Why is your destination 12 digits, and >>> your source only 8? >>> >>> BR, >>> Nikos >>> ----- Original Message ----- From: "Tony" <[email protected]> >>> To: "Nikos Balkanas" <[email protected]>; "Tharanga" < >>> [email protected]> >>> Cc: <[email protected]>; <[email protected]> >>> Sent: Friday, May 01, 2009 6:26 PM >>> Subject: Re: Kannel not connecting to smsc >>> >>> >>> I've managed to set the source address now, but still get the same >>>> error. >>>> Anyone got any ideas? >>>> >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: SMPP[link0]: Manually forced dest >>>> addr ton = 1, dest add npi = 1 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: sequence_number: 2 = 0x00000002 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: service_type: NULL >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: source_addr_ton: 2 = 0x00000002 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: source_addr_npi: 1 = 0x00000001 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: source_addr: "21900000" >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: dest_addr_ton: 1 = 0x00000001 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: dest_addr_npi: 1 = 0x00000001 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: destination_addr: >>>> "447517568210" >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: esm_class: 3 = 0x00000003 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: protocol_id: 0 = 0x00000000 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: priority_flag: 0 = 0x00000000 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: schedule_delivery_time: NULL >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: validity_period: NULL >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: registered_delivery: 0 = >>>> 0x00000000 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: replace_if_present_flag: 0 = >>>> 0x00000000 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: data_coding: 0 = 0x00000000 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: sm_default_msg_id: 0 = >>>> 0x00000000 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: sm_length: 11 = 0x0000000b >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: short_message: "Hello world" >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: SMPP PDU dump ends. >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: SMPP[link0]: Got PDU: >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: SMPP PDU 0x8768068 dump: >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: type_name: submit_sm_resp >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: command_id: 2147483652 = >>>> 0x80000004 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: command_status: 10 = 0x0000000a >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: sequence_number: 2 = 0x00000002 >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: message_id: NULL >>>> 2009-05-01 16:28:20 [19197] [6] DEBUG: SMPP PDU dump ends. >>>> 2009-05-01 16:28:20 [19197] [6] ERROR: SMPP[link0]: SMSC returned error >>>> code 0x0000000a (Invalid Source Address) in response to submit_sm. >>>> >>>> Thanks >>>> Tony >>>> >>>> ----- Original Message ----- From: "Nikos Balkanas" < >>>> [email protected]> >>>> To: "Tony" <[email protected]>; "Tharanga" <[email protected]> >>>> Cc: <[email protected]>; <[email protected]> >>>> Sent: Friday, May 01, 2009 4:18 PM >>>> Subject: Re: Kannel not connecting to smsc >>>> >>>> >>>> Hi, >>>>> >>>>> Please post detailed SMPP and bearerbox logs relative to the problem >>>>> (loglevel 0) >>>>> >>>>> BR, >>>>> Nikos >>>>> ----- Original Message ----- From: "Tony" <[email protected]> >>>>> To: "Tharanga" <[email protected]> >>>>> Cc: <[email protected]>; <[email protected]> >>>>> Sent: Friday, May 01, 2009 4:57 PM >>>>> Subject: Re: Kannel not connecting to smsc >>>>> >>>>> >>>>> Hi All >>>>> >>>>> After much conversation with our SMS provider we are now able to bind >>>>> to >>>>> their service. >>>>> However I'm getting the following error message when sending an SMS: >>>>> >>>>> 2009-05-01 14:24:20 [18420] [6] ERROR: SMPP[link0]: SMSC returned error >>>>> code >>>>> 0x0000000a (Invalid Source Address) in response to submit_sm. >>>>> >>>>> They say I need to set the source address to 21900000 but I've no idea >>>>> how >>>>> to do this. >>>>> Is there a setting in the kannel.conf I need to add? >>>>> >>>>> Thanks in advance >>>>> >>>>> Tony >>>>> >>>>> >>>>> ----- Original Message ----- From: "Tharanga" <[email protected]> >>>>> To: "Tony" <[email protected]> >>>>> Cc: "Arne K. Haaje" <[email protected]>; <[email protected]>; >>>>> <[email protected]> >>>>> Sent: Monday, April 20, 2009 11:48 AM >>>>> Subject: Re: Kannel not connecting to smsc >>>>> >>>>> >>>>> But my question is , it should log all the details to kannel log. >>>>>> (retring cant connect to smsc..etc..ip and all the details..) why it's >>>>>> not >>>>>> displaying in the logs.. >>>>>> try a netstat also and tcpdump to ur smpp provider's ip.. >>>>>> >>>>>> can u ping to ur default gateway ? or try a traceroute to the smpp >>>>>> providers network >>>>>> >>>>>> Tharanga Abeyseela >>>>>> >>>>>> >>>>>> >>>>>> Tony wrote: >>>>>> >>>>>>> In answer to both replies. >>>>>>> >>>>>>> Yeah I took out all the NULL values as suggested. >>>>>>> >>>>>>> I've confirmed with the operator their IP and port and they seem >>>>>>> certain that they have opened their firewall to the IP address of the >>>>>>> our >>>>>>> Kannel server. Although he has gone away to double check. >>>>>>> In the meantime I'll see what a TCPDump gives me. >>>>>>> >>>>>>> Thanks >>>>>>> Tony >>>>>>> >>>>>>> ----- Original Message ----- From: "Arne K. Haaje" <[email protected]> >>>>>>> To: "Tony" <[email protected]> >>>>>>> Cc: "Tharanga" <[email protected]>; <[email protected]>; < >>>>>>> [email protected]> >>>>>>> Sent: Monday, April 20, 2009 11:31 AM >>>>>>> Subject: Re: Kannel not connecting to smsc >>>>>>> >>>>>>> >>>>>>> Then you quite probably either have a network problem between you >>>>>>>> and the SMSC, you have entered a wrong ip-address or port in the config >>>>>>>> file, or the operator has not allowed access from your IP-address in >>>>>>>> their >>>>>>>> firewall or SMSC. >>>>>>>> >>>>>>>> Ask the operator if they have forgot to activate yoru account, if >>>>>>>> you can find no fault with the network configuration. >>>>>>>> >>>>>>>> Yeah I already tried that but it still shows no binding attempts. >>>>>>>>> It just tells me everytime it can't connect to the SMS center. >>>>>>>>> >>>>>>>>> Tony >>>>>>>>> >>>>>>>>> ----- Original Message ----- From: "Tharanga" < >>>>>>>>> [email protected]> >>>>>>>>> To: "Tony" <[email protected]> >>>>>>>>> Cc: <[email protected]>; <[email protected]>; >>>>>>>>> <[email protected]> >>>>>>>>> Sent: Monday, April 20, 2009 9:13 AM >>>>>>>>> Subject: Re: Kannel not connecting to smsc >>>>>>>>> >>>>>>>>> >>>>>>>>> change the log-level to 4 and see. >>>>>>>>>> >>>>>>>>>> Tharanga Abeyseela >>>>>>>>>> >>>>>>>>>> Tony wrote: >>>>>>>>>> >>>>>>>>>>> I'm still having issues with this at the moment. >>>>>>>>>>> I don't believe that our smsc provider has correctly set things >>>>>>>>>>> up their end. >>>>>>>>>>> They have asked for some debug output of Kannel trying to bind to >>>>>>>>>>> them. >>>>>>>>>>> But I don't see any debug at at all showing the binding attempt, >>>>>>>>>>> even though I've created a log file within the smsc section: >>>>>>>>>>> log-file = "/var/log/kannel/smsc-debug" >>>>>>>>>>> log-level = 0 >>>>>>>>>>> Is there a way of seeing the binding attempts to the smsc? >>>>>>>>>>> Thanks >>>>>>>>>>> Tony >>>>>>>>>>> >>>>>>>>>>> ----- Original Message ----- >>>>>>>>>>> *From:* Tony <mailto:[email protected]> >>>>>>>>>>> *To:* [email protected] >>>>>>>>>>> <mailto:[email protected]> ; Tharanga >>>>>>>>>>> <mailto:[email protected]> ; [email protected] >>>>>>>>>>> <mailto:[email protected]> >>>>>>>>>>> *Cc:* [email protected] <mailto:[email protected]> >>>>>>>>>>> *Sent:* Friday, April 17, 2009 12:12 PM >>>>>>>>>>> *Subject:* Re: Kannel not connecting to smsc >>>>>>>>>>> >>>>>>>>>>> Thanks all for the advice. >>>>>>>>>>> I'll start making some changes as suggested and see what I >>>>>>>>>>> come up >>>>>>>>>>> with. >>>>>>>>>>> Thanks >>>>>>>>>>> Tony >>>>>>>>>>> >>>>>>>>>>> ----- Original Message ----- >>>>>>>>>>> *From:* Eduardo Raad <mailto:[email protected]> >>>>>>>>>>> *To:* Tharanga <mailto:[email protected]> ; >>>>>>>>>>> [email protected] >>>>>>>>>>> <mailto:[email protected]> ; Tony >>>>>>>>>>> <mailto:[email protected]> >>>>>>>>>>> *Cc:* [email protected] <mailto:[email protected]> >>>>>>>>>>> *Sent:* Friday, April 17, 2009 12:09 PM >>>>>>>>>>> *Subject:* Re: Kannel not connecting to smsc >>>>>>>>>>> >>>>>>>>>>> Oops sorry guys I did not see the question had been >>>>>>>>>>> already >>>>>>>>>>> replied :) >>>>>>>>>>> >>>>>>>>>>> Sent from my BlackBerry® wireless device >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ------------------------------------------------------------------------ >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> *From*: Tharanga >>>>>>>>>>> *Date*: Fri, 17 Apr 2009 15:27:02 +0530 >>>>>>>>>>> *To*: Tony<[email protected] <mailto:[email protected]>> >>>>>>>>>>> *Subject*: Re: Kannel not connecting to smsc >>>>>>>>>>> How u start kannel ? can u send ur startup script >>>>>>>>>>> >>>>>>>>>>> Tony wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi >>>>>>>>>>>> Kannel is running as the kannel user. >>>>>>>>>>>> I changed the log level to 0 and restarted kannel but >>>>>>>>>>>> still >>>>>>>>>>>> don't see any mention of it trying to connect to the >>>>>>>>>>>> smsc. >>>>>>>>>>>> Here is the contents of kannel.log: >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] INFO: Added logfile >>>>>>>>>>>> `/var/log/kannel/kannel.log' with level `0'. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] INFO: Started access >>>>>>>>>>>> logfile >>>>>>>>>>>> `/var/log/kannel/access'. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] WARNING: 'store-file' >>>>>>>>>>>> option >>>>>>>>>>>> deprecated, please use 'store-location' and 'store-type' >>>>>>>>>>>> instead. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] INFO: HTTP: Opening >>>>>>>>>>>> server at >>>>>>>>>>>> port 13000. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] DEBUG: Started thread 1 >>>>>>>>>>>> (gwlib/fdset.c:poller) >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] DEBUG: Started thread 2 >>>>>>>>>>>> (gwlib/http.c:server_thread) >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] DEBUG: Started thread 3 >>>>>>>>>>>> (gw/bb_http.c:httpadmin_run) >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] DEBUG: starting smsbox >>>>>>>>>>>> connection module >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] INFO: BOXC: >>>>>>>>>>>> 'smsbox-max-pending' not set, using default (100). >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] DEBUG: Started thread 4 >>>>>>>>>>>> (gw/bb_boxc.c:sms_to_smsboxes) >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] DEBUG: Started thread 5 >>>>>>>>>>>> (gw/bb_boxc.c:smsboxc_run) >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] INFO: Set SMS resend >>>>>>>>>>>> frequency to 60 seconds. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] INFO: SMS resend retry >>>>>>>>>>>> set to >>>>>>>>>>>> unlimited. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] DEBUG: smsbox MO >>>>>>>>>>>> concatenated >>>>>>>>>>>> message handling enabled >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] INFO: DLR rerouting for >>>>>>>>>>>> smsc >>>>>>>>>>>> id <link0> disabled. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] INFO: Added logfile >>>>>>>>>>>> `/var/log/kannel/o2.log' with level `0'. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [2] DEBUG: Thread 2 >>>>>>>>>>>> (gwlib/http.c:server_thread) maps to pid 14654. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [3] DEBUG: Thread 3 >>>>>>>>>>>> (gw/bb_http.c:httpadmin_run) maps to pid 14654. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [1] DEBUG: Thread 1 >>>>>>>>>>>> (gwlib/fdset.c:poller) maps to pid 14654. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [4] DEBUG: Thread 4 >>>>>>>>>>>> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 14654. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [5] DEBUG: Thread 5 >>>>>>>>>>>> (gw/bb_boxc.c:smsboxc_run) maps to pid 14654. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [6] DEBUG: Thread 6 >>>>>>>>>>>> (gw/smsc/smsc_smpp.c:io_thread) maps to pid 14654. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] DEBUG: Started thread 6 >>>>>>>>>>>> (gw/smsc/smsc_smpp.c:io_thread) >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [6] INFO: Logging thread `6' >>>>>>>>>>>> to >>>>>>>>>>>> logfile `/var/log/kannel/o2.log' with level `0'. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] DEBUG: Started thread 7 >>>>>>>>>>>> (gw/bb_smscconn.c:sms_router) >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] INFO: >>>>>>>>>>>> ---------------------------------------- >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] INFO: Kannel bearerbox II >>>>>>>>>>>> version 1.4.3 starting >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] INFO: Loading store file >>>>>>>>>>>> `/var/log/kannel/kannel.store' >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] INFO: Store-file size >>>>>>>>>>>> 206, >>>>>>>>>>>> starting to unpack >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] INFO: Retrieved 1 >>>>>>>>>>>> messages, >>>>>>>>>>>> non-acknowledged messages: 1 >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] DEBUG: Started thread 8 >>>>>>>>>>>> (gw/bb_store_file.c:store_dumper) >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [0] INFO: MAIN: Start-up >>>>>>>>>>>> done, >>>>>>>>>>>> entering mainloop >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [7] DEBUG: Thread 7 >>>>>>>>>>>> (gw/bb_smscconn.c:sms_router) maps to pid 14654. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [7] DEBUG: sms_router: >>>>>>>>>>>> handling >>>>>>>>>>>> message (0x9153a40 vs 0x9153a40) >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [7] DEBUG: Routing failed, >>>>>>>>>>>> re-queued. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [7] DEBUG: sms_router: >>>>>>>>>>>> handling >>>>>>>>>>>> message (0x9153a40 vs 0x9153a40) >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [8] DEBUG: Thread 8 >>>>>>>>>>>> (gw/bb_store_file.c:store_dumper) maps to pid 14654. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [7] DEBUG: Routing failed, >>>>>>>>>>>> re-queued. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [7] DEBUG: sms_router: time >>>>>>>>>>>> to >>>>>>>>>>>> sleep 30.00 secs. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [7] DEBUG: sms_router: >>>>>>>>>>>> gwlist_len = 1 >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [7] DEBUG: sms_router: >>>>>>>>>>>> handling >>>>>>>>>>>> message (0x9153a40 vs 0x9153a40) >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [7] DEBUG: Routing failed, >>>>>>>>>>>> re-queued. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [7] DEBUG: sms_router: >>>>>>>>>>>> handling >>>>>>>>>>>> message (0x9153a40 vs 0x9153a40) >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [7] DEBUG: Routing failed, >>>>>>>>>>>> re-queued. >>>>>>>>>>>> 2009-04-17 10:54:08 [14654] [7] DEBUG: sms_router: time >>>>>>>>>>>> to >>>>>>>>>>>> sleep 30.00 secs. >>>>>>>>>>>> 2009-04-17 10:54:11 [14654] [5] INFO: Client connected >>>>>>>>>>>> from >>>>>>>>>>>> <127.0.0.1> >>>>>>>>>>>> 2009-04-17 10:54:11 [14654] [5] DEBUG: Started thread 9 >>>>>>>>>>>> (gw/bb_boxc.c:function) >>>>>>>>>>>> 2009-04-17 10:54:11 [14654] [9] DEBUG: Thread 9 >>>>>>>>>>>> (gw/bb_boxc.c:function) maps to pid 14654. >>>>>>>>>>>> 2009-04-17 10:54:11 [14654] [9] DEBUG: Started thread 10 >>>>>>>>>>>> (gw/bb_boxc.c:boxc_sender) >>>>>>>>>>>> 2009-04-17 10:54:11 [14654] [10] DEBUG: Thread 10 >>>>>>>>>>>> (gw/bb_boxc.c:boxc_sender) maps to pid 14654. >>>>>>>>>>>> 2009-04-17 10:54:28 [14654] [8] DEBUG: Dumping 1 messages >>>>>>>>>>>> to >>>>>>>>>>>> store >>>>>>>>>>>> 2009-04-17 10:54:38 [14654] [7] DEBUG: sms_router: >>>>>>>>>>>> gwlist_len = 1 >>>>>>>>>>>> 2009-04-17 10:54:38 [14654] [7] DEBUG: sms_router: >>>>>>>>>>>> handling >>>>>>>>>>>> message (0x9153a40 vs 0x9153a40) >>>>>>>>>>>> 2009-04-17 10:54:38 [14654] [7] DEBUG: Routing failed, >>>>>>>>>>>> re-queued. >>>>>>>>>>>> 2009-04-17 10:54:38 [14654] [7] DEBUG: sms_router: >>>>>>>>>>>> handling >>>>>>>>>>>> message (0x9153a40 vs 0x9153a40) >>>>>>>>>>>> 2009-04-17 10:54:38 [14654] [7] DEBUG: Routing failed, >>>>>>>>>>>> re-queued. >>>>>>>>>>>> 2009-04-17 10:54:38 [14654] [7] DEBUG: sms_router: time >>>>>>>>>>>> to >>>>>>>>>>>> sleep 30.00 secs. >>>>>>>>>>>> 2009-04-17 10:55:08 [14654] [7] DEBUG: sms_router: >>>>>>>>>>>> gwlist_len = 1 >>>>>>>>>>>> 2009-04-17 10:55:08 [14654] [7] DEBUG: sms_router: >>>>>>>>>>>> handling >>>>>>>>>>>> message (0x9153a40 vs 0x9153a40) >>>>>>>>>>>> 2009-04-17 10:55:08 [14654] [7] DEBUG: Routing failed, >>>>>>>>>>>> re-queued. >>>>>>>>>>>> 2009-04-17 10:55:08 [14654] [7] DEBUG: sms_router: >>>>>>>>>>>> handling >>>>>>>>>>>> message (0x9153a40 vs 0x9153a40) >>>>>>>>>>>> 2009-04-17 10:55:08 [14654] [7] DEBUG: Routing failed, >>>>>>>>>>>> re-queued. >>>>>>>>>>>> 2009-04-17 10:55:08 [14654] [7] DEBUG: sms_router: time >>>>>>>>>>>> to >>>>>>>>>>>> sleep 30.00 secs. >>>>>>>>>>>> 2009-04-17 10:55:38 [14654] [7] DEBUG: sms_router: >>>>>>>>>>>> gwlist_len = 1 >>>>>>>>>>>> 2009-04-17 10:55:38 [14654] [7] DEBUG: sms_router: >>>>>>>>>>>> handling >>>>>>>>>>>> message (0x9153a40 vs 0x9153a40) >>>>>>>>>>>> 2009-04-17 10:55:38 [14654] [7] DEBUG: Routing failed, >>>>>>>>>>>> re-queued. >>>>>>>>>>>> 2009-04-17 10:55:38 [14654] [7] DEBUG: sms_router: >>>>>>>>>>>> handling >>>>>>>>>>>> message (0x9153a40 vs 0x9153a40) >>>>>>>>>>>> 2009-04-17 10:55:38 [14654] [7] DEBUG: Routing failed, >>>>>>>>>>>> re-queued. >>>>>>>>>>>> 2009-04-17 10:55:38 [14654] [7] DEBUG: sms_router: time >>>>>>>>>>>> to >>>>>>>>>>>> sleep 30.00 secs. >>>>>>>>>>>> Thanks >>>>>>>>>>>> Tony >>>>>>>>>>>> ----- Original Message ----- >>>>>>>>>>>> >>>>>>>>>>>> *From:* Tharanga <mailto:[email protected]> >>>>>>>>>>>> *To:* Tharanga <mailto:[email protected]> >>>>>>>>>>>> *Cc:* Tony <mailto:[email protected]> ; >>>>>>>>>>>> [email protected] <mailto:[email protected]> >>>>>>>>>>>> *Sent:* Friday, April 17, 2009 10:39 AM >>>>>>>>>>>> *Subject:* Re: Kannel not connecting to smsc >>>>>>>>>>>> >>>>>>>>>>>> change the log level to 0 and try....sorry i didnt >>>>>>>>>>>> see that. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Tharanga Abeyseela >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Tharanga wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Are u running kannel under root permission ? may >>>>>>>>>>>>> be a >>>>>>>>>>>>> permission problem ? >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Tharanga Abeyseela >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Tony wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> I have kannel installed and running fine and I’m >>>>>>>>>>>>>> able >>>>>>>>>>>>>> to submit messages to the server using HTTP. >>>>>>>>>>>>>> >>>>>>>>>>>>>> However I can’t see any activity in the log files >>>>>>>>>>>>>> suggesting kannel is trying to connect to my smsc >>>>>>>>>>>>>> and >>>>>>>>>>>>>> send the messages. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Even on startup I can’t find any mention in the log >>>>>>>>>>>>>> files of it trying to bind to my smsc. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Am I doing something wrong? >>>>>>>>>>>>>> >>>>>>>>>>>>>> Here is my kannel.conf file below. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thanks In Advance. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Tony >>>>>>>>>>>>>> >>>>>>>>>>>>>> # CORE >>>>>>>>>>>>>> >>>>>>>>>>>>>> group = core >>>>>>>>>>>>>> >>>>>>>>>>>>>> admin-port = 13000 >>>>>>>>>>>>>> >>>>>>>>>>>>>> smsbox-port = 13001 >>>>>>>>>>>>>> >>>>>>>>>>>>>> admin-password = k...@nn3l >>>>>>>>>>>>>> >>>>>>>>>>>>>> status-password = k...@nn3l >>>>>>>>>>>>>> >>>>>>>>>>>>>> log-file = "/var/log/kannel/kannel.log" >>>>>>>>>>>>>> >>>>>>>>>>>>>> log-level = 4 >>>>>>>>>>>>>> >>>>>>>>>>>>>> box-allow-ip = "*.*.*.*" >>>>>>>>>>>>>> >>>>>>>>>>>>>> access-log = "/var/log/kannel/access" >>>>>>>>>>>>>> >>>>>>>>>>>>>> store-file = "/var/log/kannel/kannel.store" >>>>>>>>>>>>>> >>>>>>>>>>>>>> #--------------------------------------------- >>>>>>>>>>>>>> >>>>>>>>>>>>>> # SMSC CONNECTIONS >>>>>>>>>>>>>> >>>>>>>>>>>>>> group = smsc >>>>>>>>>>>>>> >>>>>>>>>>>>>> smsc = smpp >>>>>>>>>>>>>> >>>>>>>>>>>>>> host = <ip address removed> >>>>>>>>>>>>>> >>>>>>>>>>>>>> port = 8100 >>>>>>>>>>>>>> >>>>>>>>>>>>>> smsc-username = username >>>>>>>>>>>>>> >>>>>>>>>>>>>> smsc-password = password >>>>>>>>>>>>>> >>>>>>>>>>>>>> smsc-id = link0 >>>>>>>>>>>>>> >>>>>>>>>>>>>> source-addr-ton= "NULL" >>>>>>>>>>>>>> >>>>>>>>>>>>>> source-addr-npi= "NULL" >>>>>>>>>>>>>> >>>>>>>>>>>>>> dest-addr-ton= "NULL" >>>>>>>>>>>>>> >>>>>>>>>>>>>> dest-addr-npi= "NULL" >>>>>>>>>>>>>> >>>>>>>>>>>>>> #preferred-smsc-id = link0 >>>>>>>>>>>>>> >>>>>>>>>>>>>> #allowed-smsc-id = link0;link1 >>>>>>>>>>>>>> >>>>>>>>>>>>>> keepalive = 25 >>>>>>>>>>>>>> >>>>>>>>>>>>>> interface-version=34 >>>>>>>>>>>>>> >>>>>>>>>>>>>> system-type= "NULL" >>>>>>>>>>>>>> >>>>>>>>>>>>>> address-range = "NULL" >>>>>>>>>>>>>> >>>>>>>>>>>>>> group = smsbox >>>>>>>>>>>>>> >>>>>>>>>>>>>> bearerbox-host = localhost >>>>>>>>>>>>>> >>>>>>>>>>>>>> sendsms-port = 13131 >>>>>>>>>>>>>> >>>>>>>>>>>>>> sendsms-chars = "0123456789" >>>>>>>>>>>>>> >>>>>>>>>>>>>> global-sender = 123456 >>>>>>>>>>>>>> >>>>>>>>>>>>>> access-log = "/var/log/kannel/access" >>>>>>>>>>>>>> >>>>>>>>>>>>>> log-file = "/var/log/kannel/smsbox.log" >>>>>>>>>>>>>> >>>>>>>>>>>>>> log-level = 4 >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>> >> > >
