Hi,

Are you using EMI or SMPP SMSc?

BR,
Nikos
----- Original Message ----- From: "Hofferek Attila" <[email protected]>
To: "Users Kannel" <[email protected]>
Sent: Monday, October 26, 2009 2:34 PM
Subject: Re: Alert (operation 31) was not ACKed - reconnect


Nikos Balkanas Γ­rta:
Hi,

I thought it was 0 the dedault. But to be sure please set explicitly the value in your configuration.

As I see in the sources, this option (wait ack expire) makes sense only
in case of operation 51.

if (PRIVDATA(conn)->slots[i].sendtype == 51) {
  if (PRIVDATA(conn)->waitack_expire == 0x00) {
    /* 0x00 - disconnect/reconnect */
    warning(0, "EMI2[%s]: received neither ACK nor NACK for message %d "
               "in %d seconds, disconnecting and reconnection",
               octstr_get_cstr(privdata->name), i,
               PRIVDATA(conn)->waitack);
    PRIVDATA(conn)->slots[i].sendtime = 0;
    PRIVDATA(conn)->unacked--;
    info(0, "EMI2[%s]: closing connection.",
               octstr_get_cstr(privdata->name));
    conn_destroy(*server);
    *server = NULL;
    break;

Has somebody got any idea, why wasn't this function inplemented in case
of other message types?
--
Hofferek Attila


Reply via email to