<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: transferring calls using vteamTransfer in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4619344#M3206</link>
    <description>&lt;P&gt;Hi Unai,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was able to test vteamTransfer with&amp;nbsp;&lt;SPAN&gt;inboundentrypoint, and it works.&amp;nbsp; I can say with confidence its supported.&lt;BR /&gt;If its still not working for you, I would maybe double-check your interactionId.&amp;nbsp; You can always grab/verify it from the browser console/dev tools and plug it into your code while still on a call, for testing purposes.. etc....&lt;BR /&gt;Below is the code snippet that Im using as well as a snippet of the dev tools console....&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;// Initiate a transfer
  async transferToEP() {
    let interactionId = await this.getInfo();
    let response = await Desktop.agentContact.vteamTransfer({
      interactionId,
      data: {
        vteamId: "AXeMrO7Vwb-tZrANz1q_", // replace with your onw Queue
        vteamType: "inboundentrypoint"
      }
    });

    logger.info("myTransfer" + JSON.stringify(response));
  }&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;{"EP_ID":"c2812fe6-e81b-4dc4-9286-0e17fe645653","QMgrName":"aqm","QueueId":"6a130f33-97d7-46e6-a286-fc9ee6f34968","ROUTING_TYPE":"queueBasedRouting","ani":"+1nnnnnnnnnn","dnis":"+1nnnnnnnnn,"fceRegisteredEvents":"","mohFileName":"defaultmusic_on_hold.wav","priority":"10","routingStrategyId":"783c3b5a-8e31-43eb-b1a7-f20f49923511","taskToBeSelfServiced":"false","tenantId":"328","vteamId":"6a130f33-97d7-46e6-a286-fc9ee6f34968","workflowId":"626cabf3bb9ec16a540f21ab","workflowName":"test_v2_generic"},"contactDirection":{"type":"INBOUND"},"currentVTeam":"6a130f33-97d7-46e6-a286-fc9ee6f34968","interactionId":"1ca251b8-7050-42f6-b170-6518762a9098",&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 May 2022 14:31:59 GMT</pubDate>
    <dc:creator>ntheolog</dc:creator>
    <dc:date>2022-05-27T14:31:59Z</dc:date>
    <item>
      <title>transferring calls using vteamTransfer</title>
      <link>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4599378#M3198</link>
      <description>&lt;P&gt;Hi Guys, I'm trying to create a wx-cc header widget that uses the vteamTransfer agentContact API, to transfer a call to an entry point that plays an announcement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have created the entry point and I'm able to get the entry point details using the&amp;nbsp;&lt;SPAN&gt;Desktop&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;agentContact&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;vteamList method, then when the agent is on an active call, I've created a button that calls the following code:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;await Desktop.agentContact.vteamTransfer({
      interactionId, // interaction id for the current call
      data: {
          vteamId, // entry point id
          vteamType: "inboundentrypoint"
      }
    })&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Unfortunately, the code above is throwing the following exception:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;2022-04-25 16:06:59:672 ["agentx-services","Http request roundtrip time: https://aqm.prodeu1.ciscoccservice.com/aqm/v1/contact/969e0637-9525-4a5a-8b32-55c13fc67f62/vteamTransfer POST 47ms"]
