Thank you very much, it works. But sorry to annoy you once more, I have 1
more question to ask:

As soon as I select the option 'start simulation' and enter the port number,
I started getting the following msg at the smsc simulator console
Now if I want to send a msg, I select the option 'send message' and a prompt
appears asking me the destination name. Is it the destination phone number.
If I type a phone number nothing happens. Can you please explain to me how
to send a msg from the smsc to the bearerbox

Thanks in advance

03:17:10 [sys] new connection accepted
03:17:10 [] client request: (bindreq: (pdu: 44 2 0 32) pavel wpsd VMA 52
(addrrang: 0 0 127.0.0.1) )
03:17:10 [pavel] authenticated pavel
03:17:10 [pavel] server response: (bindresp: (pdu: 0 80000002 0 32) Smsc
Simulator)
03:17:10 [] client request: (bindreq: (pdu: 44 1 0 31) pavel wpsd VMA 52
(addrrang: 0 0 127.0.0.1) )
03:17:10 [pavel] authenticated pavel
03:17:10 [pavel] server response: (bindresp: (pdu: 0 80000001 0 31) Smsc
Simulator)

-----Original Message-----
From: Ricky Wibowo [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 24, 2005 2:58 PM
To: Gulshan Babajee
Cc: [email protected]
Subject: Re: Processing SMS (beginers question)


you must run SMSC Simulator and run at port 13005, with username and 
password in file users.txt



Gulshan Babajee wrote:

>Hi I've just downloaded the OpenSMPP application to be used as an smsc. 
>My kannel configuration file looks as follows:
>
># SMSC SMPP CONFIGURATION
>group = smsc
>smsc = smpp
>smsc-id = 1
>host = "127.0.0.1"
>port = "13005"
>receive-port = "13005"
>smsc-username = "sfr"
>smsc-password = "sfr2005"
>system-type = "VMA"
>address-range = "127.0.0.1"
>
>
>But now when I launch my bearer box I got the following errors:
>
>2005-06-24 14:45:53 [14279] [0] INFO: Added logfile 
>`/var/log/kannel.log' with level `0'. 2005-06-24 14:45:53 [14279] [0] 
>INFO: Started access logfile `/var/log/kannel-access.log'.
>2005-06-24 14:45:53 [14279] [0] INFO: HTTP: Opening server at port 13000.
>2005-06-24 14:45:53 [14279] [0] DEBUG: Started thread 1
>(gwlib/fdset.c:poller)
>2005-06-24 14:45:53 [14279] [0] DEBUG: Started thread 2
>(gwlib/http.c:server_thread)
>2005-06-24 14:45:53 [14301] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
>to pid 14301.
>2005-06-24 14:45:53 [14302] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread)
>maps to pid 14302.
>2005-06-24 14:45:53 [14279] [0] DEBUG: Started thread 3
>(gw/bb_http.c:httpadmin_run)
>2005-06-24 14:45:53 [14279] [0] DEBUG: starting smsbox connection module
>2005-06-24 14:45:53 [14279] [0] INFO: BOXC: 'smsbox-max-pending' not set,
>using default (100).
>2005-06-24 14:45:53 [14303] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run)
>maps to pid 14303.
>2005-06-24 14:45:53 [14279] [0] DEBUG: Started thread 4
>(gw/bb_boxc.c:sms_to_smsboxes)
>2005-06-24 14:45:53 [14279] [0] DEBUG: Started thread 5
>(gw/bb_boxc.c:smsboxc_run)
>2005-06-24 14:45:53 [14279] [0] INFO: DLR rerouting for smsc id <1>
>disabled.
>2005-06-24 14:45:53 [14304] [4] DEBUG: Thread 4
>(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 14304.
>2005-06-24 14:45:53 [14305] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
>maps to pid 14305.
>2005-06-24 14:45:53 [14279] [0] DEBUG: Started thread 6
>(gw/smsc/smsc_smpp.c:io_thread)
>2005-06-24 14:45:53 [14306] [6] DEBUG: Thread 6
>(gw/smsc/smsc_smpp.c:io_thread) maps to pid 14306.
>2005-06-24 14:45:53 [14306] [6] ERROR: connect failed
>2005-06-24 14:45:53 [14306] [6] ERROR: System error 111: Connection refused
>2005-06-24 14:45:53 [14306] [6] ERROR: error connecting to server
>`127.0.0.1' at port `13005'
>2005-06-24 14:45:53 [14306] [6] ERROR: SMPP[1]: Couldn't connect to server.
>2005-06-24 14:45:53 [14306] [6] ERROR: SMPP[1]: Couldn't connect to SMS
>center (retrying in 10 seconds).
>2005-06-24 14:45:53 [14279] [0] DEBUG: Started thread 7
>(gw/smsc/smsc_smpp.c:io_thread)
>2005-06-24 14:45:53 [14279] [0] DEBUG: Started thread 8
>(gw/bb_smscconn.c:sms_router)
>2005-06-24 14:45:53 [14279] [0] INFO:
>----------------------------------------
>2005-06-24 14:45:53 [14279] [0] INFO: Kannel bearerbox II version 1.4.0
>starting
>2005-06-24 14:45:53 [14279] [0] INFO: MAIN: Start-up done, entering
mainloop
>2005-06-24 14:45:53 [14307] [7] DEBUG: Thread 7
>(gw/smsc/smsc_smpp.c:io_thread) maps to pid 14307.
>2005-06-24 14:45:53 [14307] [7] ERROR: connect failed
>2005-06-24 14:45:53 [14307] [7] ERROR: System error 111: Connection refused
>2005-06-24 14:45:53 [14307] [7] ERROR: error connecting to server
>`127.0.0.1' at port `13005'
>2005-06-24 14:45:53 [14307] [7] ERROR: SMPP[1]: Couldn't connect to server.
>2005-06-24 14:45:53 [14307] [7] ERROR: SMPP[1]: Couldn't connect to SMS
>center (retrying in 10 seconds).
>2005-06-24 14:45:53 [14308] [8] DEBUG: Thread 8
>(gw/bb_smscconn.c:sms_router) maps to pid 14308.
>2005-06-24 14:45:53 [14308] [8] DEBUG: sms_router: time to sleep
>2005-06-24 14:45:53 [14308] [8] DEBUG: sms_router: list_len = 0
>2005-06-24 14:45:58 [14279] [0] WARNING: Killing signal or HTTP admin
>command received, shutting down...
>2005-06-24 14:45:58 [14279] [0] DEBUG: Shutting down Kannel...
>2005-06-24 14:45:58 [14279] [0] DEBUG: shutting down smsc
>2005-06-24 14:45:58 [14279] [0] DEBUG: Shutting down SMSCConn
>SMPP:127.0.0.1:13005/13005:sfr:VMA (slow)
>2005-06-24 14:45:58 [14306] [6] DEBUG: Thread 6
>(gw/smsc/smsc_smpp.c:io_thread) terminates.
>2005-06-24 14:45:58 [14307] [7] DEBUG: Thread 7
>(gw/smsc/smsc_smpp.c:io_thread) terminates.
>2005-06-24 14:45:58 [14279] [0] DEBUG: SMSCConn
>SMPP:127.0.0.1:13005/13005:sfr:VMA shut down.
>2005-06-24 14:45:58 [14304] [4] DEBUG: Thread 4
>(gw/bb_boxc.c:sms_to_smsboxes) terminates.
>2005-06-24 14:45:58 [14305] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
>terminates.
>2005-06-24 14:45:58 [14279] [0] INFO: All flow threads have died, killing
>core
>2005-06-24 14:45:58 [14279] [0] DEBUG: Waiting for 2
>(gwlib/http.c:server_thread) to terminate
>2005-06-24 14:45:58 [14303] [3] DEBUG: HTTP: No clients with requests,
>quitting.
>2005-06-24 14:45:58 [14303] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run)
>terminates.
>2005-06-24 14:45:58 [14308] [8] DEBUG: Thread 8
>(gw/bb_smscconn.c:sms_router) terminates.
>2005-06-24 14:45:58 [14302] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread)
>terminates.
>2005-06-24 14:45:58 [14301] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
>terminates.
>2005-06-24 14:45:58 [14279] [0] INFO: Total SMS messages: received 0, sent
0
>2005-06-24 14:45:58 [14279] [0] DEBUG: Immutable octet strings: 332.
>
>On the other side, I have launch the smpp application as said on the 
>site:
>>From the menu I entered the values for each question but got the 
>>following
>errors:
>
>Asynchronous/Synchronnous Session? (a/s) [a] a 
>Transmitter/Receiver/Transciever (t/r/tr) [tr] t IP address of SMSC 
>[158.234.96.68] 127.0.0.1 Port number [16272] 13005
>Your system ID [pavel] sfr
>Your password [wpsd] sfr2005
>Bind request (bindreq: (pdu: 0 2 0 [1]) sfr sfr2005 Logica 52 (addrrang: 1
1
>11*) )
>Bind operation failed. java.net.ConnectException: Connection refused
>
>Can you please explain to me how you did so that the smsc simulator 
>succeeded to connect to the bearerbox. Which application should I 
>launch first, the bearerbox or the smsc simulator
>
>Thanks in advance
>
>-----Original Message-----
>From: Jonas Zaveckas [mailto:[EMAIL PROTECTED]
>Sent: Thursday, June 23, 2005 11:13 AM
>To: [email protected]
>Subject: Processing SMS (beginers question)
>
>
>Hello,
>I need to create SMS based service - receive SMSes sent by users to 
>particular SMS number and reply them with response SMS. Kannel seems to 
>fit such simple requirement. After reading user documentation I've 
>found that sending SMS to some terminal is quite simple. However, the 
>way to get SMS'es sent by terminals remains unclear. I've create entry 
>in configuration smskannel.conf like this: ... group = sms-service 
>keyword = default post-url = 
>"http://localhost:8084/sender=%p&receiver=%P&smscid=%i&name=%
>n&coding=%c&charset=%C"
>catch-all = true
>..
>
>, have started socket server listening on 8084, but SMS'es do not 
>arrive. If I start fakesmsc like this: 'fakesmsc -i 0.1 -m 100 "100 200 
>text nop" "100 300 text echo this"' then SMS arrive to my server. But 
>if I generate SMS, say from SMSC simulator (got from
>'http://opensmpp.logica.com/introhtml/menu.htm')
>then from bearerbox log I can see that SMS reaches bearerbox, but it is 
>not seen in smsbox log and it is not received by my server.
>
>My complete smskannel.conf is attached.
>
>Jonas
>
>
>
>  
>

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.0/27 - Release Date: 23-06-2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.0/27 - Release Date: 23-06-2005
 

Reply via email to