Hello Stipe,

The problem is solved, it wasn't related to the SMSC configuration, I have
defied another SMSC, and when I sent it, I got an error message related to
the text field is null because I'm using SQLBOX the msgdata was empty.
After I fixed it I was able to send it without any problems unless the long
message.

I'm using the UTF-8 with the coding = 2, when I send an Arabic Message with
less than 70 chars it sent it with no issue, but when I send a message
length 240 chars the smsc log showing more_messages_to_send: 1 = 0x00000001
and stuck without delivery.

Any suggestion please let me know.

Regards

On Sat, May 29, 2021 at 11:41 AM Stipe Tolj <st...@kannel.org> wrote:

> Am 25.05.21, 09:54, schrieb Web Min:
> > It is already in the SMSC before the host
> >
> > allowed-prefix = 1
>
> when your users inject as destination addr 1xxx that is fine, but if
> they use a international prefixed addr +1xxx that would not be able to
> pass via the configured SMSC then.
>
> this would then yield the following code block in
> gw/bb_smsconn.c:smsc2_rout():
>
>      } else {
>          gw_rwlock_unlock(&smsc_list_lock);
>          if (bb_status == BB_SHUTDOWN) {
>              msg_destroy(msg);
>              return SMSCCONN_QUEUED;
>          }
>          warning(0, "Cannot find SMSCConn for message to <%s>, rejected.",
>                      octstr_get_cstr(msg->sms.receiver));
>          bb_smscconn_send_failed(NULL, msg_duplicate(msg),
> SMSCCONN_FAILED_DISCARDED, octstr_create("no SMSC"));
>          return SMSCCONN_FAILED_DISCARDED;
>      }
>
> check if you can see this WARNING entry in the log, to double check.
>
> --
> Best Regards,
> Stipe Tolj
>
> -------------------------------------------------------------------
> Düsseldorf, NRW, Germany
>
> Kannel Foundation                 tolj.org system architecture
> http://www.kannel.org/            http://www.tolj.org/
>
> st...@kannel.org                  s...@tolj.org
> -------------------------------------------------------------------
>
>

Reply via email to