build.umd.js:3030 Unhandled Promise rejection:  ; Zone: &amp;lt;root&amp;gt; ; Task: Promise.then ; Value: Error
    at new i (https://desktop.wxcc-eu1.cisco.com/app/chunks/vendors~app~.._.._node_modules_@i.a44f77b1.js:26111:13501)
    at Object.handle (https://desktop.wxcc-eu1.cisco.com/app/chunks/app~...6f52100e.js:3349:36)
    at AqmReqs.onMessage (https://desktop.wxcc-eu1.cisco.com/app/chunks/app~...6f52100e.js:3247:25)
    at https://desktop.wxcc-eu1.cisco.com/app/chunks/vendors~app~.._.._node_modules_@i.a44f77b1.js:26111:32432
    at Array.forEach (&amp;lt;anonymous&amp;gt;)
    at AqmNotifs.send [as onMessageSend] (https://desktop.wxcc-eu1.cisco.com/app/chunks/vendors~app~.._.._node_modules_@i.a44f77b1.js:26111:32421)
    at WebSocket.websocket.onmessage (https://desktop.wxcc-eu1.cisco.com/app/chunks/app~...6f52100e.js:3180:22)&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;But I can't work out what's going on. As a workaround I've used the blindTransfer method in order to transfer the call to a number that maps to the entrypoint and that works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;does anyone have an example that I could use to get vteamTransfers working?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unai&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 16:08:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4599378#M3198</guid>
      <dc:creator>uzuluaga</dc:creator>
      <dc:date>2022-04-25T16:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: transferring calls using vteamTransfer</title>
      <link>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4600961#M3199</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/316969"&gt;@uzuluaga&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are investigating this and will respond with the example code shortly,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your patience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arunabh.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 15:45:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4600961#M3199</guid>
      <dc:creator>Arunabh Bhattacharjee</dc:creator>
      <dc:date>2022-04-27T15:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: transferring calls using vteamTransfer</title>
      <link>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4608960#M3200</link>
      <description>&lt;P&gt;hey Arunabh,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;did you have any luck with this or you didn't have a chance to look into it yet?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unai&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 11:59:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4608960#M3200</guid>
      <dc:creator>uzuluaga</dc:creator>
      <dc:date>2022-05-12T11:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: transferring calls using vteamTransfer</title>
      <link>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4611661#M3201</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/316969"&gt;@uzuluaga&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Sorry for delay.&amp;nbsp; Im going to try this out today.&amp;nbsp; I'll get back to you shortly.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;/P&gt;
&lt;P&gt;Niko&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 14:11:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4611661#M3201</guid>
      <dc:creator>ntheolog</dc:creator>
      <dc:date>2022-05-17T14:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: transferring calls using vteamTransfer</title>
      <link>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4612699#M3202</link>
      <description>&lt;P&gt;&lt;SPAN&gt;HI&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.cisco.com/t5/user/viewprofilepage/user-id/316969" target="_blank"&gt;@uzuluaga&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;BR /&gt;&lt;/SPAN&gt;I have escalated this to our Desktop group.&amp;nbsp; Waiting on them to give me some feedback.&lt;BR /&gt;&lt;BR /&gt;thanks for you patience.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Niko&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 00:13:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4612699#M3202</guid>
      <dc:creator>ntheolog</dc:creator>
      <dc:date>2022-05-19T00:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: transferring calls using vteamTransfer</title>
      <link>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4616593#M3203</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://community.cisco.com/t5/user/viewprofilepage/user-id/316969" target="_blank" rel="noopener"&gt;@uzuluaga&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;BR /&gt;&lt;/SPAN&gt;I was finally able to make this method work.&amp;nbsp; The one small difference is Im using&amp;nbsp;&lt;SPAN&gt;inboundqueue as the vteamType.&lt;BR /&gt;&lt;BR /&gt;Have you tried it with this type?&amp;nbsp; Or are you looking to use this method with&amp;nbsp;inboundentrypoint?&amp;nbsp; Let us know on this subject.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The reason I bring it up is although the documentation references inboundentrypoint, if you look at the GUI of the Transfer,&amp;nbsp; only Queue is referenced?!&amp;nbsp; &amp;nbsp;So I need to verify this aspect.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;If you are just looking to make this work regardless of the type... try&amp;nbsp;inboundqueue.&lt;BR /&gt;Below is the sample code that worked for me.&amp;nbsp; The 3 items to make sure you pay extra attention to...&lt;BR /&gt;&lt;BR /&gt;1. Using "await" as you are as its promise based.&lt;BR /&gt;2. Making sure you use the &lt;STRONG&gt;interactionId&lt;/STRONG&gt;&lt;BR /&gt;3. using the&amp;nbsp;&lt;STRONG&gt;inboundqueue&lt;/STRONG&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;// Initiate a transfer
  async transferToEP() {
    let interactionId = await this.getInfo();
    let response = await Desktop.agentContact.vteamTransfer({
      interactionId,
      data: {
        vteamId: "AXr39XRQDntNus7_q4r8", // replace with your onw Queue
        vteamType: "inboundqueue"
      }
    });

    logger.info("transfer: " + JSON.stringify(response));
  }&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 15:30:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4616593#M3203</guid>
      <dc:creator>ntheolog</dc:creator>
      <dc:date>2022-05-24T15:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: transferring calls using vteamTransfer</title>
      <link>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4618158#M3204</link>
      <description>&lt;P&gt;Hi Nico,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for that, we haven't tried the inboundqueue type since the requirement from the client is to simply play a message and disconnect the call so we were hoping to be able to transfer the call to an entrypoint with an announcement on it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did the entrypoint transfer work for you or do you know if it's supported? I believe I saw it on the documentation but not 100% sure, as a workaround we are currently using the blindtransfer method to send calls to the entrypoint DDI but vteamtransfer seems like a better option than the blindtransfer one hence the reason why we would like to ideally get it working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unai&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 09:04:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4618158#M3204</guid>
      <dc:creator>uzuluaga</dc:creator>
      <dc:date>2022-05-26T09:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: transferring calls using vteamTransfer</title>
      <link>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4618826#M3205</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Unai,&lt;BR /&gt;&lt;BR /&gt;Now that I got the&amp;nbsp;inboundqueue to work, I will try ithe Transfer again using the entrypoint.&amp;nbsp; I should be able to get back to you within 24hrs.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Niko&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 23:17:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4618826#M3205</guid>
      <dc:creator>ntheolog</dc:creator>
      <dc:date>2022-05-26T23:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: transferring calls using vteamTransfer</title>
      <link>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4619344#M3206</link>
      <description>&lt;P&gt;Hi Unai,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was able to test vteamTransfer with&amp;nbsp;&lt;SPAN&gt;inboundentrypoint, and it works.&amp;nbsp; I can say with confidence its supported.&lt;BR /&gt;If its still not working for you, I would maybe double-check your interactionId.&amp;nbsp; You can always grab/verify it from the browser console/dev tools and plug it into your code while still on a call, for testing purposes.. etc....&lt;BR /&gt;Below is the code snippet that Im using as well as a snippet of the dev tools console....&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;// Initiate a transfer
  async transferToEP() {
    let interactionId = await this.getInfo();
    let response = await Desktop.agentContact.vteamTransfer({
      interactionId,
      data: {
        vteamId: "AXeMrO7Vwb-tZrANz1q_", // replace with your onw Queue
        vteamType: "inboundentrypoint"
      }
    });

    logger.info("myTransfer" + JSON.stringify(response));
  }&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;{"EP_ID":"c2812fe6-e81b-4dc4-9286-0e17fe645653","QMgrName":"aqm","QueueId":"6a130f33-97d7-46e6-a286-fc9ee6f34968","ROUTING_TYPE":"queueBasedRouting","ani":"+1nnnnnnnnnn","dnis":"+1nnnnnnnnn,"fceRegisteredEvents":"","mohFileName":"defaultmusic_on_hold.wav","priority":"10","routingStrategyId":"783c3b5a-8e31-43eb-b1a7-f20f49923511","taskToBeSelfServiced":"false","tenantId":"328","vteamId":"6a130f33-97d7-46e6-a286-fc9ee6f34968","workflowId":"626cabf3bb9ec16a540f21ab","workflowName":"test_v2_generic"},"contactDirection":{"type":"INBOUND"},"currentVTeam":"6a130f33-97d7-46e6-a286-fc9ee6f34968","interactionId":"1ca251b8-7050-42f6-b170-6518762a9098",&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 14:31:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/transferring-calls-using-vteamtransfer/m-p/4619344#M3206</guid>
      <dc:creator>ntheolog</dc:creator>
      <dc:date>2022-05-27T14:31:59Z</dc:date>
    </item>
  </channel>
</rss>

