mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-13 04:57:05 +00:00
rss feeds of your voicemail
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6417 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
86b0bde562
commit
60c783c636
12 files changed
+639
-42
No files matched your search
@@ -3339,7 +3339,16 @@ static void js_thread_launch(const char *text)
|
||||
SWITCH_STANDARD_API(jsapi_function)
|
||||
{
|
||||
struct request_obj ro = {0};
|
||||
char *path_info = NULL;
|
||||
|
||||
if (stream->event) {
|
||||
path_info = switch_event_get_header(stream->event, "http-path-info");
|
||||
}
|
||||
|
||||
if (switch_strlen_zero(cmd) && path_info) {
|
||||
cmd = path_info;
|
||||
}
|
||||
|
||||
if (switch_strlen_zero(cmd)) {
|
||||
stream->write_function(stream, "USAGE: %s\n", jsapi_interface.syntax);
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
|
||||
Reference in new issue
Block a user