(closes issue #13359)

Reported by: Laureano
Patches:
      originate_channel_check.patch uploaded by Laureano (license 265)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@139621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeff Peeler
2008-08-22 21:36:13 +00:00
parent 28b9f5b384
commit d2a637a424

View File

@@ -1866,7 +1866,7 @@ static int action_originate(struct mansession *s, const struct message *m)
pthread_t th;
pthread_attr_t attr;
if (!name) {
if (!ast_strlen_zero(name)) {
astman_send_error(s, m, "Channel not specified");
return 0;
}