From: Anthony Minessale Date: Mon, 9 Jan 2012 21:12:08 +0000 (-0600) Subject: fix null X-Git-Tag: v1.2-rc1~19^2~1^2~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cfdb86c1e7717103628e93dbd43eb6546dc4983;p=thirdparty%2Ffreeswitch.git fix null --- diff --git a/src/mod/applications/mod_httapi/mod_httapi.c b/src/mod/applications/mod_httapi/mod_httapi.c index c0687232c4..5b7e965783 100644 --- a/src/mod/applications/mod_httapi/mod_httapi.c +++ b/src/mod/applications/mod_httapi/mod_httapi.c @@ -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;