[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
Tue Feb 23 13:01:47 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.18
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-23 13:01 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
====================================================================== 

---------------------------------------------------------------------- 
 (0118421) ploink (reporter) - 2010-02-23 13:01
 https://issues.asterisk.org/view.php?id=16508#c118421 
---------------------------------------------------------------------- 
I seem to have the same problem, using asterisk-1.6.0.5-2.fc9.i386.rpm on
Fedora 9.
I am trying to send an SMS from the commandline to a SMS capable Siemens
Gigaset C470IP Voip phone: 

# sudo -u asterisk smsq --mt --tx  --mttx-retries=0 --mttx-channel=SIP/29
--mttx-callerid=7670 --oa=20   29 "Test SMS"

I have configured 767 as the service center on the phone. When the call
comes in, it shows "Receiving SMS" on the display for a few seconds, but
nothing is actually received and it shows no error.

Sniffing the communication using tcpdump/wireshark shows no abnormalities
in the SIP call handling, but the RTP audio is not as it should be.
The first 2 seconds of the audio is silent in both directions, then the
gigaset sends a signal of 100ms duration. Within about 30ms, asterisk
replies with a similar 100ms signal. Then about 235ms later, the gigaset
hangs up.

The signals seem to have some FSK modulation, but with no more than a
couple of bytes data, to little to contain the message.

Note that both are not on the same local network and roundtrip time is
about 40ms.

It seems that asterisk fails to send anything and then the gigaset times
out.. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-23 13:01 ploink         Note Added: 0118421                          
======================================================================




More information about the asterisk-bugs mailing list