diff options
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c index 2a415401f..6b71c54b9 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -10050,7 +10050,9 @@ static int pbx_outgoing_attempt(const char *type, struct ast_format_cap *cap, co return -1; } - ast_set_variables(dialed, vars); + if (vars) { + ast_set_variables(dialed, vars); + } if (account) { ast_channel_accountcode_set(dialed, account); |