Re: [BUG] Incorrect BIND Status for given command after reconnecting

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

bearerbox do reconnect after some time of inactivity. Per default this is 10 * SMPP_ENQUIRE_LINK_INTERVAL.
Default SMPP_ENQUIRE_LINK_INTERVAL is 30 sec. Also 300 sec.

You can adapt this by setting connection-timeout parameter for your SMPP connection.

Please read userguide first and only if it's not clear ask here.

Thanks,
Alexander Malysh


Am 27.01.2011 um 09:15 schrieb Mohammed Saleem:

> 
> Hello Alejandro
> 
> I have tried your solution by setting the reconnecting delay to 45 seconds, I gave it some time to make sure it is working, but unfortunately it didn't, I still get the same issue
> 
> 
> I am wondering since the enquire_link PDUs has no response, why bb doesn't connect/reconnect the link? how can we implement this? can you point me to the right direction to modify the source? Thanks
> 
> Best Regards,
> Mohammed M I Sleem
> 
> http://www.abusleem.net  - Personal blog
> 
> http://www.freakle.com - The Search Freak
> 
> 
> 
> On Thu, Jan 13, 2011 at 2:55 PM, Alejandro Guerrieri <[email protected]> wrote:
> You're reconnecting every 5 seconds, this is probably not giving enough time to the other side to detect that the connection was bind.
> 
> Most SMSC's ask for values on the 45 seconds range.
> 
> Anyway, if you continue to experience the error, speak with the SMSC, they might have further information about the problem.
> 
> Regards,
> --
> Alejandro Guerrieri
> [email protected]
> 
> 
> 
> On 13/01/2011, at 13:38, Mohammed Saleem wrote:
> 
>> 
>> Dear Kannelers
>> 
>> <<Log Attached>>
>> 
>> I am using svn kannel, I had an issue with SMPP, kannel doesn't reconnect well when the connection is lost (reset) it reconnects and reports that the connection is online, but it is not. all sent PDUs gets a reply with generic_nack because the connection is not bound
>> 
>> Do we have a bug here? I think kannel should monitor the last valid enquire_link_resp received and reconnects at certain timeout?
>> 
>> Thanks
>> 
>> 
>> Best Regards,
>> Mohammed M I Sleem
>> 
>> http://www.abusleem.net  - Personal blog
>> 
>> http://www.freakle.com - The Search Freak
>> 
>> <smsc_smpp_error_log.txt>
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.