Merged revisions 139624 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

................
r139624 | jpeeler | 2008-08-22 16:57:32 -0500 (Fri, 22 Aug 2008) | 13 lines

Merged revisions 139621 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r139621 | jpeeler | 2008-08-22 16:36:13 -0500 (Fri, 22 Aug 2008) | 5 lines

(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.6.1@139625 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeff Peeler
2008-08-22 21:58:38 +00:00
parent 13a4d48c7c
commit 2090a58d2e

View File

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