Matthias Huber
2007-Jul-09 15:21 UTC
[asterisk-users] Problems sending more than 2 SMS with asterisk / smsq
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. -- Mit freundlichen Gr?ssen Matthias Huber
Anselm Martin Hoffmeister
2007-Jul-14 09:53 UTC
[asterisk-users] Problems sending more than 2 SMS with asterisk / smsq
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
Christoph Adomeit
2007-Sep-19 13:25 UTC
[asterisk-users] Problems sending more than 2 SMS with asterisk / smsq
Hi there, I experience the same problem here with asterisk 1.2.24 on an E1 Line, only 2 of 3 sms are sent, this happens always and is reproducable. Did someone find out more about the problem ? Especially I do not see how I could add a wait to the dialplan as somebody suggested because there seems no dialplan invoked when I send sms. I use: smsq -d 017xxx -m TEST1 --motx-channel=Zap/g1/0193010 (Germen Telekom Message Center) How could I invoke smsq differently to use an own context of the dialplan ? Thanks Christoph On Mon, Jul 09, 2007 at 05:21:42PM +0200, Matthias Huber wrote:> 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. > > -- > Mit freundlichen Gr?ssen > Matthias Huber > > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Christoph Adomeit GATWORKS GmbH Reststrauch 191 41199 Moenchengladbach Sitz: Moenchengladbach Amtsgericht Moenchengladbach, HRB 6303 Geschaftsfuehrer: Christoph Adomeit, Hans Wilhelm Terstappen Christoph.Adomeit at gatworks.de Internetloesungen vom Feinsten Fon. +49 2166 9149-32 Fax. +49 2166 9149-10
randulo
2007-Sep-20 12:32 UTC
[asterisk-users] Problems sending more than 2 SMS with asterisk / smsq
On 9/19/07, Christoph Adomeit <Christoph.Adomeit at gatworks.de> wrote:> Especially I do not see how I could add a wait to the dialplan > as somebody suggested because there seems no dialplan invoked > when I send sms.Can you not invoke a shell script and put the sleep in there?
Anselm Martin Hoffmeister
2007-Sep-20 13:08 UTC
[asterisk-users] Problems sending more than 2 SMS with asterisk / smsq
Am Mittwoch, den 19.09.2007, 15:25 +0200 schrieb Christoph Adomeit:> Hi there, > > I experience the same problem here with asterisk 1.2.24 on > an E1 Line, only 2 of 3 sms are sent, this happens always and > is reproducable. > > Did someone find out more about the problem ? > > Especially I do not see how I could add a wait to the dialplan > as somebody suggested because there seems no dialplan invoked > when I send sms. > > I use: > > smsq -d 017xxx -m TEST1 --motx-channel=Zap/g1/0193010 > (Germen Telekom Message Center) > > How could I invoke smsq differently to use an own context > of the dialplan ?I think I have been in error there. The wait occurs on incoming calls, like my Gigaset calling in to Asterisk, between answering the line: exten => _0193010.,1,Answer() exten => _0193010.,2,Wait(2) exten => _0193010.,3,SMS(blahfasel) Same for _incoming_ messages from the Telco SMSC. I do not immediately understand where I could have inserted a Wait() for outgoing SMS, especially as that SMS() seems to open the line itself. I would have to investigate, but do not have the equipment right here at the moment, sorry. BR Anselm