A2PService Type | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through August 22, 2012 ⬆ |
◄ ► |
Author | Message | |||
venkat New member Username: Venkatr26 Post Number: 1 Registered: 03-2012 |
I want to send a SMS Message but the Service Type should be A2P. I checked out in the GUI of nowsms but I am not able to locate it ? Is there a file or a place in the GUI where I can define the Service Type A2P. Can someone please guide me ? | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3877 Registered: 08-2008 |
Hi, There are two ways to set it ... On a per-message basis, include the &ServiceType=xxx parameter to the HTTP request. Or to set a default service type value for all messages sent via a particular SMPP connection, edit SMSGW.INI, and under the section header for the appropriate connection (e.g., [SMPP - server:port]) add ServiceType=xxx -- Des NowSMS Support | |||
venkat New member Username: Venkatr26 Post Number: 2 Registered: 03-2012 |
Hi Des , Thanks a lot for the guidance. As of now, I am using nowsms as smpp server for another Ad -Serving application . I have created a smpp Connection Type in nowsms smpp over tcp/ip) and the server hostname is the Application and the port is smpp proxy of the Application. Secondly, I have also created a user and enabled SMPP server for that user in nowsms.SMPP Server is Enabled in nowsms. While Testing the connecting using the test option, what is happening it connects sucessfully on the smmp server port , BOUND_TX and then it unbounds. Please find the snippet of the log below . Can you please guide me why this is happening. 2012-03-29 16:41:00.225 - [ ] [SMPP ] SMPP Proxy Client-Component Session: Connect to 10.21.3.127 port 1234 2012-03-29 16:41:00.226 - [ ] [SMPP ] SMPP Proxy Client-Component Session: Connected 2012-03-29 16:41:00.227 - [ ] [LOG ] [SMPP] SMPP Proxy: New state of 4488beca is OPEN 2012-03-29 16:41:00.227 - [ ] [LOG ] [SMPP] 10213998080_120329124024_BND_000000567: (1853) Accepting connection for session 4488beca 2012-03-29 16:41:00.228 - [VERBOSE ] [SDR ] sending request - SDR Output Request : [Name-MI_SDR_10213998080][Data-2012-03-29 16:41:00.227,10213998080_120329124024_BND_000000567,SMPP,4488beca,OPEN,OK,,,,,,, ,,,,,,,,,,,,,,,] 2012-03-29 16:41:00.229 - [ ] [SMPP ] Starting PDUReaderWorker with processor degree:3 ... 2012-03-29 16:41:00.231 - [ ] [SMPP ] 10213998080_120329124024_BND_000000570: Accepting bind for session 4488beca 2012-03-29 16:41:00.233 - [ ] [LOG ] [SMPP] SMPP Proxy: New state of 4488beca is BOUND_TX 2012-03-29 16:41:00.233 - [VERBOSE ] [SDR ] sending request - SDR Output Request : [Name-MI_SDR_10213998080][Data-2012-03-29 16:41:00.233,10213998080_120329124024_BND_000000570,SMPP,,BOUND_TX,OK,,,PROXY,,, ,,,,,,,,,,,,,,,,] 2012-03-29 16:41:00.234 - [ ] [SMPP ] SMPP Proxy Session - session component: Starting Dummy enquireLinkSender 2012-03-29 16:41:00.236 - [ ] [GENERAL ] Threads Synchronizer: Registering thread-id: 1149 2012-03-29 16:41:00.236 - [ ] [SMPP ] SMPP Proxy Session - session component: inserting into client-PDUs-queue sequence number: 2 commandId: 6 commandLength: 16 commandStatus: 0 hashCode: 1149 2012-03-29 16:41:00.238 - [ ] [GENERAL ] Threads Synchronizer: Registering thread-id: -2147482499 2012-03-29 16:41:00.238 - [ ] [SMPP ] SMPP Proxy Client-Component Session: inserting into smsc-PDUs-queue sequence number: 2 commandId: -2147483642 commandLength: 16 commandStatus: 0 hashCode: -2147482499 2012-03-29 16:41:00.238 - [ ] [SMPP ] Closing SmppProxyClientSession - start 2012-03-29 16:41:00.238 - [ ] [SMPP ] SmppProxyClientSession - sleeping before closing session 2012-03-29 16:41:00.238 - [ ] [GENERAL ] Threads Synchronizer: Unregistering thread-id: 1149 2012-03-29 16:41:00.238 - [ ] [GENERAL ] Threads Synchronizer: Unregistering thread-id: -2147482499 2012-03-29 16:41:00.239 - [ ] [LOG ] [SMPP] SMPP Proxy: New state of 4488beca is UNBOUND 2012-03-29 16:41:00.239 - Exception in SMPP Proxy Session - session component at: 2012-03-29 16:41:00.240 - java.io.EOFException 2012-03-29 16:41:00.240 - at java.io.DataInputStream.readFully(DataInputStream.java:204) 2012-03-29 16:41:00.240 - at java.io.DataInputStream.readInt(DataInputStream.java:380) 2012-03-29 16:41:00.240 - at org.jsmpp.DefaultPDUReader.readPDUHeader(DefaultPDUReader.java:40) 2012-03-29 16:41:00.240 - at com.mobixell.messaginginjector.smpp.SMPPProxySession$PDUProxyReaderWorker.readPD U(SMPPProxySession.java:41) 2012-03-29 16:41:00.240 - at org.jsmpp.session.SMPPServerSession$PDUReaderWorker.run(SMPPServerSession.java:5 08) 2012-03-29 16:41:00.240 - [ ] [SMPP ] Closing SmppProxySession - start 2012-03-29 16:41:00.240 - [ ] [LOG ] [SMPP] SMPP Proxy: New state of 4488beca is CLOSED 2012-03-29 16:41:00.240 - [ ] [SMPP ] Closing SmppProxyClientSession - start 2012-03-29 16:41:00.240 - [ ] [SMPP ] Closing SmppProxySession - end 2012-03-29 16:41:00.240 - [ ] [SMPP ] Closing SmppProxySession - start 2012-03-29 16:41:00.243 - [ ] [SMPP ] SMPP Proxy Client-Component Session: Connect to 10.21.3.127 port 1234 2012-03-29 16:41:00.244 - [ ] [SMPP ] SMPP Proxy Client-Component Session: Connected 2012-03-29 16:41:00.244 - [ ] [LOG ] [SMPP] SMPP Proxy: New state of 10b4bae2 is OPEN 2012-03-29 16:41:00.245 - [ ] [LOG ] [SMPP] 10213998080_120329124024_BND_000000569: (1853) Accepting connection for session 10b4bae2 2012-03-29 16:41:00.245 - [VERBOSE ] [SDR ] sending request - SDR Output Request : [Name-MI_SDR_10213998080][Data-2012-03-29 16:41:00.245,10213998080_120329124024_BND_000000569,SMPP,10b4bae2,OPEN,OK,,,,,,, ,,,,,,,,,,,,,,,] 2012-03-29 16:41:00.246 - [ ] [SMPP ] Starting PDUReaderWorker with processor degree:3 ... 2012-03-29 16:41:00.249 - [ ] [SMPP ] 10213998080_120329124024_BND_000000572: Accepting bind for session 10b4bae2 2012-03-29 16:41:00.253 - [ ] [LOG ] [SMPP] SMPP Proxy: New state of 10b4bae2 is BOUND_RX 2012-03-29 16:41:00.253 - [VERBOSE ] [SDR ] sending request - SDR Output Request : [Name-MI_SDR_10213998080][Data-2012-03-29 16:41:00.253,10213998080_120329124024_BND_000000572,SMPP,,BOUND_RX,OK,,,PROXY,,, ,,,,,,,,,,,,,,,,] 2012-03-29 16:41:00.254 - [ ] [SMPP ] SMPP Proxy Session - session component: Starting Dummy enquireLinkSender 2012-03-29 16:41:00.255 - [ ] [GENERAL ] Threads Synchronizer: Registering thread-id: 1149 2012-03-29 16:41:00.256 - [ ] [SMPP ] SMPP Proxy Session - session component: inserting into client-PDUs-queue sequence number: 2 commandId: 6 commandLength: 16 commandStatus: 0 hashCode: 1149 2012-03-29 16:41:00.257 - [ ] [GENERAL ] Threads Synchronizer: Registering thread-id: -2147482499 2012-03-29 16:41:00.257 - [ ] [SMPP ] SMPP Proxy Client-Component Session: inserting into smsc-PDUs-queue sequence number: 2 commandId: -2147483642 commandLength: 16 commandStatus: 0 hashCode: -2147482499 2012-03-29 16:41:00.258 - [ ] [SMPP ] Closing SmppProxyClientSession - start 2012-03-29 16:41:00.258 - [ ] [SMPP ] SmppProxyClientSession - sleeping before closing session 2012-03-29 16:41:00.258 - [ ] [GENERAL ] Threads Synchronizer: Unregistering thread-id: 1149 2012-03-29 16:41:00.258 - [ ] [GENERAL ] Threads Synchronizer: Unregistering thread-id: -2147482499 2012-03-29 16:41:00.258 - [ ] [LOG ] [SMPP] SMPP Proxy: New state of 10b4bae2 is UNBOUND 2012-03-29 16:41:00.259 - Exception in SMPP Proxy Session - session component at: 2012-03-29 16:41:00.259 - java.io.EOFException 2012-03-29 16:41:00.259 - at java.io.DataInputStream.readFully(DataInputStream.java:204) 2012-03-29 16:41:00.259 - at java.io.DataInputStream.readInt(DataInputStream.java:380) 2012-03-29 16:41:00.259 - at org.jsmpp.DefaultPDUReader.readPDUHeader(DefaultPDUReader.java:40) 2012-03-29 16:41:00.259 - at com.mobixell.messaginginjector.smpp.SMPPProxySession$PDUProxyReaderWorker.readPD U(SMPPProxySession.java:41) 2012-03-29 16:41:00.259 - at org.jsmpp.session.SMPPServerSession$PDUReaderWorker.run(SMPPServerSession.java:5 08) 2012-03-29 16:41:00.259 - [ ] [SMPP ] Closing SmppProxySession - start 2012-03-29 16:41:00.259 - [ ] [LOG ] [SMPP] SMPP Proxy: New state of 10b4bae2 is CLOSED 2012-03-29 16:41:00.259 - [ ] [SMPP ] Closing SmppProxyClientSession - start 2012-03-29 16:41:00.260 - [ ] [SMPP ] Closing SmppProxySession - end 2012-03-29 16:41:00.260 - [ ] [SMPP ] Closing SmppProxySession - start 2012-03-29 16:41:00.340 - [ ] [SMPP ] SMPP Proxy Client-Component Session: Going to close smppProxy session as well 2012-03-29 16:41:00.341 - [ ] [SMPP ] Closing SmppProxySession - start 2012-03-29 16:41:00.341 - [ ] [SMPP ] Closing SmppProxyClientSession - end Regards Venkat | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3878 Registered: 08-2008 |
Hi Venkat, I'm sorry, but I don't understand your question. When you enter the connection details, NowSMS simply validates that it can bind with those details. You must also then press Apply (or OK will also work) in the configuration program to save those settings. This doesn't start the NowSMS server though ... for that you need to install the services. Maybe this link will help: http://www.nowsms.com/doc/system-settings/running-as-a-service Or maybe I don't understand what you are asking? Please clarify if I have not understood. -- Des NowSMS Support | |||
venkat New member Username: Venkatr26 Post Number: 3 Registered: 03-2012 |
Hi Des, Thanks for your response. Will try to explain the problem in a better way . I am Using nowsms as a smpp server for another application. a) In now sms , under smsc tab , I have added a smsc connection type as smpp over tcp/ip and the server name / ip is that where the application is hosted. b) Under Web Tab , enabled smpp server . My application is effectively a proxy to the SMPP Server enabled on nowsms. When I try test to test smsc connection, I get a message SMPP Connection ok. However in the logs of my application , I do get initially SMPP Proxy Client-Component Session: Connect to 10.21.3.127 port 1234 After a few seconds , smppproxy session closes . Please see logs below :- [SMPP] SMPP Proxy: New state of 8d013b9e is UNBOUND 2012-04-05 16:38:40.509 - Exception in SMPP Proxy Session - session component at: 2012-04-05 16:38:40.509 - java.io.EOFException 2012-04-05 16:38:40.509 - at java.io.DataInputStream.readFully(DataInputStream.java:204) 2012-04-05 16:38:40.509 - at java.io.DataInputStream.readInt(DataInputStream.java:380) 2012-04-05 16:38:40.509 - at org.jsmpp.DefaultPDUReader.readPDUHeader(DefaultPDUReader.java:40) 2012-04-05 16:38:40.509 - at com.mobixell.messaginginjector.smpp.SMPPProxySession$PDUProxyReaderWorker.readPD U(SMPPProxySession.java:41) 2012-04-05 16:38:40.509 - at org.jsmpp.session.SMPPServerSession$PDUReaderWorker.run(SMPPServerSession.java:5 08) 2012-04-05 16:38:40.509 - [ ] [SMPP ] Closing SmppProxySession - start 2012-04-05 16:38:40.509 - [ ] [LOG ] [SMPP] SMPP Proxy: New state of 8d013b9e is CLOSED Is there any setting in now sms I am missing . In short , I want nowsms to be smsc on my computer for my appication using proxy. Please let me know incase I am not clear .}} Regards Vennkat | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3890 Registered: 08-2008 |
Hi Vennkat, Ok, it sounds like the NowSMS service is not installed. Go to the Service page in NowSMS and check the checkbox to install the SMS service. http://www.nowsms.com/doc/system-settings/running-as-a-service -- Des NowSMS Support |