[Home]

Summary:ASTERISK-12463: [patch] Manager event 'Hangup' with no CallerIDNum and CallerIDName.
Reporter:Eliel Sardanons (eliel)Labels:
Date Opened:2008-07-27 02:43:30Date Closed:2008-07-30 18:20:58
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/Channels
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) hangup_event.patch
Description:When hanging up ZOMBIE channel after a masquerade, the 'Hangup' event is incomplete compared with the Hangup event generated while calling ast_hangup(). There are two missing values:
CallerIDNum and CallerIDName.

****** ADDITIONAL INFORMATION ******

before the patch:

Event: Hangup
Privilege: call,all
Channel: SIP/eliel-0821a690<ZOMBIE>
Uniqueid: 1217145037.1
Cause: 16
Cause-txt: Normal Clearing


Now the event looks like:

Event: Hangup
Privilege: call,all
Channel: SIP/eliel-082dec90<ZOMBIE>
Uniqueid: 1217144420.15
CallerIDNum: <unknown>
CallerIDName: <unknown>
Cause: 16
Cause-txt: Normal Clearing

Comments:By: Tilghman Lesher (tilghman) 2008-07-30 17:43:07

Since the callerid is always going to be unknown after a masquerade, why include them at all?

By: Eliel Sardanons (eliel) 2008-07-30 18:17:32

I think it is better to be consistent to simplify parsers implementation.

By: Tilghman Lesher (tilghman) 2008-07-30 18:20:57

That doesn't make any sense.  I'm closing this one out.