SlideShare uma empresa Scribd logo
1 de 10
techio.com
MongoDB Interface for Asterisk PBX
Sokratis Galiatsis, Co-Founder TechIO
@sokratisg | sokratis@techio.com
techio.com
What Asterisk PBX is?
• Software implementation of a Private Branch Exchange
• Exists since 2004
• Dual Licensed (GPL v2.0 & Proprietary)
• Ported to almost all well known platforms
• Very popular solution for either ITSPs or SMBs
• Core component for many PABX such as Trixbox & FreePBX
techio.com
Integration Options
• unixODBC
• MySQL
• Postgres
• SNMP
• LDAP
• SQLite
• Asterisk Gateway Interface (AGI)
• mongoDB
techio.com
mongodb supported drivers: Apache License v2.0
asterisk server + addons: GPL v2.0
MongoDB
!
Asterisk
BUT WAIT :)
 How about storing PBX CDRs into mongoDB?
 How about taking near-realtime decisions based on mongoDB datasets?
• Faster Rating & Billing
• Less Complex Fraud detection
techio.com
Meet app_mongodb!
• Asterisk native application
• mongoDB interaction from the PBX dialplan
• Still a prototype with just under 300 lines of code
• Tested and working ok so far on Asterisk 1.8.x
• Re-used already existing code base (cdr_mongodb)
• Greatly influenced by app_mysql
What can it do so far?
 Replace a CallerID’s Name by matching his number in a mongoDB phonebook
techio.com
app_mongodb in Action
200 is calling 201
201 receives a call
from “mongodb-rulez!”
find({“num”: 200”, “cid”: 1})
“cid”: “mongodb-rulez!”
techio.com
Well, ok but
is that all?
techio.com
• Near-Realtime accounting for billing, remaining call time, fraud-detection etc.
• Faster Dynamic Call Routing (usage based trunk routing)
• Faster analysis on ITSP customer trends (BI)
• Integrating 3rd party with mongoDB as a data source
• Asterisk Integration with CRM for medium to large organizations (Call-Centers, etc)
Some ideas
Additional support for a broader set of mongoDB
operations can be implemented easily! ;-)
techio.com
Resources
• app_mongodb: github.com/TechIOltd/app_mongodb
• mongo-c-driver: github.com/mongodb/mongo-c-driver
• cdr_mongodb: github.com/FlaPer87/cdr_mongodb
• mongoDB C driver tutorial: api.mongodb.org/c/current/tutorial.html
• mongoDB licensing: www.mongodb.org/about/licensing
• Asterisk PBX sources & documentation: www.asterisk.org
techio.com

Mais conteúdo relacionado

Mais procurados

Penyuluhan tentang bagaimana pencegah dbd
Penyuluhan tentang bagaimana pencegah dbdPenyuluhan tentang bagaimana pencegah dbd
Penyuluhan tentang bagaimana pencegah dbd
ejjariza
 
Klasifikasi stadium klinis hiv aids menurut who
Klasifikasi stadium klinis hiv aids menurut whoKlasifikasi stadium klinis hiv aids menurut who
Klasifikasi stadium klinis hiv aids menurut who
Operator Warnet Vast Raha
 
metode pemeriksaan 2 menit
metode pemeriksaan 2 menitmetode pemeriksaan 2 menit
metode pemeriksaan 2 menit
Joni Iswanto
 
Bronkiektasis dr.halim sp.p
Bronkiektasis dr.halim sp.pBronkiektasis dr.halim sp.p
Bronkiektasis dr.halim sp.p
angkyrofi
 
Penyuluhan hiv lapas banjar indah novika
Penyuluhan hiv lapas banjar indah novikaPenyuluhan hiv lapas banjar indah novika
Penyuluhan hiv lapas banjar indah novika
Indah Novika
 

Mais procurados (20)

Penyuluhan tentang bagaimana pencegah dbd
Penyuluhan tentang bagaimana pencegah dbdPenyuluhan tentang bagaimana pencegah dbd
Penyuluhan tentang bagaimana pencegah dbd
 
Klasifikasi stadium klinis hiv aids menurut who
Klasifikasi stadium klinis hiv aids menurut whoKlasifikasi stadium klinis hiv aids menurut who
Klasifikasi stadium klinis hiv aids menurut who
 
