PIVOT and ACDC Queue

484 views
Skip to first unread message

Sohilkumar Bhavsar

unread,
Jun 30, 2015, 7:17:29 PM6/30/15
to 2600h...@googlegroups.com
Hello,

We are using Pivot for IVR and need to transfer user to appropriate queue based on DTMF selection.

We are sending following XML in Pivot response:

<?xml version="1.0" encoding="UTF-8"?><Response><Dial timeout="10"><Queue>support</Queue></Dial></Response>

But getting following error.

dialing into queue support, unsupported

I have also checked TwiML documentation and tried secondary verb Enqueue (https://www.twilio.com/docs/api/twiml/enqueue) but it is also not working.

Is anybody has used PIVOT with ACDC Queue?

We can do a workaround with Callflow for Queue Login with Dial TwiML primary verb but it will be good to know your thoughts.

Kind Regards,

Sohil Bhavsar.

James Aimonetti

unread,
Jun 30, 2015, 11:32:56 PM6/30/15
to 2600h...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

That's right, Queue isn't supported yet in the Pivot XML parser.

You could use the Kazoo JSON format and route to ACDc using the
callflow cf_acdc_member callflow action to send the caller into your
queue of choice.
- --
James Aimonetti
Lead Systems Architect / Impressionable Scallywag
"I thought I fixed that"

2600Hz | http://2600hz.com
sip:ja...@2600hz.com
tel:415.886.7905
irc:mc_ @ freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJVk19lAAoJENTKa+JPXCVgIBUH/00+9VtwAWF5tMtfeXZ8SZGE
EqgPDUV8PU7RDwKy/LsSAOlVlO6XQrqIvFIGG+iB6cNGqqHz1FZq8Ld6UDLV+Vaz
7/ZXTAz9kRulCm/r3XIZWSbZC8ZYJTJNqxubIrpV0It4NjvE88TGbK2OyfXLfnMI
vZswcAeVo/2pRr2nfX1lidq7hdZDcyZnVLP/TvJq3P+dWdGKG9f7Ac/8gk5Yl+Oy
qtrMbZysJ4Q6qPY2oijfPAEq7LuPpbOaSArgeDOWUnBitT7Z+wxtzSXSXdqMbZPx
igkBeQ2/0X5o+aokmupseR95DtmcO/If8ErkeecTAiOEedcU+Pfk6Xa7a/BH3/A=
=2Ulh
-----END PGP SIGNATURE-----

Sohilkumar Bhavsar

unread,
Jul 1, 2015, 10:58:32 AM7/1/15
to 2600h...@googlegroups.com, ja...@2600hz.com
Many thanks James.

It has saved a lot of important time in finding why it is not working.

I could not find the API guide for Kazoo JSON so had to use TwiML. Can you please suggest where can I find all supported Syntax of Kazoo JSON?

Also Is it possible to manually assign agent with the user who is waiting in particular queue? We want to implement skill based routing and have custom logic about which agent is best suited for particular call based on user's past conversations and history.

e.g. If James (Customer) have last talked with Sohil (Agent) then if Sohil is available then James' call will be routed to Sohil.

Kind Regards,

Sohil Bhavsar.

James Aimonetti

unread,
Jul 9, 2015, 11:48:03 AM7/9/15
to Sohilkumar Bhavsar, 2600h...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

https://github.com/2600hz/kazoo/blob/master/applications/pivot/doc/index
.md
is an intro

https://github.com/2600hz/kazoo/tree/master/applications/pivot/doc/kazoo
provides some basic samples.

https://github.com/2600hz/kazoo/tree/master/applications/crossbar/priv/c
ouchdb/schemas

Look for the callflows.SOMETHING.json; those are the schemas for some
of the callflow actions. You can always create the callflow in
KazooUI/MonsterUI and use the JSON generated as a guide for building
your own.

https://github.com/2600hz/kazoo-php-sdk/blob/master/docs/CallflowBuilder
/index.md

You can look at the PHP SDK, which has a callflow building classes
that should help guide you as well.

As for logic for assigning callers to agents directly; that would have
to be your own logic on the receiving end of the Pivot request. More
APIs are coming on Crossbar for presence lookups and other useful
things, but you could configure simple presence monitoring by adding
webhooks to be notified of when an agent goes on a call and hangs up.

Just some thoughts to get you going...
sip:ja...@2600hz.com
tel:415.886.7905
irc:mc_ @ freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJVnpevAAoJENTKa+JPXCVg/8IH/3uPLhO8fM7KQzhvAgv/MaXh
Nxict6FdxBis2pWVWvKP6vt39zJVPTKWMBz6inBAsMVnrgJiB/wWhI6c8GukZzOK
S1sgpIrfbeq9bXqYa+5wKZCY1BI1SvCN1VP/326xTTU5xW1AvPFrTmEC1VJnM50s
82yWWxSIs1VgpsGBWOJeyAyqpHmvNicp/FyyPpDfr3Fg01ARTlRnLG1WpCSoVVBb
okOydsO34t5RCDSH9Xs1bVyHHWxmUcMnzUx3DXTg9cx/+L2JVeOkK2wScYI23Oh9
KfmmPbspQKlPbLZbxbZ4prGPtK1vJB6BfAJtkWBxZ2LtJ/pZ4nxIyqKqxrXtzSU=
=GGkG
-----END PGP SIGNATURE-----

Sohilkumar Bhavsar

unread,
Jul 9, 2015, 5:44:08 PM7/9/15
to 2600h...@googlegroups.com, ja...@2600hz.com
Many thanks James.

This will be really helpful and will be good enough to keep me busy for next few days.

It appears Kazoo JSON is more powerful then TwiML.

Also can you please confirm if Call Center module or "cb_queue" can be used in Production Environment or it is still in Beta phase?

Kind Regards,

Sohil Bhavsar.

Sohilkumar Bhavsar

unread,
Aug 28, 2015, 5:41:13 AM8/28/15
to 2600hz-dev, ja...@2600hz.com
James,

You mentioned earlier that more Crossbar APIs are coming, is there any update?

As for logic for assigning callers to agents directly; that would have 
to be your own logic on the receiving end of the Pivot request. More 
APIs are coming on Crossbar for presence lookups and other useful 
things, but you could configure simple presence monitoring by adding 
webhooks to be notified of when an agent goes on a call and hangs up. 

Also can you please suggest if Call Center module or "cb_queue" can be used in Production Environment?

Kind Regards

Sohil Bhavsar

Reply all
Reply to author
Forward
0 new messages