SMPP enquire link | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 12, 2010 ⬆ |
◄ ► |
Author | Message | |||
asela jaya New member Username: Asela115 Post Number: 1 Registered: 02-2010 |
i want to know whether enquire link is used to check the states of the bound esme session or it just used to check the connectivity between client and server end | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1861 Registered: 08-2008 |
Hi, When NowSMS is a client connecting to an SMPP server (defined in "SMSC" list), enquire link packets are sent based upon the "Keep-alive interval" defined under "Advanced Settings" for the connection. If NowSMS does not receive a response within a timeout period, it assumes that the connection has failed. NowSMS disconnects the session and attempts to reconnect. Similarly, most SMPP servers have an activity timeout. If an SMPP server does not receive any packets from a client within this timeout period, it will close the connection. SMPP clients use "enquire link" when they are idle, so that the server does not timeout their connection. By default, NowSMS uses a timeout of 58 seconds when it is acting as an SMPP client, but this can be changed under "Advanced Settings" for the SMPP connection. When NowSMS is the SMPP server, it expects connected SMPP clients to send enquire link when they are idle. This timeout value is defined on the "Web" page of the configuration dialog under "SMPP Options". The default value is 120 seconds. A value of 0 can be used to disable the timeout. -- Des NowSMS Support | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1862 Registered: 08-2008 |
I was just thinking about this a little more. Let me add a little clarification. According to the SMPP specification, either the client or the server may send the enquire link command. In the real world, if a client receives an enquire link command from a server, it should send back an enquire link response. HOWEVER, it is unusual for a server to send enquire link. In the real world, clients send enquire link to avoid being timed out by a server. -- Des NowSMS Support | |||
asela jaya New member Username: Asela115 Post Number: 2 Registered: 02-2010 |
i need to confirm that on what layer connectivity is confirmed by enquire link i.e : it confirms the connectivity between client and server on port 2775 (TCP level only) or it confirms that client has connected with SMPP server using a bind request and client is bind with SMPP server pls advice | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 1874 Registered: 08-2008 |
I'm sorry, but I do not understand what distinction you are trying to make. According to the SMPP specification, the enquire link command is only valid if there is a currently bound session. Some SMPP implementations might behave differently and respond back even if there is not an active session. But surely the client and/or server would know if the session was bound ... which is why I don't understand the question. -- Des NowSMS Support | |||
asela jaya New member Username: Asela115 Post Number: 3 Registered: 02-2010 |
thanks for the reply. think i got the answer thanks |