[asterisk-users] Problems sending more than 2 SMS with asterisk / smsq
Anselm Martin Hoffmeister
anselm at hoffmeister-online.de
Sat Jul 14 04:53:37 CDT 2007
Am Montag, den 09.07.2007, 17:21 +0200 schrieb Matthias Huber:
> When i send more than one messages shortly after the other, my log
> (/var/spool/asterisk/sms ) looks like this
> and only two of four messages arrive.
>
> What am i doing wrong ?
>
> I am using an AVM B1 PCI with chan-capi and 1.4.4.
>
> and also, when sending with smsq -x only two of the messages are handled.
> (i thought, asterisk itself handles the queues ? )
>
> Here the log:
>
> 2007-07-09T15:04:14 YOM04 0 - 0172xxxxxxx test11
> 2007-07-09T15:04:15 ?OM05 0 - 0172xxxxxxx test12
> 2007-07-09T15:07:51 YOM06 0 - 0172xxxxxxx test13
> 2007-07-09T15:07:53 ?OM07 0 - 0172xxxxxxx test14
>
> sorry - i am a total newbie at asterisk.
My experience with sending several subsequent short messages is that
this might run you into a timing issue. Whyever, some calls will not
successfully transmit the first two packets of the SMS handshake,
resulting in a non-delivery.
This can be seen on the CLI, so perhaps your problem shows up there as
well: Try
asterisk -r
CLI> set verbose 10
(keep CLI open)
and send those messages. I would expect those failing messages to show a
different pattern.
I got this failing probability _way_ down by using an additional Wait(1)
or Wait(2) in the dialplan where the SMS sending happens, after bringing
up the line and before sending the SMS proper.
HTH
Anselm
More information about the asterisk-users
mailing list