mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-02 06:38:04 +00:00
typo
This commit is contained in:
parent
8bb4d0d413
commit
28d02700c8
@ -2020,7 +2020,7 @@ SWITCH_STANDARD_API(transfer_function)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#define DUAL_TRANSFER_SYNTAX "<uuid> <dest-exten>[/<dialplan>][/<context>] <dest-exten>[/<dialplan>][/<context>]"
|
#define DUAL_TRANSFER_SYNTAX "<uuid> <A-dest-exten>[/<A-dialplan>][/<A-context>] <B-dest-exten>[/<B-dialplan>][/<B-context>]"
|
||||||
SWITCH_STANDARD_API(dual_transfer_function)
|
SWITCH_STANDARD_API(dual_transfer_function)
|
||||||
{
|
{
|
||||||
switch_core_session_t *tsession = NULL, *other_session = NULL;
|
switch_core_session_t *tsession = NULL, *other_session = NULL;
|
||||||
@ -2029,14 +2029,14 @@ SWITCH_STANDARD_API(dual_transfer_function)
|
|||||||
char *tuuid, *dest1, *dest2, *dp1 = NULL, *dp2 = NULL, *context1 = NULL, *context2 = NULL;
|
char *tuuid, *dest1, *dest2, *dp1 = NULL, *dp2 = NULL, *context1 = NULL, *context2 = NULL;
|
||||||
|
|
||||||
if (zstr(cmd) || !(mycmd = strdup(cmd))) {
|
if (zstr(cmd) || !(mycmd = strdup(cmd))) {
|
||||||
stream->write_function(stream, "-USAGE: %s\n", TRANSFER_SYNTAX);
|
stream->write_function(stream, "-USAGE: %s\n", DUAL_TRANSFER_SYNTAX);
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
argc = switch_separate_string(mycmd, ' ', argv, (sizeof(argv) / sizeof(argv[0])));
|
argc = switch_separate_string(mycmd, ' ', argv, (sizeof(argv) / sizeof(argv[0])));
|
||||||
|
|
||||||
if (argc != 3) {
|
if (argc != 3) {
|
||||||
stream->write_function(stream, "-USAGE: %s\n", TRANSFER_SYNTAX);
|
stream->write_function(stream, "-USAGE: %s\n", DUAL_TRANSFER_SYNTAX);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user