Maybe it's the same problem as i had:
If provider's message-queue for the recipient is full (some like 50 messages ?
) , the provider rejects kannel's request.
But Kannel thinks 0x14 is temporary error so it will try to resend again and
again. ......
A kannel-user ([EMAIL PROTECTED]) made 0x14 to become permanent error:
Try to change gw/smsc/smsc_smpp.c
and change this function
---------- cut here ------------
static long smpp_status_to_smscconn_failure_reason(long status)
{
switch(status) {
case SMPP_ESME_RMSGQFUL:
case SMPP_ESME_RTHROTTLED:
case SMPP_ESME_RX_T_APPN:
case SMPP_ESME_RSYSERR:
return SMSCCONN_FAILED_TEMPORARILY;
break;
default:
return SMSCCONN_FAILED_REJECTED;
}
}
---------- cut here ------------
to
---------- cut here ------------
static long smpp_status_to_smscconn_failure_reason(long status)
{
switch(status) {
case SMPP_ESME_RTHROTTLED:
case SMPP_ESME_RX_T_APPN:
case SMPP_ESME_RSYSERR:
return SMSCCONN_FAILED_TEMPORARILY;
break;
case SMPP_ESME_RMSGQFUL:
return SMSCCONN_FAILED_REJECTED;
break;
default:
return SMSCCONN_FAILED_REJECTED;
}
}
---------- cut here ------------
Compile and run again..
Greetings
Gottfried
-----Ursprüngliche Nachricht-----
Von: Stipe Tolj [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 04. Oktober 2006 16:41
An: [EMAIL PROTECTED]
Cc: [email protected]
Betreff: Re: RV: too many smpp connections
Mario Noboa wrote:
> Hi List,
>
>
>
> I have a problem with one of my operators. They said me that I'm opening too
> many connections and it's affecting the services of SMSC. They don's gave me
> any probe that it's happening but my question is: "There are some way to
> control the number of connections that kannel open to the smsc?"
Kannel will open up a single TCP connection for one of your groups. So 2 TCP
connections to the SMSC.
There is not "internal duplication" of connections. It may be a network related
problem, where Kannel thinks that connections break and it re-establishes
connections to restore operations, but on the server side the "old" connections
seem still to live on.
Please consult in this case a network guru arround.
Stipe
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------