Hello
Have you been able to fix this problem??
Thank you
Regards

dhcmega

On Wed, Dec 17, 2008 at 5:34 AM, Tharanga <[email protected]> wrote:

>  this is my config . but it depends on ur provider.
>
> group = smsc
> smsc-id = xxxxx
> smsc = smpp
> host = x.x.x.x
> port = xxxx
> denied-smsc-id = xxxxxx
> smsc-username = xxxxxxxxxxx
> smsc-password = xxxxxxxxxx
> interface-version = 0x34
> source-addr-ton = 1
> address-range = xcxxxxxxx
> source-addr-npi= 1
> dest-addr-ton = 1
> dest-addr-npi=1
> system-type = SMPP
> transceiver-mode=1
> alt-addr-charset=GSM
> validityperiod=5760
>
>
> Tharanga Abyeseela
>
> ----- Original Message -----
> *From:* Kaliya perumal <[email protected]>
> *To:* [email protected]
> *Sent:* Wednesday, December 17, 2008 11:59 AM
> *Subject:* Hi
>
> Hi
>
> whenever i send message i got *3:queued for later delivery* ,Message was
> not sent to the destination,where do make correction ,
>
> below is my kannel call
>
>
> http://127.0.1.1:13131/cgi-bin/sendsms?username=tester&password=foobar&from=919362968751&to=919986131642&text=samida&smsc-id=al&coding=0&dlr-mask=31
>
>
> group = core
> admin-port = 13000
> admin-password = foobar
> smsbox-port = 13003
> dlr-storage = internal
> admin-deny-ip = ""
> admin-allow-ip = "127.0.0.1, 11.11.11.11"
> smsbox-port = 13003
> box-deny-ip = ""
> box-allow-ip = "127.0.0.1,11.11.11.11"
> log-file = "/home/ubuntu/var/log/kannel_bearerbox.txt"
> log-level = 0
>
> group = smsc
> smsc = smpp
> smsc-id = al
> log-level = 0
> interface-version = 33
> host = xxx.xxx.xxx.xxx
> receive-port = xxxx
> smsc-username = xxx
> smsc-password = xxx
> system-type = ""
> address-range = ""
> transceiver-mode = true
> msg-id-type=0x00
> source-addr-autodetect = no
> source-addr-ton = 0
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
>
> group = smsbox
> smsbox-id = smsbox1
> bearerbox-host = 127.0.0.1
> sendsms-port = 13131
> sendsms-chars = "0123456789+#"
> access-log = "/home/ubuntu/tmp/access.log"
> log-file ="/home/ubuntu/var/log/kannel_bearerbox1.txt"
> log-level = 0
>
> group = smsbox-route
> smsbox-id = smsbox1
> shortcuts=""
>
> group = sendsms-user
> username = tester
> password = foobar
> #user-deny-ip = ""
> #user-allow-ip = "127.0.0.1, 11.11.11.11"
>
> My bearerbox result is
>
> 2008-12-17 06:23:01 [18392] [6] DEBUG: SMPP PDU dump ends.
> 2008-12-17 06:23:01 [18392] [6] DEBUG: SMPP[al]: Got PDU:
> 2008-12-17 06:23:01 [18392] [6] DEBUG: SMPP PDU 0x818ae78 dump:
> 2008-12-17 06:23:01 [18392] [6] DEBUG:   type_name: enquire_link_resp
> 2008-12-17 06:23:01 [18392] [6] DEBUG:   command_id: 2147483669 =
> 0x80000015
> 2008-12-17 06:23:01 [18392] [6] DEBUG:   command_status: 0 = 0x00000000
> 2008-12-17 06:23:01 [18392] [6] DEBUG:   sequence_number: 46 = 0x0000002e
> 2008-12-17 06:23:01 [18392] [6] DEBUG: SMPP PDU dump ends.
> 2008-12-17 06:23:17 [18392] [7] DEBUG: sms_router: gwlist_len = 1
> 2008-12-17 06:23:17 [18392] [7] DEBUG: sms_router: handling message
> (0x81858b8 vs 0x81858b8)
> 2008-12-17 06:23:17 [18392] [7] DEBUG: sms_router: handling message
> (0x81858b8 vs 0x81858b8)
> 2008-12-17 06:23:17 [18392] [7] DEBUG: sms_router: time to sleep 30.00
> secs.
> 2008-12-17 06:23:31 [18392] [6] DEBUG: SMPP[al]: Sending enquire link:
> 2008-12-17 06:23:31 [18392] [6] DEBUG: SMPP PDU 0x818ae78 dump:
> 2008-12-17 06:23:31 [18392] [6] DEBUG:   type_name: enquire_link
> 2008-12-17 06:23:31 [18392] [6] DEBUG:   command_id: 21 = 0x00000015
> 2008-12-17 06:23:31 [18392] [6] DEBUG:   command_status: 0 = 0x00000000
> 2008-12-17 06:23:31 [18392] [6] DEBUG:   sequence_number: 47 = 0x0000002f
> 2008-12-17 06:23:31 [18392] [6] DEBUG: SMPP PDU dump ends.
> 2008-12-17 06:23:32 [18392] [6] DEBUG: SMPP[al]: Got PDU:
> 2008-12-17 06:23:32 [18392] [6] DEBUG: SMPP PDU 0x818ae78 dump:
> 2008-12-17 06:23:32 [18392] [6] DEBUG:   type_name: enquire_link_resp
> 2008-12-17 06:23:32 [18392] [6] DEBUG:   command_id: 2147483669 =
> 0x80000015
> 2008-12-17 06:23:32 [18392] [6] DEBUG:   command_status: 0 = 0x00000000
> 2008-12-17 06:23:32 [18392] [6] DEBUG:   sequence_number: 47 = 0x0000002f
> 2008-12-17 06:23:32 [18392] [6] DEBUG: SMPP PDU dump ends.
> 2008-12-17 06:23:47 [18392] [7] DEBUG: sms_router: gwlist_len = 1
> 2008-12-17 06:23:47 [18392] [7] DEBUG: sms_router: handling message
> (0x81858b8 vs 0x81858b8)
> 2008-12-17 06:23:47 [18392] [7] DEBUG: sms_router: handling message
> (0x81858b8 vs 0x81858b8)
> 2008-12-17 06:23:47 [18392] [7] DEBUG: sms_router: time to sleep 30.00
> secs.
>
> These above lines are repeating many times
>
> My smsbox result is
>
> 2008-12-17 06:00:47 [18401] [0] INFO: Starting to log to file
> /home/ubuntu/var/log/kannel_bearerbox1.txt level 0
> 2008-12-17 06:00:47 [18401] [0] INFO: Added logfile
> `/home/ubuntu/var/log/kannel_bearerbox1.txt' with level `0'.
> 2008-12-17 06:00:47 [18401] [0] INFO: Logging accesses to
> '/home/ubuntu/tmp/access.log'.
> 2008-12-17 06:00:47 [18401] [0] INFO: Started access logfile
> `/home/ubuntu/tmp/access.log'.
> 2008-12-17 06:00:47 [18401] [0] INFO: HTTP: Opening server at port 13131.
> 2008-12-17 06:00:47 [18401] [0] DEBUG: Started thread 1
> (gwlib/fdset.c:poller)
> 2008-12-17 06:00:47 [18401] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
> to pid 18401.
> 2008-12-17 06:00:47 [18401] [2] DEBUG: Thread 2
> (gwlib/http.c:server_thread) maps to pid 18401.
> 2008-12-17 06:00:47 [18401] [0] DEBUG: Started thread 2
> (gwlib/http.c:server_thread)
> 2008-12-17 06:00:47 [18401] [0] INFO: Set up send sms service at port 13131
> 2008-12-17 06:00:47 [18401] [0] DEBUG: Started thread 3
> (gw/smsbox.c:sendsms_thread)
> 2008-12-17 06:00:47 [18401] [0] DEBUG:
> ----------------------------------------------
> 2008-12-17 06:00:47 [18401] [0] DEBUG: Kannel smsbox version 1.4.1 starting
> 2008-12-17 06:00:47 [18401] [3] DEBUG: Thread 3
> (gw/smsbox.c:sendsms_thread) maps to pid 18401.
> 2008-12-17 06:00:47 [18401] [0] DEBUG: Started thread 4
> (gw/smsbox.c:obey_request_thread)
> 2008-12-17 06:00:47 [18401] [4] DEBUG: Thread 4
> (gw/smsbox.c:obey_request_thread) maps to pid 18401.
> 2008-12-17 06:00:47 [18401] [5] DEBUG: Thread 5
> (gw/smsbox.c:url_result_thread) maps to pid 18401.
> 2008-12-17 06:00:47 [18401] [0] DEBUG: Started thread 5
> (gw/smsbox.c:url_result_thread)
> 2008-12-17 06:00:47 [18401] [0] DEBUG: Started thread 6
> (gw/smsbox.c:http_queue_thread)
> 2008-12-17 06:00:47 [18401] [6] DEBUG: Thread 6
> (gw/smsbox.c:http_queue_thread) maps to pid 18401.
> 2008-12-17 06:00:47 [18401] [0] INFO: Connected to bearerbox at 127.0.0.1
> port 13003.
> 2008-12-17 06:00:47 [18401] [7] DEBUG: Thread 7
> (gw/heartbeat.c:heartbeat_thread) maps to pid 18401.
> 2008-12-17 06:00:47 [18401] [0] DEBUG: Started thread 7
> (gw/heartbeat.c:heartbeat_thread)
> 2008-12-17 06:02:47 [18401] [2] DEBUG: HTTP: Creating HTTPClient for
> `127.0.1.1'.
> 2008-12-17 06:02:47 [18401] [2] DEBUG: HTTP: Created HTTPClient area
> 0x81448a8.
> 2008-12-17 06:02:47 [18401] [3] INFO: smsbox: Got HTTP request
> </cgi-bin/sendsms> from <127.0.1.1>
> 2008-12-17 06:02:47 [18401] [3] INFO: sendsms used by <tester>
> 2008-12-17 06:02:47 [18401] [3] INFO: sendsms sender:<tester:919362968751>
> (127.0.1.1) to:<919986131642> msg:<samida>
> 2008-12-17 06:02:47 [18401] [3] DEBUG: Stored UUID
> 2ba1e611-c7f8-4ded-936a-b908d84cf98e
> 2008-12-17 06:02:47 [18401] [3] DEBUG: message length 6, sending 1 messages
> 2008-12-17 06:02:47 [18401] [3] DEBUG: Status: 202 Answer: <Sent.>
> 2008-12-17 06:02:47 [18401] [3] DEBUG: Delayed reply - wait for bearerbox
> 2008-12-17 06:02:47 [18401] [0] DEBUG: Got ACK (3) of
> 2ba1e611-c7f8-4ded-936a-b908d84cf98e
> 2008-12-17 06:02:47 [18401] [0] DEBUG: HTTP: Resetting HTTPClient for
> `127.0.1.1'.
> 2008-12-17 06:03:47 [18401] [1] DEBUG: Timeout for fd:24 appeares.
> 2008-12-17 06:03:47 [18401] [1] DEBUG: HTTP: Destroying HTTPClient area
> 0x81448a8.
> 2008-12-17 06:03:47 [18401] [1] DEBUG: HTTP: Destroying HTTPClient for
> `127.0.1.1'.
>
>
> With regards
> Kaliyaperumal.M
>
>
>
>
>
>
>
>
>

Reply via email to