diff options
Diffstat (limited to 'apps/app_setcallerid.c')
-rw-r--r-- | apps/app_setcallerid.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/app_setcallerid.c b/apps/app_setcallerid.c index 0e2ce485d..666e46ff4 100644 --- a/apps/app_setcallerid.c +++ b/apps/app_setcallerid.c @@ -105,7 +105,9 @@ static int setcallerid_pres_exec(struct ast_channel *chan, const char *data) return 0; } - chan->cid.cid_pres = pres; + /* Set the combined caller id presentation. */ + chan->caller.id.name.presentation = pres; + chan->caller.id.number.presentation = pres; return 0; } |