diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-03 22:41:46 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-03 22:41:46 +0000 |
commit | f00656db9ebcc7db98c0e3a3abf9a83791d8bcdb (patch) | |
tree | 2e466f746a2e29094d6dcc3c6f2577f4dd85f4c0 /channels/chan_agent.c | |
parent | 531f260b1278edd05dcabd04422b6a072e75f821 (diff) |
This commit introduces COLP/CONP and Redirecting party information into Asterisk.
The channel drivers which have been most heavily tested with these enhancements are
chan_sip and chan_misdn. Further work is being done to add Q.SIG support and will be
introduced in a later commit. chan_skinny has code added to it here, but according
to user pj, the support on chan_skinny is not working as of now. This will be fixed in
a later commit.
A special thanks goes out to bugtracker user gareth for getting the ball rolling and
providing the initial support for this work. Without his initial work on this, this would
not have been nearly as painless as it was.
This functionality has been tested by Digium's product quality department, as well as a
customer site running thousands of calls every day. In addition, many many many many bugtracker
users have tested this, too.
(closes issue #8824)
Reported by: gareth
Review: http://reviewboard.digium.com/r/201
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@186525 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_agent.c')
-rw-r--r-- | channels/chan_agent.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/chan_agent.c b/channels/chan_agent.c index b15f7a04e..818f61935 100644 --- a/channels/chan_agent.c +++ b/channels/chan_agent.c @@ -757,8 +757,7 @@ static int agent_call(struct ast_channel *ast, char *dest, int timeout) time(&p->start); /* Call on this agent */ ast_verb(3, "outgoing agentcall, to agent '%s', on '%s'\n", p->agent, p->chan->name); - ast_set_callerid(p->chan, - ast->cid.cid_num, ast->cid.cid_name, NULL); + ast_channel_set_connected_line(p->chan, &ast->connected); ast_channel_inherit_variables(ast, p->chan); res = ast_call(p->chan, p->loginchan, 0); CLEANUP(ast,p); |