From: Russell Bryant Date: Sun, 24 Oct 2004 21:26:29 +0000 (+0000) Subject: Sending SMS with no hangup supervision will hang the channel (bug #2708) X-Git-Tag: 1.0.11.1~418 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d354512eca0a9a4f00bfbe1d31f25427b67f66a4;p=thirdparty%2Fasterisk.git Sending SMS with no hangup supervision will hang the channel (bug #2708) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4090 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_sms.c b/apps/app_sms.c index 31844d7a27..882236822c 100755 --- a/apps/app_sms.c +++ b/apps/app_sms.c @@ -773,6 +773,7 @@ sms_nextoutgoing (sms_t * h) { /* no message */ h->omsg[0] = 0x94; /* SMS_REL */ h->omsg[1] = 0; + h->hangup = 1; sms_messagetx (h); } }