summaryrefslogtreecommitdiff
path: root/res/res_fax.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_fax.c')
-rw-r--r--res/res_fax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_fax.c b/res/res_fax.c
index 95d46f3bd..7e1a0c20a 100644
--- a/res/res_fax.c
+++ b/res/res_fax.c
@@ -1009,7 +1009,7 @@ static struct ast_fax_session *fax_session_new(struct ast_fax_session_details *d
return NULL;
}
- if (!(s->chan_uniqueid = ast_strdup(chan->uniqueid))) {
+ if (!(s->chan_uniqueid = ast_strdup(ast_channel_uniqueid(chan)))) {
fax_session_release(s, token);
ao2_ref(s, -1);
return NULL;