Telephony Service Development on Asterisk PlatformHamid Fadishei
Asterisk is a major role player in the open source telecom world. In this workshop, participants will follow a step-by-step case study towards getting familiar with IVR service development on Asterisk platform using PHP programming language and AGI technology. The case study itself is a simple weather forecasting IVR service.
Adaptation of a presentation I gave at AstriCon 2007, describing how to use Asterisk as a SIP media gateway in a softswitch, including how to address the problem of optionally supplying the outbound leg with early media.
Telephony Service Development on Asterisk PlatformHamid Fadishei
Asterisk is a major role player in the open source telecom world. In this workshop, participants will follow a step-by-step case study towards getting familiar with IVR service development on Asterisk platform using PHP programming language and AGI technology. The case study itself is a simple weather forecasting IVR service.
Adaptation of a presentation I gave at AstriCon 2007, describing how to use Asterisk as a SIP media gateway in a softswitch, including how to address the problem of optionally supplying the outbound leg with early media.
SDN/NFV Sudanese Research Group Initiative Ahmed Hassan
Initiating a research body for Software Defined Networking (SDN) and Network Functions Virtualization (NFV). This group aims to put Sudan on the map of SDN/NFV technologies and guide Sudanese researchers in these areas to conduct advance and high quality scientific research, also exchange knowledge, resources and experience with local and international research entities.
Hands-on Experience with IPv6 Routing and ServicesCisco Canada
This IPv6 basic and advanced lab will provide you an opportunity to configure, troubleshoot, design and implement IPv6 network using IPv6 technologies and features such as; IPv6 addressing, IPv6 neighbor discovery, HSRPv6, static routing, OSPFv3, EIGRPv6 and BGPv6. You will be provided with a scenario made up with an IPv4 network where you will get the opportunity to configure and implement IPv6 based on the requirements and needs on the network. For e.g where would you deploy dual stack, where it make sense to do tunneling and how to deploy an IPv6 routing protocols without impacting your existing Network infrastructure.
Among the topics covered will be overviews on UCS, Nexus family, Unified Fabric, Service Profiles, Hardware Abstraction, Fabric Extension, Memory Expansion and the UCS Manager. For more information please visit our website here: http://www.cisco.com/web/CA/index.html
Learn about IBM z/VSE Live Virtual Class 2012, that is easily extendable, Simplier routing, multicasting, has automatic configuration and Full mobile device support.
Slides from the talk I gave at FOSDEM 2013 Telephony Devroom about what is hard in SIP and how other protocols can inspire us solve those problems.
Don't take it too seriously ;-)
Pwning Your Phone with Adhearsion and Asteriskjicksta
This presentation was given by Jay Phillips, Adhearsion's creator, at the Gotham Ruby Conference on April 21st, 2007. Adhearsion is a framework for developing collaboration applications with Asterisk (VoIP), Rails, instant messaging, email, and many other technologies.
Brief tour about the features of Asterisk 10, Asterisk 11 and Asterisk 12, as well as features that convert one application considered as PBX like a Framework of developer of voice applications, and a tool so powerful as flexible.
SDN/NFV Sudanese Research Group Initiative Ahmed Hassan
Initiating a research body for Software Defined Networking (SDN) and Network Functions Virtualization (NFV). This group aims to put Sudan on the map of SDN/NFV technologies and guide Sudanese researchers in these areas to conduct advance and high quality scientific research, also exchange knowledge, resources and experience with local and international research entities.
Hands-on Experience with IPv6 Routing and ServicesCisco Canada
This IPv6 basic and advanced lab will provide you an opportunity to configure, troubleshoot, design and implement IPv6 network using IPv6 technologies and features such as; IPv6 addressing, IPv6 neighbor discovery, HSRPv6, static routing, OSPFv3, EIGRPv6 and BGPv6. You will be provided with a scenario made up with an IPv4 network where you will get the opportunity to configure and implement IPv6 based on the requirements and needs on the network. For e.g where would you deploy dual stack, where it make sense to do tunneling and how to deploy an IPv6 routing protocols without impacting your existing Network infrastructure.
Among the topics covered will be overviews on UCS, Nexus family, Unified Fabric, Service Profiles, Hardware Abstraction, Fabric Extension, Memory Expansion and the UCS Manager. For more information please visit our website here: http://www.cisco.com/web/CA/index.html
Learn about IBM z/VSE Live Virtual Class 2012, that is easily extendable, Simplier routing, multicasting, has automatic configuration and Full mobile device support.
Slides from the talk I gave at FOSDEM 2013 Telephony Devroom about what is hard in SIP and how other protocols can inspire us solve those problems.
Don't take it too seriously ;-)
Pwning Your Phone with Adhearsion and Asteriskjicksta
This presentation was given by Jay Phillips, Adhearsion's creator, at the Gotham Ruby Conference on April 21st, 2007. Adhearsion is a framework for developing collaboration applications with Asterisk (VoIP), Rails, instant messaging, email, and many other technologies.
Brief tour about the features of Asterisk 10, Asterisk 11 and Asterisk 12, as well as features that convert one application considered as PBX like a Framework of developer of voice applications, and a tool so powerful as flexible.
Slides (in Spanish) from the talk I gave at Telefónica R&D.
Talk was about what features SIP and XMPP share which go beyond VoIP and how to implement a gateway functionality between them.
Slides (in Spanish) from the talk I gave at 4KConference in Colombia in 2012 about SIP and XMPP interoperability and how we built the SIP-XMPP gateway functionality into SylkServer.
A product world is trying to change focusing on "Content-Centric". Then, it is necessary to design our products by "Content-Centric". For that purpose, it is necessary to perform a trial production and a products design quickly flexibly.
Therefore we created one robot based on the soul of "DIwO(Do It with Others)" used as basic concepts, such as Make:, in order to realize it.
It is created by combining various products used as SoC which Pandaboard.
--Brain wave sensor(http://www.neurosky.com/)
--2-leg Robot
--see-through display(http://www.brother.com/en/news/2011/airscouter/index.htm)
--Xtion(http://www.asus.com/Multimedia/Motion_Sensor/Xtion_PRO/)
-Software
--Android
--openFrameworks(http://www.openframeworks.cc/)
This is an "AR(augmented reality)-Treasure Hunting Game“
You get virtual treasures by controlling real robot!
Rule:
-Look at radar window like dragon radar.
--Show the treasure on radar as red star.
--Center is a place in which a robot is present.
---Blue arrow is direction of robot.
-Look at line graph. This is brain wave line graph.
--You control the robot to the treasure point by your brain wave.
--If you feel some feeling, you control the robot by each feelings.
---Exciting -> Turn left
---Normal -> Go toward
---Relax -> Turn right
Such a reason, it is possible to make trial production and commercial production quickly.
Breizhcamp: Créer un bot, pas si simple. Faisons le point.Cisco DevNet
S’il est possible de créer un bot en quelques minutes, construire des assistants interactifs professionnels représente un réel challenge : assez vite, nous voilà confrontés à des patterns de développements avancés, des enjeux d’architecture propres aux API Web. Sans compter les compétences spécifiques au domaine des bots.
Au cours de cette session, nous présenterons le code de bots permettant de gérer des interactions Chat et Voix, et explorerons les défis rencontrés lors de la construction de ces bots : stockage des contextes, approches NLP, scopes OAuth, meta-données.
Nous présenterons ensuite les tendances actuelles en terme d’architecture : plateformes de bots, exécution de bots sous forme de micro-fonctions / serverless…
Depuis un an, j'interviens sur la mise en place de bots, et ai pu coder un framework de bots en nodejs, et tester quelques framewokrs de bots. Ce talk est un retour d'expérience.
Le support est en anglais et au format 4/3.
Masakari and recent activity in openstack HA team. This slide is presented at Japan OpenStack User Group on 24th Mar, 2016.
日本OpenStackユーザ会 第25回 の資料。OpenStack インスタンス HA 機能の Masakari と HA team の活動紹介
Asterisk is an Open Source PBX - but how does it support larger installations? Can you scale it up to thousands of users, with hundreds of simultaneous calls? What about failover, backups and the famous blinking lamps? Olle Johansson goes through various models and describes where some of his current projects with strange names - Pinefrog, Pinana, Pinetree and Bufo fits into this picture.
Rome 2017: Building advanced voice assistants and chat botsCisco DevNet
If it takes minutes to code a simple bot, building professional bots represents quite a challenge. Soon you realize you need serious programming and API architecture experience but also “Bot” specific skills. In this session, we'll first show the code of advanced Chat and Voice interactions, and then explore the challenges faced when building advanced Bots (Context storage, NLP approaches, Bot Metadata, OAuth scopes), and discuss interesting opportunities from latest industry trends (Bot platforms, Serverless, Microservices). This talk is about showing the code and sharing lessons learned.
S3 Server Hackathon Presented by S3 Server, a Scality Product, Seagate and Ho...Scality
S3 Server was founded by Scality, after a team created open source object-storage at a Hackathon in Paris, France. To keep our innovation, (and innovative team) growing, what better way than to host a hackathon of our own? The goal of the hackathon was to showcase the endless creativity in advancing storage applications, or integrations for current storage solutions. This 3-day event was sponsored by Seagate and Holberton School.
These slides are a recap from Day 1.
S3 Server, a Scality product, was born after a hackathon in Paris, France in 2015. What better way to continue with our philosophy of innovation than to host a hackathon of our own?
On October 21st, coders joined us for a weekend of coding, developing new solutions for storage, integrations for S3 and much more!
This event was sponsored by Seagate and hosted at Holberton School.
A product world is trying to change focusing on "Content-Centric". Then, it is necessary to design our products by "Content-Centric". For that purpose, it is necessary to perform a trial production and a products design quickly flexibly.
Therefore we created one robot based on the soul of "DIwO(Do It with Others)" used as basic concepts, such as Make:, in order to realize it.
And I created an ALL in ONE developing environment, it's called "ofxDroidLinaro", It is created by:
-Application Framework
--Android
--openFrameworks(http://www.openframeworks.cc/)
-Library&Driver
--Linaro(http://www.linaro.org/)
--Ubuntu(http://www.ubuntu.com/)
-Device
--ARM based Computers
Therefore I can make the my product easily & quckly by using ofxDroidLinaro!
-Application Framework
--Make Program easily&quickly by Android
--Make Cool UI by openFrameworks
-Library&Driver
--Use a lot of Libraries&Drivers for Linux
-Device
--Mobile & Connect to sensors (Ex,Kinect) by ARM
Building advanced Chats Bots and Voice Interactive Assistants - Stève Sfartz ...Codemotion
If it takes minutes to code a simple bot, building professional bots represents quite a challenge. Soon you realize you need serious programming and API architecture experience but also “Bot” specific skills. In this session, we'll first show the code of advanced Chat and Voice interactions, and then explore the challenges faced when building advanced Bots (Context storage, NLP approaches, Bot Metadata, OAuth scopes), and discuss interesting opportunities from latest industry trends (Bot platforms, Serverless, Microservices). This talk is about showing the code and sharing lessons learnt.t
Slides of a talk at the International PHP Conference 2012 on how we successfully mastered the challenge to log everything and transport the logged data into different sinks for different needs.
Slides from the talk I gave at the FOSDEM 2021 main stage on how we scaled Jitsi Meet during the pandemic to deal with the load.
https://fosdem.org/2021/schedule/event/jitsi_scaling/
Slides from the talk given at FOSDEM 2019 on how Jitsi Meet was brought from the web to mobile and how we built a native SDK using React Native.
Video: https://fosdem.org/2019/schedule/event/jitsi_mobile_webrtc/
Slides from my talk at OpenSIPS Summit 2017 and KamailioWorld 2017, showing the capabilities of Jitsi Meet, and a novel way for doing SIP video room integration.
Video at KamailioWorld: https://www.youtube.com/watch?v=TGloLKOrvmo
Dangerous Demo at KamailioWorld: https://www.youtube.com/watch?v=d0zHiLkHDyY&feature=youtu.be&t=3589
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Let's dive deeper into the world of ODC! Ricardo Alves (OutSystems) will join us to tell all about the new Data Fabric. After that, Sezen de Bruijn (OutSystems) will get into the details on how to best design a sturdy architecture within ODC.
2. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
About me
● saghul
– VoIP enthusiast, playing around with Asterisk since 2k5
– GNU/Linux lover likes everything “Software Libre”
– Co-founder of http://sipdoc.net
– Highly involved in spanish VoIP comunities
2
3. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
This presentation
● http://www.saghul.net/blog/downloads/astricon2k9/
● http://www.slideshare.net/saghul/
– Slides
– Complete configuration files
– Database example data
3
4. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
Index
1. Asterisk and presence status
2. SIP SIMPLE or XMPP?
3. The XMPP solution
1. OpenFire setup
4. The SIMPLE solution
1. Kamailio + Asterisk setup
5. Conclusions
4
5. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
What we do have now
● Asterisk SIP support (chan_sip)
– In-dialog MESSAGE :-(
– SUBSCRIBE and NOTIFY support
● For Event: dialog
● What about Event: Presence? :-(
– No PUBLISH support :-(
● Asterisk XMPP support
– res_jabber
● JabberSend, JABBER_RECEIVE, JABBER_STATUS
– chan_gtalk, chan_jingle
● Am I missing something?
5
6. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
Do we need presence and IM?
● “I want to talk to you, not to your phone”
● Are you available?
– For an audio conference?
– Just for IM?
– For whom?
● Where are you?
– Mobile
– Office
– Home
– ...
We need to know if a user is available
and what his status is
6
7. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
What we need
● A presence server
● Users may publish their status
● Users may subscribe to other users status
● Instant Messaging between users
Is it possible only with Asterisk?
NO
7
9. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
SIMPLE vs XMPP
● Did SIMPLE reinvent the wheel?
● Large companies started adopting SIMPLE (Microsoft,
…)
– Propietary extensions :-(
● XMPP does not provide voice capabilities
– Well, there is Jingle...
● If SIP is the VoIP protocol: why not use it also for
presence and IM?
9
18. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
OpenFire (VI)
● What we get
– Instant Messaging
– Presence
– Gateways to other mi services
– Text conferencing
● Problems
– Duplicated users (we could partially fix it with LDAP)
– Need to handle 2 protocols
– Not many softphones support SIP and XMPP
– Do any hardphones support XMPP?
18
20. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
A complex protocol
● SIMPLE IETF working group
– Presence RFCs
● 3856, 3857, 3858, 3863, 4479, 4480, 4482, ...
– XCAP
● 4825, 4826, 4827, 5025, …
– Instant Messaging
● 3428, 3994, 4975, …
SIMPLE is NOT simple!
20
21. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
The SIP solution
● Integrate Asterisk and Kamailio to provide IM and
presence.
● Users are registered to Kamailio.
● INVITE requests are routed through the Asterisk server.
– Asterisk RealTime user integration with Kamailio's
subscriber table.
● PUBLISH, SUBSCRIBE and MESSAGE requests are
handled by Kamailio.
21
22. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
Registration
REGISTER
Store location Asterisk does
nothing!
22
23. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
Kamailio – Asterisk RealTime integration
● Asterisk peers are Kamailio's subscribers.
● MySQL view so that Asterisk 'sees' the users as his own.
● Peers IP → Kamailio IP.
● Calls between users go through Kamailio and Asterisk.
● We need to call to alphanumeric users → DB Alias
23
24. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
Kamailio – Asterisk RealTime integration (2)
CREATE VIEW sip_peers AS
SELECT subscriber.username AS name,
subscriber.username AS defaultuser,
'friend' AS type,
NULL AS secret,
subscriber.domain AS host,
concat(subscriber.rpid,' ','<',subscriber.username,'>') AS callerid,
'from-users' AS context,
subscriber.username AS mailbox,
'yes' AS nat,
'no' AS qualify,
'info' AS dtmfmode,
subscriber.username AS fromuser,
24
25. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
Kamailio – Asterisk RealTime integration (3)
NULL AS authuser,
subscriber.domain AS fromdomain,
NULL AS insecure,
'no' AS canreinvite,
NULL AS disallow,
'all' AS allow,
NULL AS restrictcid,
subscriber.domain AS defaultip,
subscriber.domain AS ipaddr,
subscriber.domain AS outboundproxy,
'5060' AS port,
NULL AS regseconds
FROM kamailio_1.subscriber;
25
26. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
Invitation
2. Find numeric Alias 5. Dial to the X-
3. Add X-Subscriber Subscriber user
header
1. INVITE
Alice (Bob)
4. INVITE
(2001)
6. INVITE (Bob)
8. INVITE 7. Lookup
Bob (Bob) user location
26
27. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
Invitation (2)
# Route all INVITE requests to Asterisk
if (is_method("INVITE")) {
# Remove X-Subscriber header so that no one sees it...
remove_hf("X-Subscriber");
# We don't have to route the requests coming FROM Asterisk
# back to Asterisk. We would make a loop!
if (!($si == "AST_IP" && $sp == "AST_PORT")) {
route(ASTERISK_USERS_ROUTE);
}
}
27
28. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
Invitation (3)
# Send INVITE requests to the Asterisk server
route[ASTERISK_USERS_ROUTE] {
# Call to the numeric alias
avp_db_query("SELECT alias_username FROM dbaliases WHERE username
= '$rU' AND domain = '$avp(AVP_ORIGDOMAIN)'LIMIT 1",
"$avp(AVP_NUMALIAS)”);
if (is_avp_set("$avp(AVP_NUMALIAS)")) {
# Save the subscriber in a header so we can use it in Asterisk
append_hf("X-Subscriber: $rUrn");
$rU = $avp(s:numalias);
}
$rd = "AST_IP";
$rp = "AST_PORT";
route(RELAY_ROUTE);
} 28
32. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
Messaging
1. MESSAGE (Bob)
2. Lookup location
Alice
3. MESSAGE
Asterisk does
Bob nothing!
32
33. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
NAT handling
● We just need to fix the NAT in signalling.
● Our Asterisk 'peers' are configured with nat=yes
– COMEDIA mode
– Audio will go through Asterisk
33
35. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
Further improvements... (2)
What about mixing both?
– OpenFire's Asterisk plugin still works! (regardless
of the integration with Kamailio)
35
39. AstriCon 2009: Asterisk, Instant Messaging and Presence, how?
License
http://creativecommons.org/licenses/by-sa/3.0/
All images are property of their respective authors.
39