metode pemeriksaan 2 menit
metode pemeriksaan 2 menitmetode pemeriksaan 2 menit
metode pemeriksaan 2 menit
 
Bronkopneumonia
BronkopneumoniaBronkopneumonia
Bronkopneumonia
 
HIV
HIVHIV
HIV
 
Demam Berdarah Dengue
Demam Berdarah DengueDemam Berdarah Dengue
Demam Berdarah Dengue
 
Bronkiektasis dr.halim sp.p
Bronkiektasis dr.halim sp.pBronkiektasis dr.halim sp.p
Bronkiektasis dr.halim sp.p
 
Penyuluhan Tentang HIV dan AIDS
Penyuluhan Tentang HIV dan AIDSPenyuluhan Tentang HIV dan AIDS
Penyuluhan Tentang HIV dan AIDS
 
Demam
DemamDemam
Demam
 
Pemenuhan kebutuhan dasar o2 tanpa video.pptm
Pemenuhan kebutuhan dasar o2   tanpa video.pptmPemenuhan kebutuhan dasar o2   tanpa video.pptm
Pemenuhan kebutuhan dasar o2 tanpa video.pptm
 
Hemorrhoid
HemorrhoidHemorrhoid
Hemorrhoid
 
Penyuluhan hiv lapas banjar indah novika
Penyuluhan hiv lapas banjar indah novikaPenyuluhan hiv lapas banjar indah novika
Penyuluhan hiv lapas banjar indah novika
 
Presentasi Pemuda, Mahasiswa dan HIV/AIDS di Tanah Papua
Presentasi Pemuda, Mahasiswa dan HIV/AIDS di Tanah Papua Presentasi Pemuda, Mahasiswa dan HIV/AIDS di Tanah Papua
Presentasi Pemuda, Mahasiswa dan HIV/AIDS di Tanah Papua
 
mengenai HIV AIDS
mengenai HIV AIDSmengenai HIV AIDS
mengenai HIV AIDS
 
Anamnesis ujian psikiatri depresi
Anamnesis ujian psikiatri depresiAnamnesis ujian psikiatri depresi
Anamnesis ujian psikiatri depresi
 
Varisela dalam kehamilan
Varisela dalam kehamilanVarisela dalam kehamilan
Varisela dalam kehamilan
 
Anda & hiv_aids,_ims
Anda & hiv_aids,_imsAnda & hiv_aids,_ims
Anda & hiv_aids,_ims
 
P 4a + 3a hemoroid(1)
P 4a + 3a hemoroid(1)P 4a + 3a hemoroid(1)
P 4a + 3a hemoroid(1)
 
PPT PENYAKIT JANTUNG BAWAAN PADA ANAK.pptx
PPT PENYAKIT JANTUNG BAWAAN PADA ANAK.pptxPPT PENYAKIT JANTUNG BAWAAN PADA ANAK.pptx
PPT PENYAKIT JANTUNG BAWAAN PADA ANAK.pptx
 
Case Report Typhoid Fever
Case Report Typhoid FeverCase Report Typhoid Fever
Case Report Typhoid Fever
 

Destaque

Spark and MongoDB
Spark and MongoDBSpark and MongoDB
Spark and MongoDB
Norberto Leite
 
Ancient Greek Philosophy
Ancient Greek PhilosophyAncient Greek Philosophy
Ancient Greek Philosophy
Mr. Finnie
 
Aristophanes
AristophanesAristophanes
Aristophanes
optime
 

Destaque (12)

Astricon 2013: "Asterisk and Database"
Astricon 2013: "Asterisk and Database"Astricon 2013: "Asterisk and Database"
Astricon 2013: "Asterisk and Database"
 
Apache Spark and MongoDB - Turning Analytics into Real-Time Action
Apache Spark and MongoDB - Turning Analytics into Real-Time ActionApache Spark and MongoDB - Turning Analytics into Real-Time Action
Apache Spark and MongoDB - Turning Analytics into Real-Time Action
 
Ενότητα 9 - Οι νόμοι επισκέπτονται το Σωκράτη στη φυλακή
Ενότητα 9 -  Οι νόμοι επισκέπτονται το Σωκράτη στη φυλακήΕνότητα 9 -  Οι νόμοι επισκέπτονται το Σωκράτη στη φυλακή
Ενότητα 9 - Οι νόμοι επισκέπτονται το Σωκράτη στη φυλακή
 
