mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
a)In chan_zap, set the clid, src fields in channel_alloc call. b)in the channel_alloc func, set the cid_num and name fields from the arglist[blush]. c) don't update the channel app & app data fields if you are in the 'h' extension. d)the load_module func in cdr_radius needs to return DECLINE, SUCCESS.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -516,7 +516,7 @@ int pbx_exec(struct ast_channel *c, /*!< Channel */
|
||||
const char *saved_c_appl;
|
||||
const char *saved_c_data;
|
||||
|
||||
if (c->cdr)
|
||||
if (c->cdr && !(c->exten[0] == 'h' && c->exten[1] == 0) )
|
||||
ast_cdr_setapp(c->cdr, app->name, data);
|
||||
|
||||
/* save channel values */
|
||||
|
Reference in New Issue
Block a user