Summary: | ASTERISK-10767: [patch] Add CallerIDNum: and CallerIDName: to Event: Hangup output | ||
Reporter: | outtolunc (outtolunc) | Labels: | |
Date Opened: | 2007-11-14 13:53:56.000-0600 | Date Closed: | 2007-11-14 16:56:56.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/NewFeature |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) channel.c.hangup_callerid_ast14.diff | |
Description: | There are times when it just is not effective to track a table of uniqueid's to know what/where/why a call existed. Some folks out there use the CallerIDName for this purpose internally. This patch would allow those people to be able to grab that info immediately. example of output ----------------- Event: Hangup Privilege: call,all Channel: Zap/59-1 Uniqueid: 1195068834.111 CallerIDNum: 4083760000 CallerIDName: ~Some-Info~ Cause: 16 Cause-txt: Normal Clearing ****** ADDITIONAL INFORMATION ****** I sadly do not have access to a 1.4 nor svn trunk box setup at the moment. So this patch is a hand mod'ed variation of a 1.2 patch i did. | ||
Comments: | By: outtolunc (outtolunc) 2007-11-14 16:50:40.000-0600 Since someone brought up why not just use uniqueid again, i thought i would add that ... Newchannel Newstate Newcallerid OriginateResponse already have the CallerIDNum/Name output on them, this patch just helps carry this to completion. i hope this helps clear up why. By: Digium Subversion (svnbot) 2007-11-14 16:56:56.000-0600 Repository: asterisk Revision: 89273 U trunk/main/channel.c ------------------------------------------------------------------------ r89273 | tilghman | 2007-11-14 16:56:55 -0600 (Wed, 14 Nov 2007) | 5 lines Add callerid to the Hangup manager event. Reported by: outtolunc Patch by: outtolunc Closes issue ASTERISK-10767 ------------------------------------------------------------------------ |