[asterisk-dev] [patch] adding username from registration to peer state ?

Luigi Rizzo rizzo at icir.org
Mon Oct 30 00:54:06 MST 2006


On Mon, Oct 30, 2006 at 08:47:44AM +0100, Johansson Olle E wrote:
> 
> 30 okt 2006 kl. 08.12 skrev Luigi Rizzo:
> 
> > [summary - i suggested to save the content of the From: field
> > from devices when they register, for use in a GUI so the operator
> > can see names as opposed to just numbers]
> >
> > On Sun, Oct 29, 2006 at 09:16:40PM +0100, Johansson Olle E wrote:
> > ...
> >> 29 okt 2006 kl. 20.06 skrev Luigi Rizzo:
> > ...
> >>> i am working on a GUI and i noticed that when the remote parties
> >>> register to asterisk, asterisk doesn't know anything they tell it
> >>> except the contact.
> >> Why should we need it?
> >>
> >> We can save a lot of stuff devices tell us, but I fail to see the
> >> application
> >> for it. The only thing we haven't got is the display name in the
> >> From: header,
> >> but in most cases, I would not trust what the device tell me.
> >
> > ... but when the same info is sent in as a callerid, you give the
> > administrator the option to use it or overwrite it.
> > I find that inconsistent. All i am suggesting is to give the
> > administrator the option also in case of registers.
> ´The option to do what???
> 
> In a call, we actually use the From: header. In a registration,  
> there's no use
> for it. You still haven't explained the usage!

It's for people, not for machines!  I quote from the above:

	> > [summary - i suggested to save the content of the From: field
	> > from devices when they register, for use in a GUI so the operator
	> > can see names as opposed to just numbers]

as i explained above, for "use" i mean that the human being looking
at the display can actually see names next to numbers, even if the
users are not in a call.
makes sense ?

	cheers
	luigi



More information about the asterisk-dev mailing list