Author Topic: AttachedData - how to add to call  (Read 2502 times)

Offline theMarine

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
AttachedData - how to add to call
« on: June 02, 2017, 05:03:09 PM »
Hi,
I woul'd like to add AttachedData to call in C#.
Simple example:
[list type=decimal]
[li]New call come to TServer[/li]
[li]Custom application based on ANI number look for data in external database[/li]
[li]Add data to call[/li]
[/list]

Is this possible? If yes, please suggest something, anything will be useful.

Thanks in advance.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: AttachedData - how to add to call
« Reply #1 on: June 02, 2017, 05:13:01 PM »
Yes. You should monitor all RP objects and then do the attach.
Search the forum for ideas and also the help file.


Enviado de meu E6633 usando Tapatalk


Offline theMarine

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: AttachedData - how to add to call
« Reply #2 on: June 21, 2017, 01:45:35 PM »
first of all thanks :) so far I know how to attach data but have no idea how to monitor RP. Could you suggest something more please?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: AttachedData - how to add to call
« Reply #3 on: June 21, 2017, 03:13:05 PM »
In order to attach data to anything you need to monitor the DN...so....same code you are using, just change the object type or search the forum and help files which have sample code on them

Enviado de meu E6633 usando Tapatalk


Offline theMarine

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: AttachedData - how to add to call
« Reply #4 on: June 21, 2017, 04:22:37 PM »
Ok, I believe that got it now. Will test it and if I am wrong will bother you again. Thanks again ;-)

Edit: Works... Now I see how easy it is.... Once again thanks!

« Last Edit: June 21, 2017, 04:57:54 PM by theMarine »