[asterisk-bugs] [Asterisk 0013595]: SMS receive file name incorrect

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 8 09:53:12 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13595 
====================================================================== 
Reported By:                alecdavis
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13595
Category:                   Applications/app_sms
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.0-rc6 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-01 15:06 CDT
Last Modified:              2008-10-08 09:53 CDT
====================================================================== 
Summary:                    SMS receive file name incorrect
Description: 
using dialplan code
   exten => s,n(SMSMessage),NoOp( SMS MESSAGE )
   exten => s,n,Answer()
   exten => s,n,Wait(2)
   exten => s,n,SMS(test,sat)
   exten => s,n,Hangup()

The above code succesfully collects the message, but the filename is
wrong?
/var/spool/asterisk/sms/morx/test.1970-01-01T12:00:00-9
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013594 SMS help is incorrect, Typo
related to          0013646 [patch] ignores 'p' parameter, received...
====================================================================== 

---------------------------------------------------------------------- 
 (0093361) Corydon76 (administrator) - 2008-10-08 09:53
 http://bugs.digium.com/view.php?id=13595#c93361 
---------------------------------------------------------------------- 
alecdavis: That's because when ast_read fails, it signals that the channel
has ended and is ready to be hungup.  What you really want to do here is
execute your other steps in the "h" extension, as that extension path is
followed when a hangup signal is received. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-08 09:53 Corydon76      Note Added: 0093361                          
======================================================================




More information about the asterisk-bugs mailing list