Spark and MongoDB
Spark and MongoDBSpark and MongoDB
Spark and MongoDB
 
Big Data CDR Analyzer - Kanthaka
Big Data CDR Analyzer - KanthakaBig Data CDR Analyzer - Kanthaka
Big Data CDR Analyzer - Kanthaka
 
Synchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDBSynchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDB
 
Η ΛΟΓΙΚΗ - ΒΑΣΙΚΕΣ ΕΠΙΣΗΜΑΝΣΕΙΣ
Η ΛΟΓΙΚΗ - ΒΑΣΙΚΕΣ ΕΠΙΣΗΜΑΝΣΕΙΣΗ ΛΟΓΙΚΗ - ΒΑΣΙΚΕΣ ΕΠΙΣΗΜΑΝΣΕΙΣ
Η ΛΟΓΙΚΗ - ΒΑΣΙΚΕΣ ΕΠΙΣΗΜΑΝΣΕΙΣ
 
Node.js×mongo dbで3年間サービス運用してみた話
Node.js×mongo dbで3年間サービス運用してみた話Node.js×mongo dbで3年間サービス運用してみた話
Node.js×mongo dbで3年間サービス運用してみた話
 
Ancient Greek Philosophy
Ancient Greek PhilosophyAncient Greek Philosophy
Ancient Greek Philosophy
 
Aristotle presentation
Aristotle presentationAristotle presentation
Aristotle presentation
 
Socrates
SocratesSocrates
Socrates
 
Aristophanes
AristophanesAristophanes
Aristophanes
 

Semelhante a MongoDB Interface for Asterisk PBX

Polyakov how i will break your enterprise. esb security and more
Polyakov   how i will break your enterprise. esb security and morePolyakov   how i will break your enterprise. esb security and more
Polyakov how i will break your enterprise. esb security and more
DefconRussia
 

Semelhante a MongoDB Interface for Asterisk PBX (20)

WebRTC Standards & Implementation Q&A - The Internals of WebRTC Browsers Impl...
WebRTC Standards & Implementation Q&A - The Internals of WebRTC Browsers Impl...WebRTC Standards & Implementation Q&A - The Internals of WebRTC Browsers Impl...
WebRTC Standards & Implementation Q&A - The Internals of WebRTC Browsers Impl...
 
Interop 2017 - Managing Containers in Production
Interop 2017 - Managing Containers in ProductionInterop 2017 - Managing Containers in Production
Interop 2017 - Managing Containers in Production
 
사물 인터넷을 위한 AWS FreeRTOS 소개
사물 인터넷을 위한 AWS FreeRTOS 소개사물 인터넷을 위한 AWS FreeRTOS 소개
사물 인터넷을 위한 AWS FreeRTOS 소개
 
Polyakov how i will break your enterprise. esb security and more
Polyakov   how i will break your enterprise. esb security and morePolyakov   how i will break your enterprise. esb security and more
Polyakov how i will break your enterprise. esb security and more
 
사물 인터넷을 위한 AWS FreeRTOS 소개 - 트랙1, Community Day 2018 re:Invent 특집
사물 인터넷을 위한 AWS FreeRTOS 소개 - 트랙1, Community Day 2018 re:Invent 특집사물 인터넷을 위한 AWS FreeRTOS 소개 - 트랙1, Community Day 2018 re:Invent 특집
사물 인터넷을 위한 AWS FreeRTOS 소개 - 트랙1, Community Day 2018 re:Invent 특집
 
Presto @ Zalando - Big Data Tech Warsaw 2020
Presto @ Zalando - Big Data Tech Warsaw 2020Presto @ Zalando - Big Data Tech Warsaw 2020
Presto @ Zalando - Big Data Tech Warsaw 2020
 
HostBridge Virtual User Group December 2020
HostBridge Virtual User Group December 2020HostBridge Virtual User Group December 2020
HostBridge Virtual User Group December 2020
 
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux –  Unified IoT Pl...Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux –  Unified IoT Pl...
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
 
A pure Java MQTT Stack for IoT
A pure Java MQTT Stack for IoTA pure Java MQTT Stack for IoT
A pure Java MQTT Stack for IoT
 
