]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix null
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 9 Jan 2012 21:12:08 +0000 (15:12 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 9 Jan 2012 21:12:21 +0000 (15:12 -0600)
src/mod/applications/mod_httapi/mod_httapi.c

index c0687232c4bd9a93d754245f9484cb79d0166212..5b7e96578361caaefd1d1d19e0a900f44f877c8d 100644 (file)
@@ -245,7 +245,7 @@ static switch_status_t parse_voicemail(const char *tag_name, client_t *client, s
        const char *auth = switch_xml_attr(tag, "auth-only");
        const char *profile = switch_xml_attr(tag, "profile");
        const char *domain = switch_xml_attr(tag, "domain");
-       const char *id = switch_xml_attr(tag, "id");
+       const char *id = switch_xml_attr_soft(tag, "id");
        char *ddom = NULL;
        char *str;
        switch_status_t status;