Menu

Problem with AsyncReceiver

Fernando
2006-02-08
2012-09-15
  • Fernando

    Fernando - 2006-02-08

    Hi,

    I am able to bind to the SMSC of our provider and can send SMS messages, but I can't receive anything. I have also used SMPPSim with the same result.

    Is there anything that needs to be configured to receive messages ?

    I am using the smppapi jar files with netBeans IDE 4.1

     
    • Fernando

      Fernando - 2006-02-08

      I able to bind both the Transmitter and the Receiver. In SMPPSim I can see that it accepts the bind and generates a BIND_RECEIVER_RESP, which I understand I should receive.

      I also used the SMPPSim Control Panel and MO Injection Form to send a message, and can see that it is generated, but neither the update method nor packageReceived method are called.

      Thanks for any help you can give me. Time is running short.

       
      • hexkid

        hexkid - 2007-04-11

        Hi falvear

        Have you registered a ConnectionObserver with the connection to handle incoming messages by calling the connection.addObserver() method? If so then any messages received across the connection will be received by the packetReceived() method on the ConnectionObserver. There is an adapter class SMPPEventAdapter which can be used to simplify the handling of the incoming events.

        Hope this helps.

         
    • ruds

      ruds - 2006-02-08

      what do you mean by "cant receive anything".
      are you being able to bind first? any exception getting thrown?
      i have tested the AsyncReceiver.java which comes with the API examples and it worked over a real SMSC and also over SMPPSim

       
    • Fernando

      Fernando - 2006-02-08

      I can bind both the Transmitter and Receiver. The SMPPSim log shows that both are bound and generates BIND_TRANSMITTER_RESP and BIND_RECEIVER_RESP, which I understand I should receive.

      With the SMPPSim Injection Form I send a message, but neither the update method nor the packageReceived method are called.

      Any help is greatly appreciated, I'm running low on time.

       
    • nnnmore

      nnnmore - 2007-03-20

      what is the solution for that situation may i learn??

       

Log in to post a comment.

MongoDB Logo MongoDB