mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-19 01:45:32 +00:00
FSCORE-558
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16803 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5638b3a4f0
commit
4938010aeb
@ -242,6 +242,11 @@ switch_status_t sip_dig_function(_In_opt_z_ const char *cmd, _In_opt_ switch_cor
|
|||||||
argc = switch_separate_string(mycmd, ' ', argv, (sizeof(argv_) / sizeof(argv_[0])) - 1);
|
argc = switch_separate_string(mycmd, ' ', argv, (sizeof(argv_) / sizeof(argv_[0])) - 1);
|
||||||
argv = argv_;
|
argv = argv_;
|
||||||
|
|
||||||
|
|
||||||
|
if (!argv[1]) {
|
||||||
|
{usage(1);}
|
||||||
|
}
|
||||||
|
|
||||||
if (!strcasecmp(argv[1], "xml")) {
|
if (!strcasecmp(argv[1], "xml")) {
|
||||||
switch_event_add_header_string(stream->param_event, SWITCH_STACK_BOTTOM, "xml", "true");
|
switch_event_add_header_string(stream->param_event, SWITCH_STACK_BOTTOM, "xml", "true");
|
||||||
argv++;
|
argv++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user