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