[asterisk-bugs] [Asterisk 0016601]: app_sms hangs on a call sending an sms

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 14 07:58:54 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16601 
====================================================================== 
Reported By:                madcowzz
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16601
Category:                   Applications/app_sms
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-14 05:06 CST
Last Modified:              2010-01-14 07:58 CST
====================================================================== 
Summary:                    app_sms hangs on a call sending an sms
Description: 
I'm not sure it's a bug, I'm new to asterisk and I not found anything on
this.
Sending an sms to Telecom Italia smsc (4210) causes app_sms to send the
sms and then keeps the line busy waiting for something to happen.
I have modified apps_sms.c in the sms_process function commenting the 1734
line:

//		h->idle = 0;

This makes app_sms to send the sms and then drop the line because the idle
reaches the 80000 value.
Repeat: I'm not sure this is a bug and is more likely to have something
wrong with me.

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

---------------------------------------------------------------------- 
 (0116663) madcowzz (reporter) - 2010-01-14 07:58
 https://issues.asterisk.org/view.php?id=16601#c116663 
---------------------------------------------------------------------- 
This is my dahdi_channels.conf:

; Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER) 
;;; line="1 WCTDM/4/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default

I don't know how to verify if the disconnect supervision is enabled or
not. If you could give me some suggestions.
If my problem is not solvable, would not be fair to add my fix as a
feature? maybe with some kind of timeout. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-14 07:58 madcowzz       Note Added: 0116663                          
======================================================================




More information about the asterisk-bugs mailing list