Summary:ASTERISK-02662: Sending SMS with no hangup supervision will hang the channel
Reporter:gby (gby)Labels:
Date Opened:2004-10-23 16:25:17Date Closed:2008-01-15 15:11:37.000-0600
Versions:Frequency of
Environment:Attachments:( 0) sms-il.diff
Description:The last stage in sending an SMS is to tell the service center to hangup using a SEM_REL message (0x94). If your channel does  not have hangup supervision, what will happen is that the service center will receive the message and hangs up, but the SMS application is stuck waiting for a response that will never arrive and will keep sending error messages.

The attached one liner solves the issue by getting the SMS application to hang up the channel after it has asked the other side to do so.

THe patch has been tested on one customer Asterisk implementation as well as our own. Without it sending SMS message on Israeli Bezeq line will give you a stuck channel, with it - it just works.
Comments:By: Mark Spencer (markster) 2004-10-23 16:31:09

Fixed in CVS.  Thanks!

By: Russell Bryant (russell) 2004-10-24 17:23:00

fixed in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:11:19.000-0600

Repository: asterisk
Revision: 4067

U   trunk/apps/app_sms.c

r4067 | markster | 2008-01-15 15:11:18 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix SMS thingy for Bezeq (bug ASTERISK-2662)



By: Digium Subversion (svnbot) 2008-01-15 15:11:37.000-0600

Repository: asterisk
Revision: 4090

U   branches/v1-0/apps/app_sms.c

r4090 | russell | 2008-01-15 15:11:36 -0600 (Tue, 15 Jan 2008) | 2 lines

Sending SMS with no hangup supervision will hang the channel (bug ASTERISK-2662)