doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7362 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d3e6109b34
commit
62bcc9e0fc
|
@ -139,7 +139,7 @@ static int parse_exten(switch_core_session_t *session, switch_caller_profile_t *
|
|||
uint32_t len = 0;
|
||||
char *app_data = NULL;
|
||||
|
||||
if (xaction->txt) {
|
||||
if (!switch_strlen_zero(xaction->txt)) {
|
||||
data = xaction->txt;
|
||||
} else {
|
||||
data = (char *) switch_xml_attr_soft(xaction, "data");
|
||||
|
|
Loading…
Reference in New Issue