Check your web server logs.
On Mon, Jul 14, 2014 at 12:56 PM, Antonis Spirou <[email protected]> wrote: > You should see the http hit on smsbox.access. > If not, then there's something wrong on your php script. > > A stupid question, is 127.0.0.1 in the same server as your php script? > > > BR > *Antonis Spirou* > Systems Administrator > > > On 07/14/2014 10:40 AM, Fakirchand Patidar wrote: > > Hi, > > According to you smsbox connects to bearerbox at 127.0.0.1:13001 port. > > *This is the status of Kannel:* > > Kannel bearerbox version `1.4.3'. Build `Jul 10 2014 12:02:00', compiler > `4.8.3'. System CYGWIN_NT-6.1, release 1.7.30(0.272/5/3), version > 2014-05-23 10:36, machine i686. Hostname Patidar.it.bulk24sms.net, IP > 192.168.1.2. Libxml version 2.9.1. Using OpenSSL 1.0.1h 5 Jun 2014. > Compiled with MySQL 5.5.35, using MySQL 5.5.35. Using native malloc. > > Status: running, uptime 0d 0h 0m 46s > > WDP: received 0 (0 queued), sent 0 (0 queued) > > SMS: received 0 (0 queued), sent 0 (0 queued), store size -1 > > SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec > > DLR: 0 queued, using internal storage > > Box connections: > smsbox:mysmsbox, IP 127.0.0.1 (0 queued), (on-line 0d 0h 0m 34s) > SMSC connections: > *mysmsc1* SMPP:127.0.0.1:1111/1111:test1:CMT (online 45s, rcvd 0, > sent 0, failed 0, queued 0 msgs) > > *This is the log file kannel.log*: > > 2014-07-14 13:00:44 [3588] [0] INFO: Added logfile `mykannel.log' with > level `0'. > 2014-07-14 13:00:44 [3588] [0] INFO: Started access logfile `myaccess.log'. > 2014-07-14 13:00:44 [3588] [0] INFO: HTTP: Opening server at port 13000. > 2014-07-14 13:00:44 [3588] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps > to pid 3588. > 2014-07-14 13:00:44 [3588] [0] DEBUG: Started thread 1 > (gwlib/fdset.c:poller) > 2014-07-14 13:00:44 [3588] [2] DEBUG: Thread 2 > (gwlib/http.c:server_thread) maps to pid 3588. > 2014-07-14 13:00:44 [3588] [0] DEBUG: Started thread 2 > (gwlib/http.c:server_thread) > 2014-07-14 13:00:44 [3588] [0] DEBUG: Started thread 3 > (gw/bb_http.c:httpadmin_run) > 2014-07-14 13:00:44 [3588] [3] DEBUG: Thread 3 > (gw/bb_http.c:httpadmin_run) maps to pid 3588. > 2014-07-14 13:00:44 [3588] [0] DEBUG: starting smsbox connection module > 2014-07-14 13:00:44 [3588] [0] DEBUG: Adding smsbox routing to id > <mysmsbox> for smsc id <mysmsc1> > 2014-07-14 13:00:44 [3588] [0] DEBUG: Started thread 4 > (gw/bb_boxc.c:sms_to_smsboxes) > 2014-07-14 13:00:44 [3588] [4] DEBUG: Thread 4 > (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 3588. > 2014-07-14 13:00:44 [3588] [0] DEBUG: Started thread 5 > (gw/bb_boxc.c:smsboxc_run) > 2014-07-14 13:00:44 [3588] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) > maps to pid 3588. > 2014-07-14 13:00:44 [3588] [0] INFO: Set SMS resend frequency to 1 seconds. > 2014-07-14 13:00:44 [3588] [0] INFO: SMS resend retry set to -1. > 2014-07-14 13:00:44 [3588] [0] DEBUG: smsbox MO concatenated message > handling enabled > 2014-07-14 13:00:44 [3588] [0] INFO: Set throughput to 10000000.000 for > smsc id <mysmsc1> > 2014-07-14 13:00:44 [3588] [0] INFO: DLR rerouting for smsc id <mysmsc1> > enabled. > 2014-07-14 13:00:44 [3588] [0] INFO: Added logfile `mysmsc1.log' with > level `0'. > 2014-07-14 13:00:44 [3588] [0] WARNING: Both 'allowed-smsc-id' and > 'denied-smsc-id' set, deny-list automatically ignored > 2014-07-14 13:00:45 [3588] [0] DEBUG: Started thread 6 > (gw/smsc/smsc_smpp.c:io_thread) > 2014-07-14 13:00:45 [3588] [6] DEBUG: Thread 6 > (gw/smsc/smsc_smpp.c:io_thread) maps to pid 3588. > 2014-07-14 13:00:45 [3588] [6] INFO: Logging thread `6' to logfile > `mysmsc1.log' with level `0'. > 2014-07-14 13:00:45 [3588] [0] INFO: Set throughput to 10000000.000 for > smsc id <mysmsc2> > 2014-07-14 13:00:45 [3588] [0] INFO: DLR rerouting for smsc id <mysmsc2> > enabled. > 2014-07-14 13:00:45 [3588] [0] INFO: Added logfile `mysmsc2.log' with > level `0'. > 2014-07-14 13:00:45 [3588] [0] WARNING: Both 'allowed-smsc-id' and > 'denied-smsc-id' set, deny-list automatically ignored > 2014-07-14 13:00:45 [3588] [0] DEBUG: Started thread 7 > (gw/smsc/smsc_smpp.c:io_thread) > 2014-07-14 13:00:45 [3588] [7] DEBUG: Thread 7 > (gw/smsc/smsc_smpp.c:io_thread) maps to pid 3588. > 2014-07-14 13:00:45 [3588] [7] INFO: Logging thread `7' to logfile > `mysmsc2.log' with level `0'. > 2014-07-14 13:00:45 [3588] [0] INFO: Set throughput to 10000000.000 for > smsc id <mysmsc3> > 2014-07-14 13:00:45 [3588] [0] INFO: DLR rerouting for smsc id <mysmsc3> > enabled. > 2014-07-14 13:00:45 [3588] [0] INFO: Added logfile `mysmsc3.log' with > level `0'. > 2014-07-14 13:00:45 [3588] [0] WARNING: Both 'allowed-smsc-id' and > 'denied-smsc-id' set, deny-list automatically ignored > 2014-07-14 13:00:45 [3588] [8] DEBUG: Thread 8 > (gw/smsc/smsc_smpp.c:io_thread) maps to pid 3588. > 2014-07-14 13:00:45 [3588] [8] INFO: Logging thread `8' to logfile > `mysmsc3.log' with level `0'. > 2014-07-14 13:00:45 [3588] [0] DEBUG: Started thread 8 > (gw/smsc/smsc_smpp.c:io_thread) > 2014-07-14 13:00:45 [3588] [0] INFO: Set throughput to 10000000.000 for > smsc id <mysmsc4> > 2014-07-14 13:00:45 [3588] [0] INFO: DLR rerouting for smsc id <mysmsc4> > enabled. > 2014-07-14 13:00:45 [3588] [0] INFO: Added logfile `mysmsc4.log' with > level `0'. > 2014-07-14 13:00:45 [3588] [0] WARNING: Both 'allowed-smsc-id' and > 'denied-smsc-id' set, deny-list automatically ignored > 2014-07-14 13:00:45 [3588] [0] DEBUG: Started thread 9 > (gw/smsc/smsc_smpp.c:io_thread) > 2014-07-14 13:00:45 [3588] [9] DEBUG: Thread 9 > (gw/smsc/smsc_smpp.c:io_thread) maps to pid 3588. > 2014-07-14 13:00:45 [3588] [9] INFO: Logging thread `9' to logfile > `mysmsc4.log' with level `0'. > 2014-07-14 13:00:45 [3588] [0] DEBUG: Started thread 10 > (gw/smsc/smsc_smpp.c:io_thread) > 2014-07-14 13:00:45 [3588] [10] DEBUG: Thread 10 > (gw/smsc/smsc_smpp.c:io_thread) maps to pid 3588. > 2014-07-14 13:00:45 [3588] [10] INFO: Logging thread `10' to logfile > `mysmsc5.log' with level `0'. > 2014-07-14 13:00:45 [3588] [11] DEBUG: Thread 11 > (gw/bb_smscconn.c:sms_router) maps to pid 3588. > 2014-07-14 13:00:45 [3588] [0] DEBUG: Started thread 11 > (gw/bb_smscconn.c:sms_router) > 2014-07-14 13:00:45 [3588] [0] INFO: > ---------------------------------------- > 2014-07-14 13:00:45 [3588] [0] INFO: Kannel bearerbox II version 1.4.3 > starting > 2014-07-14 13:00:45 [3588] [0] INFO: MAIN: Start-up done, entering mainloop > 2014-07-14 13:00:56 [3588] [5] INFO: Client connected from <127.0.0.1> > 2014-07-14 13:00:56 [3588] [5] DEBUG: Started thread 12 > (gw/bb_boxc.c:function) > 2014-07-14 13:00:56 [3588] [12] DEBUG: Thread 12 (gw/bb_boxc.c:function) > maps to pid 3588. > 2014-07-14 13:00:56 [3588] [12] DEBUG: Started thread 13 > (gw/bb_boxc.c:boxc_sender) > 2014-07-14 13:00:56 [3588] [13] DEBUG: Thread 13 > (gw/bb_boxc.c:boxc_sender) maps to pid 3588. > 2014-07-14 13:00:56 [3588] [12] DEBUG: boxc_receiver: got boxc_id > <mysmsbox> from <127.0.0.1> > > *This is the log file smsbox.log*: > > 2014-07-14 13:00:56 [5748] [0] INFO: Added logfile `mysmsbox.log' with > level `0'. > 2014-07-14 13:00:56 [5748] [0] INFO: Service global sender set as '123456' > 2014-07-14 13:00:56 [5748] [0] INFO: HTTP: Opening server at port 13013. > 2014-07-14 13:00:56 [5748] [0] DEBUG: Started thread 1 > (gwlib/fdset.c:poller) > 2014-07-14 13:00:56 [5748] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps > to pid 5748. > 2014-07-14 13:00:56 [5748] [0] DEBUG: Started thread 2 > (gwlib/http.c:server_thread) > 2014-07-14 13:00:56 [5748] [2] DEBUG: Thread 2 > (gwlib/http.c:server_thread) maps to pid 5748. > 2014-07-14 13:00:56 [5748] [0] INFO: Set up send sms service at port 13013 > 2014-07-14 13:00:56 [5748] [3] DEBUG: Thread 3 > (gw/smsbox.c:sendsms_thread) maps to pid 5748. > 2014-07-14 13:00:56 [5748] [0] DEBUG: Started thread 3 > (gw/smsbox.c:sendsms_thread) > 2014-07-14 13:00:56 [5748] [0] DEBUG: Using proxy <123.236.192.200:2083> > with HTTP scheme > 2014-07-14 13:00:56 [5748] [0] DEBUG: > ---------------------------------------------- > 2014-07-14 13:00:56 [5748] [0] DEBUG: Kannel smsbox version 1.4.3 starting > 2014-07-14 13:00:56 [5748] [0] DEBUG: dumping group (sendsms-user): > 2014-07-14 13:00:56 [5748] [0] DEBUG: <name> = <mysendsmsuser1> > 2014-07-14 13:00:56 [5748] [0] DEBUG: <group> = <sendsms-user> > 2014-07-14 13:00:56 [5748] [0] DEBUG: <forced-smsc> = <mysmsc1> > 2014-07-14 13:00:56 [5748] [0] DEBUG: <username> = <tester1> > 2014-07-14 13:00:56 [5748] [0] DEBUG: <password> = <tester1> > 2014-07-14 13:00:56 [5748] [4] DEBUG: Thread 4 > (gw/smsbox.c:obey_request_thread) maps to pid 5748. > 2014-07-14 13:00:56 [5748] [0] DEBUG: Started thread 4 > (gw/smsbox.c:obey_request_thread) > 2014-07-14 13:00:56 [5748] [0] DEBUG: Started thread 5 > (gw/smsbox.c:url_result_thread) > 2014-07-14 13:00:56 [5748] [5] DEBUG: Thread 5 > (gw/smsbox.c:url_result_thread) maps to pid 5748. > 2014-07-14 13:00:56 [5748] [0] DEBUG: Started thread 6 > (gw/smsbox.c:http_queue_thread) > 2014-07-14 13:00:56 [5748] [6] DEBUG: Thread 6 > (gw/smsbox.c:http_queue_thread) maps to pid 5748. > 2014-07-14 13:00:56 [5748] [0] INFO: Connected to bearerbox at 127.0.0.1 > port 13001. > 2014-07-14 13:00:56 [5748] [7] DEBUG: Thread 7 > (gw/heartbeat.c:heartbeat_thread) maps to pid 5748. > 2014-07-14 13:00:56 [5748] [0] DEBUG: Started thread 7 > (gw/heartbeat.c:heartbeat_thread) > > > ========================================================================================== > > Now I'm sending sms from remote http server " > http://www.educoordinator.com/sms/snd-bulk-sms.php" > > This is my sendsms url: > > > http://127.0.0.1:13013/cgi-bin/sendsms?username=tester1&password=tester1&to=9754178790&from=123456&text=Hello+World > > This parameters is passed from http form. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *This is my kannel configuration: > #------------------------------------------------------------------------------------------------------------------------------------------------------------- > # Single Group "CORE" > #------------------------------------------------------------------------------------------------------------------------------------------------------------- > group = core admin-port = "13000" admin-password = "bulksms" > status-password = "bulksms" smsbox-port = "13001" log-file = "kannel.log" > log-level = "0" access-log = "myaccess.log" dlr-storage = "internal" > sms-incoming-queue-limit = "-1" sms-outgoing-queue-limit = "1000000" > sms-resend-freq = "1" sms-resend-retry = "-1" smsbox-max-pending = > "1000000" http-proxy-host="123.236.192.200" http-proxy-port="2083" > #------------------------------------------------------------------------------------------------------------------------------------------------------------- > # Single Group "smsbox" > #------------------------------------------------------------------------------------------------------------------------------------------------------------- > group = smsbox smsbox-id = "mysmsbox" bearerbox-host = "127.0.0.1" > bearerbox-port = "13001" sendsms-port = "13013" log-file = "smsbox.log" > log-level = "0" sendsms-chars = "0123456789+ " global-sender = "123456" > max-pending-requests = "512" > #------------------------------------------------------------------------------------------------------------------------------------------------------------- > # Multi Group "SMSC" > #------------------------------------------------------------------------------------------------------------------------------------------------------------- > group = smsc smsc = "smpp" smsc-id = "mysmsc1" log-file = "mysmsc1.log" > log-level = "0" host = "127.0.0.1" port = "1111" smsc-username = "test1" > smsc-password = "test1" allowed-smsc-id = "mysmsc1" preferred-smsc-id = > "mysmsc1" source-addr-ton = "0" source-addr-npi = "1" dest-addr-ton = "1" > dest-addr-npi = "1" service-type = "CMT" validityperiod = "600" system-type > = "CMT" address-range = "^$" bind-addr-ton = "0" bind-addr-npi = "0" > enquire-link-interval = "20000" reconnect-delay = "60" transceiver-mode = > "true" interface-version = "34" connection-timeout = "200000" throughput = > "10000000.00" max-pending-submits="10" reroute-dlr="true" > #------------------------------------------------------------------------------------------------------------------------------------------------------------- > # Multi Group "smsbox-route" > #------------------------------------------------------------------------------------------------------------------------------------------------------------- > group = smsbox-route smsbox-id = "mysmsbox" smsc-id = "mysmsc1" #shortcode > = "1111" > #------------------------------------------------------------------------------------------------------------------------------------------------------------- > # Multi Group "sms-service" > #------------------------------------------------------------------------------------------------------------------------------------------------------------- > group = sms-service keyword = default text = "No service specified" > #------------------------------------------------------------------------------------------------------------------------------------------------------------- > # Multi Group "sendsms-user" > #------------------------------------------------------------------------------------------------------------------------------------------------------------- > group = sendsms-user name = "mysendsmsuser1" username = "tester1" password > = "tester1" forced-smsc = "mysmsc1" > #------------------------------------------------------------------------------------------------------------------------------------------------------------- > * > > Please check my configuration and suggest me that why http server is not > sending sms. > > > > > On Mon, Jul 14, 2014 at 12:43 PM, Antonis Spirou <[email protected]> > wrote: > >> Do you see any connection being made to Kannel? >> Check your logs (smsbox.*) to see if a connection is made to kannel >> >> BR >> *Antonis Spirou* >> Systems Administrator >> >> >> >> On 07/14/2014 09:50 AM, Fakirchand Patidar wrote: >> >> Hi Group, >> >> I'm hosting my sms appliication on remote http server " >> http://www.educoordinator.com/sms" and start bearerbox and smsbox at my >> localhost "127.0.0.1" on port 13000 & 13001 respectively. >> >> Now I'm sending sms from http server " >> http://educoordinator.com/sms/send-bulk-sms.php" >> then it is redirecting to page "send-sms.php". >> That page binds all parameters and append with url " >> http://127.0.0.1:13013/cgi-bin/sendsms?" but it is not sending sms to >> kannel smsbox. >> >> So please suggest me that is it right or wrong to connect kannel to http >> server or vise versa. >> >> Your valuable reply will be appreciable. >> >> --------------------------------- >> >> *Thanks & Regards, * >> *Fakirchand Patidar* >> >> >> > > > -- > --------------------------------- > > *Thanks & Regards, * > *Fakirchand Patidar* > Software Developer > Bulk24SMS Networks > Cell: +919754178790 > > >
