[asterisk-bugs] [Asterisk 0016508]: [regression] app_sms not working in 1.6.1.12 (same as 0012779)
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Feb 17 13:47:46 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16508
======================================================================
Reported By: shanselman
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 16508
Category: Applications/app_sms
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
Target Version: 1.6.1.16
Asterisk Version: SVN
JIRA: SWP-617
Regression: Yes
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-12-23 05:40 CST
Last Modified: 2010-02-17 13:47 CST
======================================================================
Summary: [regression] app_sms not working in 1.6.1.12 (same
as 0012779)
Description:
app_sms has reverted to the same issue as in entry 12779:-
chan_dahdi.c: -- Requested transfer capability: 0x00 - SPEECH
app_dial.c: -- Called g1/17094009
app_dial.c: -- DAHDI/2-1 is proceeding passing it to
Local/17094009 at default-549e;2
app_dial.c: -- DAHDI/2-1 is ringing
app_dial.c: -- DAHDI/2-1 answered Local/17094009 at default-549e;2
pbx.c: > Channel Local/17094009 at default-549e;1 was answered.
pbx.c: > Launching SMS(1268466100) on
Local/17094009 at default-549e;1
app_sms.c: sms argc 1 queue <1268466100> opts <> addr <> body <>
app_sms.c: initial delay 300ms
pbx.c: == Spawn extension (default, 17094009, 1) exited non-zero on
'Local/17094009 at default-549e;2'
app_sms.c: -- SMS RX 93 00 6D
app_sms.c: -- SMS TX 17 00
chan_dahdi.c: -- Channel 0/2, span 1 got hangup request, cause 16
app_sms.c: ast_read failed
chan_dahdi.c: -- Hungup 'DAHDI/2-1'
The messages never get sent (this is an upgrade from a 1.4 version of
asterisk which had no issues with the sms application).
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0012779 [patch] smsq does not work in asterisk 1.6
======================================================================
----------------------------------------------------------------------
(0118176) fbeijer (reporter) - 2010-02-17 13:47
https://issues.asterisk.org/view.php?id=16508#c118176
----------------------------------------------------------------------
main part of the dialplan
;
; 067364444400 is the number for KPN fixed line sms
;
exten => s,1,NoOp(${CALLERID(num)})
exten => s,n,GotoIf($[ "${CALLERID(num)}" = "067364444400"]?dosms:normal)
exten => s,n(dosms),Goto(smsmtrx,s,1)
exten => s,n(normal),Goto(did,${EXTEN},1)
exten => s,n,Hangup
[smsmtrx]
exten => s,1,Answer()
exten => s,n,Wait(1)
exten => s,n,SMS(sms-in,a)
exten => s,n,System(/usr/bin/smsq --process /usr/bin/sms-in)
exten => s,n,Hangup
/usr/bin/sms-in is a script getting the bits and pieces of the incoming
message out of the environment and processes it
Outgoing sms is just done with smsq <number> <message_text>
Important to get the numbers right in de source of smsq
Issue History
Date Modified Username Field Change
======================================================================
2010-02-17 13:47 fbeijer Note Added: 0118176
======================================================================
More information about the asterisk-bugs
mailing list