FSCORE-558

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16803 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2010-02-24 20:40:31 +00:00
parent 5638b3a4f0
commit 4938010aeb
1 changed files with 5 additions and 0 deletions

View File

@ -241,6 +241,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);
argv = argv_;
if (!argv[1]) {
{usage(1);}
}
if (!strcasecmp(argv[1], "xml")) {
switch_event_add_header_string(stream->param_event, SWITCH_STACK_BOTTOM, "xml", "true");