Top Banner
Using Asterisk and XMPP to provide greater tools to your customers and your users Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres
21

AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Apr 15, 2017

Download

Technology

Nome Sobrenome
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Using Asterisk and XMPP to provide greater tools to your customers and your users

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 2: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Who am I ?

▸ SysAdmin▸ Working with Asterisk and XMPP since 2006▸ XSF (XMPP Standards Foundation) member

since this year.▸ For several years working on improve the

user experience

@mhterres

https://github.com/mhterres/

https://bitbucket.org/mhterres/

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 3: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Why XMPP ?

▸ Open▸ Standard

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 4: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Why XMPP ?

▸ Open▸ Standard▸ Decentralized▸ Secure

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 5: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Why XMPP ?

▸ Open▸ Standard▸ Decentralized▸ Secure▸ Extensible (XEPs)

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 6: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Why XMPP ?

▸ Open▸ Standard▸ Decentralized▸ Secure▸ Extensible (XEPs)▸ Flexible

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 7: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Why XMPP ?

▸ Open▸ Standard▸ Decentralized▸ Secure▸ Extensible (XEPs)▸ Flexible▸ Most companies already use it

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 8: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Why XMPP ?

▸ Open▸ Standard▸ Decentralized▸ Secure▸ Extensible (XEPs)▸ Flexible▸ Most companies already use it

Do you want to contribute or become a XSF member? Contact me.

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 9: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

XMPP

▸ MUC (Multi User Chat)▹ XEP0045

▸ PubSub (Publish-Subscribe)▹ XEP0060

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 10: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

XMPP

▸ MUC (Multi User Chat)▹ XEP0045

▸ PubSub (Publish-Subscribe)▹ XEP0060

▸ Servers▹ Openfire▹ Ejabberd▹ MongooseIM▹ Prosody▹ Tigase

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 11: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Asterisk and XMPP

▸ Asterisk version 1.4 (2006)▹ JabberSend▹ JabberReceive▹ JabberStatus

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 12: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Asterisk and XMPP

▸ Asterisk version 1.4 (2006)▹ JabberSend▹ JabberReceive▹ JabberStatus

▸ Asterisk version 1.8 (2010)▹ JabberJoin/JabberLeave▹ JabberSendGroup▹ PubSub support (Device State and MWI)

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 13: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Asterisk and XMPP

▸ Asterisk version 1.4 (2006)▹ JabberSend▹ JabberReceive▹ JabberStatus

▸ Asterisk version 1.8 (2010)▹ JabberJoin/JabberLeave▹ JabberSendGroup▹ PubSub support (Device State and MWI)

▸ Asterisk version 10 and above (2011) ▹ res_xmpp▹ Contexts

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 14: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Asterisk and XMPP - CallerID

▸ Earlier Caller identification▸ Version 1.4 and above

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 15: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

CallerID and Queues

▸ Sends CallerID information to all unpaused queue members

▸ Sends CallerID information to MUC▸ Other uses: integration with ticket system▸ MUC support: Asterisk 1.8 and above

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 16: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

CallerID and Queues - example

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 17: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

AstDemo - the first PoC

▸ First PoC▸ Integration using contexts▸ AGI used to process XMPP messages and

responses▸ A different approach to achieve the same

goals▸ Asterisk 10 and above

XMPP and Asterisk - part 1: http://goo.gl/y3eEot

XMPP and Asterisk - part 2: http://goo.gl/TSCV2X

AstDemo: http://goo.gl/x4YznS

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 18: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

XyBot - PoC

▸ Features available: ▹ call▹ enter queue▹ sms

▸ Monitoring features▸ Easy to add new features and monitoring

alerts ▸ Asterisk 11 and above▸ What else?

▹ Call your customers using your own systems data

▹ Anything you want

More informations: http://goo.gl/SsrrWBMarcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 19: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

IVR Data Delivery - PoC

▸ Allows integration with other systems▹ HelpDesk systems▹ Custom systems

▸ Use of XMPP PubSub (XEP0060)▸ XMPP libs available for most languages▸ ARI - the Statis App (queueapp.py) ▸ Asterisk 13 and above

More informations: http://goo.gl/E7y08V

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 20: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Questions ???

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres

Page 21: AstriCon 2016 - Using Asterisk and XMPP to provide greater tools to your customers and your users

Thanks !!!

You can find me at

xmpp:[email protected]

mailto: [email protected]

You can also access my website:https://www.mundoopensource.com.br

Marcelo H. Terres ([email protected]) - https://www.mundoopensource.com.br @mhterres