Open Source Software, Distributed Systems, Database as a Cloud Service
Open Source Software, Distributed Systems, Database as a Cloud ServiceOpen Source Software, Distributed Systems, Database as a Cloud Service
Open Source Software, Distributed Systems, Database as a Cloud Service
 
API 102: Programming with Meraki APIs
API 102: Programming with Meraki APIsAPI 102: Programming with Meraki APIs
API 102: Programming with Meraki APIs
 
Lessons learned while going Serverless in production
Lessons learned while going Serverless in productionLessons learned while going Serverless in production
Lessons learned while going Serverless in production
 
.NET Everywhere and for Everyone
.NET Everywhere and for Everyone.NET Everywhere and for Everyone
.NET Everywhere and for Everyone
 
DevOpsCon 2015 - DevOps in Mobile Games
DevOpsCon 2015 - DevOps in Mobile GamesDevOpsCon 2015 - DevOps in Mobile Games
DevOpsCon 2015 - DevOps in Mobile Games
 
Cloudsolutionday 2016: DevOps workflow with Docker on AWS
Cloudsolutionday 2016: DevOps workflow with Docker on AWSCloudsolutionday 2016: DevOps workflow with Docker on AWS
Cloudsolutionday 2016: DevOps workflow with Docker on AWS
 
Microservices
MicroservicesMicroservices
Microservices
 
Afs manager
Afs managerAfs manager
Afs manager
 
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 3
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 3Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 3
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 3
 
Processes and Telecom APIs
Processes and Telecom APIsProcesses and Telecom APIs
Processes and Telecom APIs
 
ProSBC on Azure - A Tutorial
ProSBC on Azure - A TutorialProSBC on Azure - A Tutorial
ProSBC on Azure - A Tutorial
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

MongoDB Interface for Asterisk PBX

  • 1. techio.com MongoDB Interface for Asterisk PBX Sokratis Galiatsis, Co-Founder TechIO @sokratisg | sokratis@techio.com
  • 2. techio.com What Asterisk PBX is? • Software implementation of a Private Branch Exchange • Exists since 2004 • Dual Licensed (GPL v2.0 & Proprietary) • Ported to almost all well known platforms • Very popular solution for either ITSPs or SMBs • Core component for many PABX such as Trixbox & FreePBX
  • 3. techio.com Integration Options • unixODBC • MySQL • Postgres • SNMP • LDAP • SQLite • Asterisk Gateway Interface (AGI) • mongoDB
  • 4. techio.com mongodb supported drivers: Apache License v2.0 asterisk server + addons: GPL v2.0 MongoDB ! Asterisk BUT WAIT :)  How about storing PBX CDRs into mongoDB?  How about taking near-realtime decisions based on mongoDB datasets? • Faster Rating & Billing • Less Complex Fraud detection
  • 5. techio.com Meet app_mongodb! • Asterisk native application • mongoDB interaction from the PBX dialplan • Still a prototype with just under 300 lines of code • Tested and working ok so far on Asterisk 1.8.x • Re-used already existing code base (cdr_mongodb) • Greatly influenced by app_mysql What can it do so far?  Replace a CallerID’s Name by matching his number in a mongoDB phonebook
  • 6. techio.com app_mongodb in Action 200 is calling 201 201 receives a call from “mongodb-rulez!” find({“num”: 200”, “cid”: 1}) “cid”: “mongodb-rulez!”
  • 8. techio.com • Near-Realtime accounting for billing, remaining call time, fraud-detection etc. • Faster Dynamic Call Routing (usage based trunk routing) • Faster analysis on ITSP customer trends (BI) • Integrating 3rd party with mongoDB as a data source • Asterisk Integration with CRM for medium to large organizations (Call-Centers, etc) Some ideas Additional support for a broader set of mongoDB operations can be implemented easily! ;-)
  • 9. techio.com Resources • app_mongodb: github.com/TechIOltd/app_mongodb • mongo-c-driver: github.com/mongodb/mongo-c-driver • cdr_mongodb: github.com/FlaPer87/cdr_mongodb • mongoDB C driver tutorial: api.mongodb.org/c/current/tutorial.html • mongoDB licensing: www.mongodb.org/about/licensing • Asterisk PBX sources & documentation: www.asterisk.org