(closes issue #12407)
Reported by: homesick
Patches:
uri_options-1.4.diff uploaded by homesick (license 91)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@114021
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
}
/* If custom URI options have been provided, append them */
- if (p->options && p->options->uri_options)
+ if (p->options && !ast_strlen_zero(p->options->uri_options))
ast_build_string(&invite, &invite_max, ";%s", p->options->uri_options);
ast_string_field_set(p, uri, invite_buf);