astricon 2016 - using asterisk and xmpp to provide greater tools to your customers and your users

21
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

Upload: nome-sobrenome

Post on 15-Apr-2017

500 views

Category:

Technology


1 download

TRANSCRIPT

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

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

Why XMPP ?

▸ Open▸ Standard

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

Why XMPP ?

▸ Open▸ Standard▸ Decentralized▸ Secure

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

Why XMPP ?

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

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

Why XMPP ?

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

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

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

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

XMPP

▸ MUC (Multi User Chat)▹ XEP0045

▸ PubSub (Publish-Subscribe)▹ XEP0060

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

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

Asterisk and XMPP

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

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

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

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

Asterisk and XMPP - CallerID

▸ Earlier Caller identification▸ Version 1.4 and above

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

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

CallerID and Queues - example

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

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

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

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

Questions ???

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

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