mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 19:52:48 +00:00
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
This commit is contained in:
@@ -773,6 +773,7 @@ sms_nextoutgoing (sms_t * h)
|
|||||||
{ /* no message */
|
{ /* no message */
|
||||||
h->omsg[0] = 0x94; /* SMS_REL */
|
h->omsg[0] = 0x94; /* SMS_REL */
|
||||||
h->omsg[1] = 0;
|
h->omsg[1] = 0;
|
||||||
|
h->hangup = 1;
|
||||||
sms_messagetx (h);
|
sms_messagetx (h);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user