fix usage
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7498 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
70c9b98c15
commit
961b483c40
|
@ -1343,7 +1343,7 @@ SWITCH_STANDARD_API(originate_function)
|
||||||
switch_status_t status = SWITCH_STATUS_SUCCESS;
|
switch_status_t status = SWITCH_STATUS_SUCCESS;
|
||||||
|
|
||||||
if (session || switch_strlen_zero(cmd)) {
|
if (session || switch_strlen_zero(cmd)) {
|
||||||
stream->write_function(stream, "-ERR Illegal Usage\n");
|
stream->write_function(stream, "-USAGE %s\n", ORIGINATE_SYNTAX);
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue