Yehavi Bourvine +972-8-9489444
2007-May-03 07:03 UTC
[asterisk-users] Called party identification - where to take called name?
Hello, I am trying to apply the "called party identification" patch (patch 8824) and managed to make it work with a static data. Where do I take the name of the called person (the "equivalent" of CALLERID, but the other way...)? BTW, one note to the above patch: To make it work the device should have the parameter sendrpid set to true. Thanks, __Yehavi:
Dan Austin
2007-May-03 10:01 UTC
[asterisk-users] Called party identification - where to take calledname?
Yehavi wrote:> I am trying to apply the "called party identification" > patch (patch 8824) and managed to make it work with a > static data. Where do I take the name of the called person > (the "equivalent" of CALLERID, but the other way...)?Short answer is that you cannot. Longer answer is that it is possible, but requires new functionality to be added to the core and a new API call be added that can check if the called party is a local endpoint and retrieve the caller-id values. At least that was what I found when working on the patch. If anyone knows a way to lookup a peer/friend from the dialplan and collect such details, it would be possible to use the existing patch without any more changes in the core.> BTW, one note to the above patch: To make it work the device > should have the parameter sendrpid set to true.Dan
Yuan LIU
2007-May-03 15:30 UTC
[asterisk-users] Called party identification - where to takecalledname?
>From: "Dan Austin" <Dan_Austin@Phoenix.com> >Date: Thu, 3 May 2007 10:01:25 -0700 > >Yehavi wrote: > > I am trying to apply the "called party identification" > > patch (patch 8824) and managed to make it work with a > > static data. Where do I take the name of the called person > > (the "equivalent" of CALLERID, but the other way...)? >Short answer is that you cannot. > >Longer answer is that it is possible, but requires new >functionality to be added to the core and a new API call >be added that can check if the called party is a local >endpoint and retrieve the caller-id values.It will depend on actual application. For some small sites, manually setting up an AstDB family should suffice. This can even be semi automated. Yuan Liu>At least that was what I found when working on the patch. >If anyone knows a way to lookup a peer/friend from the >dialplan and collect such details, it would be possible to >use the existing patch without any more changes in the core. > > > BTW, one note to the above patch: To make it work the device > > should have the parameter sendrpid set to true. > >Dan