Summary:ASTERISK-04433: [patch] add Callerid1 Callerid2 to manager Event: Link and Unlink
Reporter:outtolunc (outtolunc)Labels:
Date Opened:2005-06-17 13:44:53Date Closed:2008-01-15 15:38:57.000-0600
Versions:Frequency of
Environment:Attachments:( 0) channel.c.diff.txt
( 1) manager.txt.diff.txt
Description:the reason we have manager events is to make available certain information (easily) to other progs/apps.  this patch simply adds the cid_num for each leg to the Manager Event output.

Event: Link
Privilege: call,all
Channel1: IAX2/myprovider-2
Channel2: Agent/300
Uniqueid1: 1119031291.2
Uniqueid2: 1119031294.3
Callerid1: 4085551212
Callerid2: 300
Comments:By: Clod Patry (junky) 2005-06-20 22:12:57

What's the purpose of this exactly???
with the uid, you can easily get the cid_num no?

By: outtolunc (outtolunc) 2005-06-21 08:41:04

what i am trying to do is take information that is 'right there at our finger tips' and add it to the event so it's more useful.  sure you could do another lookup based on uid.  i just like making things 'simpler'.

By: Kevin P. Fleming (kpfleming) 2005-06-21 15:13:39

You will need to update doc/manager.txt to reflect these new headers.

By: outtolunc (outtolunc) 2005-06-21 17:18:23

uploaded the manager.txt diff

By: Kevin P. Fleming (kpfleming) 2005-06-21 19:10:11

Committed to CVS HEAD, except I changed the header name to use uppercase ID to match the other CallerID headers. Thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:38:57.000-0600

Repository: asterisk
Revision: 5963

U   trunk/channel.c
U   trunk/doc/manager.txt

r5963 | kpfleming | 2008-01-15 15:38:57 -0600 (Tue, 15 Jan 2008) | 2 lines

add channel CLID info in manager Link event (bug ASTERISK-4433 with minor mod)