diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-04-25 16:23:00 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-04-25 16:23:00 +0000 |
commit | f5d4a16cda0dfd53931deeafa91b5fe1724bc85f (patch) | |
tree | 0e6d77ecb39feff9fcbce1429860ce4167040a20 /channels/chan_zap.c | |
parent | a751038fbe201b2e6de1c54a6570f364bb3fa00d (diff) |
Merged revisions 61799 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r61799 | russell | 2007-04-25 11:22:07 -0500 (Wed, 25 Apr 2007) | 11 lines
Merged revisions 61798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r61798 | russell | 2007-04-25 11:20:38 -0500 (Wed, 25 Apr 2007) | 3 lines
Fix a typo where cid_num got copied instead of cid_ani.
(issue #9587, reported and patched by xrg)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r-- | channels/chan_zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index acafe2d6b..f401b85e2 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -5641,7 +5641,7 @@ static struct ast_channel *zt_new(struct zt_pvt *i, int state, int startpbx, int tmp->cid.cid_num = ast_strdup(i->cid_num); tmp->cid.cid_name = ast_strdup(i->cid_name); if (!ast_strlen_zero(i->cid_ani)) - tmp->cid.cid_ani = ast_strdup(i->cid_num); + tmp->cid.cid_ani = ast_strdup(i->cid_ani); else tmp->cid.cid_ani = ast_strdup(i->cid_num); #else |