Author Topic: How to attach data to consult call only?  (Read 3647 times)

Po

  • Guest
How to attach data to consult call only?
« on: September 14, 2009, 11:03:18 AM »
Can someone show me an example of how to attach data to a consult call? I have set consult call type to "separate" and use TLine in EventDialing to attach data, but kvp is attached to original call and not the backup. What am I doing wrong?


Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1416
  • Karma: 18
Re: How to attach data to consult call only?
« Reply #1 on: September 14, 2009, 11:08:35 AM »
  • Best Answer
  • Hey, Po!

    In eventdialing, uou need to call GetActiveCallObj and call TAttach from there.
    I will post a sample code shortly.

    Vic

    Offline Mikael Jansson

    • Newbie
    • *
    • Posts: 28
    • Karma: 2
    Re: How to attach data to consult call only?
    « Reply #2 on: September 25, 2009, 08:05:16 AM »
  • Best Answer
  • You also need to set tesrver option "consult-user-data" (or some thing like that) to "separate".
    Othervise tserver will attach data to both call-legs.
    Regards
    Micke