Summary:ASTERISK-03396: Manager interface outputs caller id of called, instead of caller one
Reporter:spad05 (spad05)Labels:
Date Opened:2005-01-31 10:25:46.000-0600Date Closed:2008-01-15 15:23:53.000-0600
Versions:Frequency of
Description:Disclaimer: First time we submit a bug: plz forgive us if something is wrong/missing :)


SIP/381 is calling SIP/380.

Events from manager API

Event: Newchannel
Channel: SIP/380-e612
State: Ringing
CallerID: 380
CallerIDName: 381
Uniqueid: 1107098929.188

It seems to us that CallerID is wrong, even if CallerIDName is right.


Comments:By: Tilghman Lesher (tilghman) 2005-01-31 18:10:28.000-0600

The Newchannel event describes an unbridged connection (i.e. where there's only one leg).  The Callerid therefore can only describe the one channel that is present.  Only when two call legs are bridged will there be another callerid (that of the bridged channel).  See the manager Link event.  You can then either note the previous manager event describing the callerid of each channel or you can request information on the bridged channel, via "Command: show channel $chan".

Either way, this is not a bug.

By: Mark Spencer (markster) 2005-01-31 19:53:03.000-0600

Actually, the callerid name should be empty or (as I've added just now) it can be pulled from dialplan hints.

By: Mark Spencer (markster) 2005-01-31 19:53:21.000-0600

Fixed in CVS head

By: Russell Bryant (russell) 2005-02-06 20:59:39.000-0600

not an issue in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:23:53.000-0600

Repository: asterisk
Revision: 4938

U   trunk/apps/app_dial.c
U   trunk/configs/extensions.conf.sample
U   trunk/doc/README.variables
U   trunk/include/asterisk/pbx.h
U   trunk/manager.c
U   trunk/pbx.c

r4938 | markster | 2008-01-15 15:23:53 -0600 (Tue, 15 Jan 2008) | 2 lines

Allow hints to have names (bug ASTERISK-3396)