[asterisk-bugs] [Asterisk 0012779]: [patch] smsq does not work in asterisk 1.6

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 21 14:32:30 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=12779 
====================================================================== 
Reported By:                PH
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   12779
Category:                   Applications/app_sms
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Target Version:             1.6.2.0
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-06-03 06:53 CDT
Last Modified:              2009-05-21 14:32 CDT
====================================================================== 
Summary:                    [patch] smsq does not work in asterisk 1.6
Description: 
smsq which works well in asterisk 1.4, does not work
in the same way on 1.6 :

  -- Attempting call on mISDN/1/0809101000 for application SMS(0) (Retry
1)
       > Channel mISDN/1-u5 was answered.
       > Launching SMS(0) on mISDN/1-u5
 sms argc 1 queue <0> opts <> addr <> body <>
 initial delay 300ms
    -- SMS RX 93 00 6D
    -- SMS TX 91 16 01 01 0A 81 60 70 47 90 10 00 F1 0B E8 32 9B FD 06
DD DF 72 36 19
    -- SMS RX 95 09 01 00 80 50 62 90 71 32 80 7C
    -- SMS TX 94 00
[May 26 09:37:30] NOTICE[6747]: app_sms.c:1904 sms_exec: ast_read failed
[May 26 09:37:30] NOTICE[6747]: pbx_spool.c:333 attempt_thread: Call
completed to mISDN/1/0809101000


====================================================================== 

---------------------------------------------------------------------- 
 (0105260) BMC (reporter) - 2009-05-21 14:32
 https://issues.asterisk.org/view.php?id=12779#c105260 
---------------------------------------------------------------------- 
UPDATE: Today I installed Asterisk 1.6.1.0 and SMS delivery is working
again!

1.6.0.6:
--------
asterisk*CLI> core show version
Asterisk 1.6.0.6 built by root @ slax on a i686 running Linux on
2009-02-24 22:24:10 UTC
    -- Attempting call on mISDN/g:intern1/51 for application SMS(0|s)
(Retry 1)
       > Channel mISDN/0-u449 was answered.
       > Launching SMS(0|s) on mISDN/0-u449
 sms argc 1 queue <0|s> opts <> addr <> body <>
 initial delay 300ms
    -- SMS RX 93 00 6D
    -- SMS TX 94 00
[May 21 13:42:25] NOTICE[13311]: app_sms.c:1904 sms_exec: ast_read failed
[May 21 13:42:25] NOTICE[13311]: pbx_spool.c:357 attempt_thread: Call
completed to mISDN/g:intern1/51


1.6.1.0:
--------
asterisk*CLI> core show version
Asterisk 1.6.1.0 built by root @ slax on a i686 running Linux on
2009-05-16 13:26:43 UTC
    -- Attempting call on mISDN/g:intern1/51 for application SMS(0,s)
(Retry 1)
       > Channel mISDN/tmp0-u8 was answered.
       > Launching SMS(0,s) on mISDN/tmp0-u8
 sms argc 2 queue <0> opts <s> addr <> body <>
 initial delay 300ms
    -- SMS RX 93 00 6D
    -- SMS TX 91 13 00 04 81 03 00 00 F1 80 50 50 11 11 11 48 04 D4 F2 9C
0E
    -- SMS RX 95 02 00 00 69
    -- SMS TX 94 00
[May 21 14:41:21] NOTICE[7864]: app_sms.c:2009 sms_exec: ast_read failed
[May 21 14:41:21] NOTICE[7864]: pbx_spool.c:348 attempt_thread: Call
completed to mISDN/g:intern1/51


The only strange thing is that I still get a "ast_read failed" message but
at least my problem is solved now... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-21 14:32 BMC            Note Added: 0105260                          
======================================================================




More information about the asterisk-bugs mailing list