SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Downloaden Sie, um offline zu lesen
DISTRIBUTED CALL STATES
Making Asterisk blinking lamps scale
!
V 3 - 2010-07-03
Olle E. Johansson * oej@edvina.net
Copyright Edvina AB, Sollentuna, Sweden 2008-2009.All rights reserved.
SIP

Security
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
REQUIREMENTS
• Ability to share device states between Asterisk servers	

• Ability to subscribe to status of devices in local Asterisk server
as well as remote (as long as they exist in the dial plan)	

• Ability to get remote device status in dialplan, like local device
states
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
ASTERISK VERSION
• Trunk ( to be integrated)	

• Asterisk 1.4/Edvx	

• Other versions depends on sponsor’s needs
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
CALL STATES IN SIP
• SIP uses Subscribe/Notify with
the Dialog-info event package
to distribute call states	

• A user agent updates the
presence server with
PUBLISH
SUBSCRIBE
Send me updates
NOTIFY
Here’s a requested update
PUBLISH
Here’s my changed status
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
ASTERISK CURRENT
SUPPORT
• Asterisk 1.4 has support for a variety of event packages for subscriptions,
including dialog-info	

• Asterisk 1.6 added remote subscriptions, where Asterisk subscribes for mailbox
notifications (only)	

• Asterisk trunk has limited support for PUBLISH for other event types (call
completion/camp-on).
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
IDEA
SIP
Presence server
ast01
* ast02
*
Asterisk 02 subscribes to remote

SIP device status.	

exten => 1234,hint,sip-dialog:sip:oej@ast01.edvina.net
Asterisk 01 publishes device

status updates to presence server.	

[general]	

presenceserver=pres.edvina.net	

presencedomain=edvina.net	

!
[presence]	

; Publish a single extension	

publish = 1234,sip:1234@edvina.net	

; Publish a complete context	

; Changes in the context won’t be published	

publishcontext = internal, edvina.net	

!
!
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
QUEUES
SIP
Presence server
ast01
* ast02
*
Asterisk 02 subscribes to remote

SIP device status.	

Asterisk 01 publishes device

status updates to presence server.	

If you want Mary to join the support queue as a full member,
you need to add remote device state	

!
exten => mary,hint,remote-sip-blah-blah	

exten => mary,1,dial(sip/ast02/mary)	

!
!
Arne
bertil
Cecilia
Mary
John
Piggy
Queue:

support
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
NEW QUEUE
ARCHITECTURE?
ast01
* Queue:

support
ast02
*
ast03
*
One server handles queues,

the other servers handles all the agents.
SIP Presence server
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
OFFLOADING ASTERISK
ast01
*
ast03
*
Asterisk publishes call states to presense

server, Phones subscribe to presense server directly
instead of Asterisk.
SIP Presence server
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
BENEFITS
• Using a SIP presence server scales	

• Other devices can subscribe directly to status with the
presence server	

• We can add some extra data - Asterisk-specific - to the
presence items	

• It’s standardized
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
POTENTIAL ISSUES
• Using a proprietary distributed event system might make it
easier to add Asterisk functionality and support legacy systems,
like flash operator panel
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
TO BE TESTED
• Can we potentially create a dialplan that can handle remote
call pickup?	

• Asterisk supports invite with replaces today. Can we force such an action in
the dialplan and have Asterisk pickup a remote SIP call?	

• Yes, provided we send the Asterisk channel ID as call-id	

• How would this work with manager events/actions?	

• We need to spend more time on scenarious here	

• Manager support considered out of scope for this first project
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
REALTIME SUPPORT.
• If a new device activates, based on realtime database, will we have to know that
and publish the state?	

• Can be done for SIP devices in the SIP channel I think	

• Using regcontext= we can hook into that part and publish the state	

• We need to check how the server aggregates states from different servers	

• If a phone reboots, it may register on server A and still have registration on
server B.When the registration expires, the state changes - AFTER the other
server has said that everything is fine... Food for thought.
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
PUBLISH DEVICE STATES
• Create a subdomain for device states in presence server	

• Using dialog-info	

• Publish to devicename@domain	

• SIP/323-3xyy@devicestates.mydomain.org	

• Simple prefix-based filters in sip-presense.conf
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
PUBLISHING EXT STATES
• We need to map exten@context to a SIP uri	

• Per extension	

• Default mapping per context - map to SIP domain	

• Realtime support a requirement	

• Maybe add a ”pubhint” in dialplan for XMPP and SIP	

• exten => olle,pubhint,sip-pidf,sip:oej@edvina.net	

• exten => anna, pubhint, sip-dinfo,sips:anna@pinapalmera.org	

• exten => brad,pubhint,xmpp,xmpp:marquis42@deepspace9.trek
© Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved.
Blinking
lamps
CONFIGURATION OF
MAPPING
[contextname]	

outboundproxy=<peer or domain>	

defaultdomain=edvina.net	

urimap=1236474,sip:ross@mydomain.com	

urimap=12922,sips:lars@otherdomain.se
sip-publish.conf

Weitere ähnliche Inhalte

Was ist angesagt?

Asterisk ( The open source telephony )
Asterisk ( The open source telephony )Asterisk ( The open source telephony )
Asterisk ( The open source telephony )Mohammed Safwat
 
Arkadin's SIP Trunking Offer for Large Enterprises
Arkadin's SIP Trunking Offer for Large EnterprisesArkadin's SIP Trunking Offer for Large Enterprises
Arkadin's SIP Trunking Offer for Large EnterprisesBCreamer
 
Download It
Download ItDownload It
Download ItVideoguy
 
2015 update: SIP and IPv6 issues - staying Happy in SIP
2015 update: SIP and IPv6 issues - staying Happy in SIP2015 update: SIP and IPv6 issues - staying Happy in SIP
2015 update: SIP and IPv6 issues - staying Happy in SIPOlle E Johansson
 
Best practices for live streaming
Best practices for live streamingBest practices for live streaming
Best practices for live streamingAlden Fertig
 
Sapex ip pbx packaging
Sapex ip pbx packagingSapex ip pbx packaging
Sapex ip pbx packagingmatrixtelesol
 
Adhearsion and Telegraph Framework Presentation
Adhearsion and Telegraph Framework PresentationAdhearsion and Telegraph Framework Presentation
Adhearsion and Telegraph Framework PresentationJustin Grammens
 
Michael Graves Astricon 2009 Hd Voice Demo Rev2
Michael Graves Astricon 2009 Hd Voice Demo Rev2Michael Graves Astricon 2009 Hd Voice Demo Rev2
Michael Graves Astricon 2009 Hd Voice Demo Rev2Michael Graves
 
Asterisk-Java Framework Presentation
Asterisk-Java Framework PresentationAsterisk-Java Framework Presentation
Asterisk-Java Framework PresentationJustin Grammens
 
Intro to shorewall
Intro to shorewallIntro to shorewall
Intro to shorewallminh pham
 
SIPCORE - presentation of SIP and DANE (IETF #89)
SIPCORE - presentation of SIP and DANE (IETF #89)SIPCORE - presentation of SIP and DANE (IETF #89)
SIPCORE - presentation of SIP and DANE (IETF #89)Olle E Johansson
 
IPv6 - A Real World Deployment for Mobiles
IPv6 - A Real World Deployment for MobilesIPv6 - A Real World Deployment for Mobiles
IPv6 - A Real World Deployment for MobilesAPNIC
 
TCP/IP Geeks Stockholm :: Introduction to IPv6
TCP/IP Geeks Stockholm :: Introduction to IPv6TCP/IP Geeks Stockholm :: Introduction to IPv6
TCP/IP Geeks Stockholm :: Introduction to IPv6Olle E Johansson
 
Zeroconf - Zero Configuration Networking
Zeroconf - Zero Configuration NetworkingZeroconf - Zero Configuration Networking
Zeroconf - Zero Configuration NetworkingMurillo Grubler
 
Kamailio practice Quobis-University of Vigo Laboratory of Commutation 2012-2...
Kamailio practice Quobis-University of Vigo Laboratory of Commutation  2012-2...Kamailio practice Quobis-University of Vigo Laboratory of Commutation  2012-2...
Kamailio practice Quobis-University of Vigo Laboratory of Commutation 2012-2...Quobis
 
Solarflareshowcase
SolarflareshowcaseSolarflareshowcase
Solarflareshowcaseankitha anu
 

Was ist angesagt? (19)

Asterisk ( The open source telephony )
Asterisk ( The open source telephony )Asterisk ( The open source telephony )
Asterisk ( The open source telephony )
 
Kamailio - The Story for Asterisk
Kamailio - The Story for AsteriskKamailio - The Story for Asterisk
Kamailio - The Story for Asterisk
 
Kamailio on air
Kamailio on airKamailio on air
Kamailio on air
 
Arkadin's SIP Trunking Offer for Large Enterprises
Arkadin's SIP Trunking Offer for Large EnterprisesArkadin's SIP Trunking Offer for Large Enterprises
Arkadin's SIP Trunking Offer for Large Enterprises
 
Download It
Download ItDownload It
Download It
 
2015 update: SIP and IPv6 issues - staying Happy in SIP
2015 update: SIP and IPv6 issues - staying Happy in SIP2015 update: SIP and IPv6 issues - staying Happy in SIP
2015 update: SIP and IPv6 issues - staying Happy in SIP
 
Best practices for live streaming
Best practices for live streamingBest practices for live streaming
Best practices for live streaming
 
Sapex ip pbx packaging
Sapex ip pbx packagingSapex ip pbx packaging
Sapex ip pbx packaging
 
Adhearsion and Telegraph Framework Presentation
Adhearsion and Telegraph Framework PresentationAdhearsion and Telegraph Framework Presentation
Adhearsion and Telegraph Framework Presentation
 
Michael Graves Astricon 2009 Hd Voice Demo Rev2
Michael Graves Astricon 2009 Hd Voice Demo Rev2Michael Graves Astricon 2009 Hd Voice Demo Rev2
Michael Graves Astricon 2009 Hd Voice Demo Rev2
 
Asterisk-Java Framework Presentation
Asterisk-Java Framework PresentationAsterisk-Java Framework Presentation
Asterisk-Java Framework Presentation
 
Intro to shorewall
Intro to shorewallIntro to shorewall
Intro to shorewall
 
SIPCORE - presentation of SIP and DANE (IETF #89)
SIPCORE - presentation of SIP and DANE (IETF #89)SIPCORE - presentation of SIP and DANE (IETF #89)
SIPCORE - presentation of SIP and DANE (IETF #89)
 
IPv6 - A Real World Deployment for Mobiles
IPv6 - A Real World Deployment for MobilesIPv6 - A Real World Deployment for Mobiles
IPv6 - A Real World Deployment for Mobiles
 
TCP/IP Geeks Stockholm :: Introduction to IPv6
TCP/IP Geeks Stockholm :: Introduction to IPv6TCP/IP Geeks Stockholm :: Introduction to IPv6
TCP/IP Geeks Stockholm :: Introduction to IPv6
 
Zeroconf - Zero Configuration Networking
Zeroconf - Zero Configuration NetworkingZeroconf - Zero Configuration Networking
Zeroconf - Zero Configuration Networking
 
Kamailio practice Quobis-University of Vigo Laboratory of Commutation 2012-2...
Kamailio practice Quobis-University of Vigo Laboratory of Commutation  2012-2...Kamailio practice Quobis-University of Vigo Laboratory of Commutation  2012-2...
Kamailio practice Quobis-University of Vigo Laboratory of Commutation 2012-2...
 
Introduction to VOIP
Introduction to VOIPIntroduction to VOIP
Introduction to VOIP
 
Solarflareshowcase
SolarflareshowcaseSolarflareshowcase
Solarflareshowcase
 

Andere mochten auch

Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...
Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...
Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...Fred Posner
 
High Availability Asterisk and FreePBX on Microsoft Azure
High Availability Asterisk and FreePBX on Microsoft AzureHigh Availability Asterisk and FreePBX on Microsoft Azure
High Availability Asterisk and FreePBX on Microsoft AzureSanjay Willie
 
Kamailio :: A Quick Introduction
Kamailio :: A Quick IntroductionKamailio :: A Quick Introduction
Kamailio :: A Quick IntroductionOlle E Johansson
 
How Nonprofit Communicators Combine Goals for 2013
How Nonprofit Communicators Combine Goals for 2013How Nonprofit Communicators Combine Goals for 2013
How Nonprofit Communicators Combine Goals for 2013Kivi Leroux Miller
 
syENGAGE Company Profile
syENGAGE Company ProfilesyENGAGE Company Profile
syENGAGE Company ProfileSimon Young
 
Collaborating in the Clouds: selecting tools
Collaborating in the Clouds: selecting toolsCollaborating in the Clouds: selecting tools
Collaborating in the Clouds: selecting toolsBobbi Newman
 
Presentación sin título
Presentación sin títuloPresentación sin título
Presentación sin títulopacomendoza
 
The Pigman Vocabulary
The Pigman VocabularyThe Pigman Vocabulary
The Pigman Vocabularybarryrbarber
 
Remy Sharp The DOM scripting toolkit jQuery
Remy Sharp The DOM scripting toolkit jQueryRemy Sharp The DOM scripting toolkit jQuery
Remy Sharp The DOM scripting toolkit jQuerydeimos
 
Death of Balzac - Victor Hugo
Death of Balzac - Victor HugoDeath of Balzac - Victor Hugo
Death of Balzac - Victor Hugohonore
 
Social Trends Shashi Bellamkonda
Social Trends Shashi BellamkondaSocial Trends Shashi Bellamkonda
Social Trends Shashi BellamkondaShashi Bellamkonda
 
Macul 08b Myrmel
Macul 08b MyrmelMacul 08b Myrmel
Macul 08b Myrmelguest5ac70d
 
Anunciar El Programa
Anunciar El ProgramaAnunciar El Programa
Anunciar El Programacristiarnau
 
Het toepassingskader voor Webrichtlijnen 2
Het toepassingskader voor Webrichtlijnen 2Het toepassingskader voor Webrichtlijnen 2
Het toepassingskader voor Webrichtlijnen 2Atticus
 
Listen to your customers and they will listen to you optsum phoenix septemb...
Listen to your customers and they will listen to you   optsum phoenix septemb...Listen to your customers and they will listen to you   optsum phoenix septemb...
Listen to your customers and they will listen to you optsum phoenix septemb...Shashi Bellamkonda
 
Putting 2.0 to Work for You
Putting 2.0 to Work for YouPutting 2.0 to Work for You
Putting 2.0 to Work for YouBobbi Newman
 
2n111nabeelah
2n111nabeelah2n111nabeelah
2n111nabeelahnamirahbh
 

Andere mochten auch (20)

Participate in SIPit
Participate in SIPitParticipate in SIPit
Participate in SIPit
 
Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...
Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...
Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...
 
High Availability Asterisk and FreePBX on Microsoft Azure
High Availability Asterisk and FreePBX on Microsoft AzureHigh Availability Asterisk and FreePBX on Microsoft Azure
High Availability Asterisk and FreePBX on Microsoft Azure
 
Kamailio :: A Quick Introduction
Kamailio :: A Quick IntroductionKamailio :: A Quick Introduction
Kamailio :: A Quick Introduction
 
How Nonprofit Communicators Combine Goals for 2013
How Nonprofit Communicators Combine Goals for 2013How Nonprofit Communicators Combine Goals for 2013
How Nonprofit Communicators Combine Goals for 2013
 
syENGAGE Company Profile
syENGAGE Company ProfilesyENGAGE Company Profile
syENGAGE Company Profile
 
Collaborating in the Clouds: selecting tools
Collaborating in the Clouds: selecting toolsCollaborating in the Clouds: selecting tools
Collaborating in the Clouds: selecting tools
 
Presentación sin título
Presentación sin títuloPresentación sin título
Presentación sin título
 
The Pigman Vocabulary
The Pigman VocabularyThe Pigman Vocabulary
The Pigman Vocabulary
 
Remy Sharp The DOM scripting toolkit jQuery
Remy Sharp The DOM scripting toolkit jQueryRemy Sharp The DOM scripting toolkit jQuery
Remy Sharp The DOM scripting toolkit jQuery
 
Death of Balzac - Victor Hugo
Death of Balzac - Victor HugoDeath of Balzac - Victor Hugo
Death of Balzac - Victor Hugo
 
Social Trends Shashi Bellamkonda
Social Trends Shashi BellamkondaSocial Trends Shashi Bellamkonda
Social Trends Shashi Bellamkonda
 
Sua1 T
Sua1 TSua1 T
Sua1 T
 
Macul 08b Myrmel
Macul 08b MyrmelMacul 08b Myrmel
Macul 08b Myrmel
 
Anunciar El Programa
Anunciar El ProgramaAnunciar El Programa
Anunciar El Programa
 
Het toepassingskader voor Webrichtlijnen 2
Het toepassingskader voor Webrichtlijnen 2Het toepassingskader voor Webrichtlijnen 2
Het toepassingskader voor Webrichtlijnen 2
 
Roma
RomaRoma
Roma
 
Listen to your customers and they will listen to you optsum phoenix septemb...
Listen to your customers and they will listen to you   optsum phoenix septemb...Listen to your customers and they will listen to you   optsum phoenix septemb...
Listen to your customers and they will listen to you optsum phoenix septemb...
 
Putting 2.0 to Work for You
Putting 2.0 to Work for YouPutting 2.0 to Work for You
Putting 2.0 to Work for You
 
2n111nabeelah
2n111nabeelah2n111nabeelah
2n111nabeelah
 

Ähnlich wie Pinana : Old proposal for distributed SIP states in Asterisk

Kamailio World 2016: Update your SIP!
Kamailio World 2016: Update your SIP!Kamailio World 2016: Update your SIP!
Kamailio World 2016: Update your SIP!Olle E Johansson
 
Building future SIP platforms
Building future SIP platformsBuilding future SIP platforms
Building future SIP platformsOlle E Johansson
 
Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)
Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)
Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)Olle E Johansson
 
Sip & IPv6 - time for action!
Sip & IPv6 - time for action!Sip & IPv6 - time for action!
Sip & IPv6 - time for action!Olle E Johansson
 
10-4-1 : The Open Communication Revolution agenda
10-4-1 : The Open Communication Revolution agenda10-4-1 : The Open Communication Revolution agenda
10-4-1 : The Open Communication Revolution agendaPaloSanto Solutions
 
Time to get serious about realtime communication
Time to get serious about realtime communicationTime to get serious about realtime communication
Time to get serious about realtime communicationOlle E Johansson
 
Security and Real-time Communications – a maze of twisty little passages, tha...
Security and Real-time Communications – a maze of twisty little passages, tha...Security and Real-time Communications – a maze of twisty little passages, tha...
Security and Real-time Communications – a maze of twisty little passages, tha...Alan Quayle
 
Pass4sure 300 075 Implementing Cisco IP Telephony
Pass4sure 300 075 Implementing Cisco IP TelephonyPass4sure 300 075 Implementing Cisco IP Telephony
Pass4sure 300 075 Implementing Cisco IP Telephonynustouch
 
OpenStack Swiftの最新機能とStorlets
OpenStack Swiftの最新機能とStorletsOpenStack Swiftの最新機能とStorlets
OpenStack Swiftの最新機能とStorletsKota Tsuyuzaki
 
Eyeball Messenger SDK V10.0 Developer Reference Guide
Eyeball Messenger SDK V10.0 Developer Reference GuideEyeball Messenger SDK V10.0 Developer Reference Guide
Eyeball Messenger SDK V10.0 Developer Reference GuideEyeball Networks
 
Interfacing the real world with the VASERcontrol home automation system
Interfacing the real world with the VASERcontrol home automation systemInterfacing the real world with the VASERcontrol home automation system
Interfacing the real world with the VASERcontrol home automation systemESUG
 
OpenStackを利用したEnterprise Cloudを支える技術 - OpenStack最新情報セミナー 2016年5月
OpenStackを利用したEnterprise Cloudを支える技術 - OpenStack最新情報セミナー 2016年5月OpenStackを利用したEnterprise Cloudを支える技術 - OpenStack最新情報セミナー 2016年5月
OpenStackを利用したEnterprise Cloudを支える技術 - OpenStack最新情報セミナー 2016年5月VirtualTech Japan Inc.
 
Asterisk presentation v1.1
Asterisk presentation v1.1Asterisk presentation v1.1
Asterisk presentation v1.1Farhan Fuad
 
Avaya Session Border Controller (SBC)
Avaya Session Border Controller (SBC)Avaya Session Border Controller (SBC)
Avaya Session Border Controller (SBC)Motty Ben Atia
 
Escene ceiling public broadcasting ip phone ps760 user manual
Escene ceiling public broadcasting ip phone ps760 user manualEscene ceiling public broadcasting ip phone ps760 user manual
Escene ceiling public broadcasting ip phone ps760 user manualEmre Ozcan
 
Protect Your Assets with Single IP DDoS Protection
Protect Your Assets with Single IP DDoS ProtectionProtect Your Assets with Single IP DDoS Protection
Protect Your Assets with Single IP DDoS ProtectionImperva Incapsula
 
Avoiding network bottleneck
Avoiding network bottleneckAvoiding network bottleneck
Avoiding network bottleneckTSOLUTIONS
 

Ähnlich wie Pinana : Old proposal for distributed SIP states in Asterisk (20)

Kamailio World 2016: Update your SIP!
Kamailio World 2016: Update your SIP!Kamailio World 2016: Update your SIP!
Kamailio World 2016: Update your SIP!
 
Building future SIP platforms
Building future SIP platformsBuilding future SIP platforms
Building future SIP platforms
 
Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)
Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)
Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)
 
Sip & IPv6 - time for action!
Sip & IPv6 - time for action!Sip & IPv6 - time for action!
Sip & IPv6 - time for action!
 
10-4-1 : The Open Communication Revolution agenda
10-4-1 : The Open Communication Revolution agenda10-4-1 : The Open Communication Revolution agenda
10-4-1 : The Open Communication Revolution agenda
 
Time to get serious about realtime communication
Time to get serious about realtime communicationTime to get serious about realtime communication
Time to get serious about realtime communication
 
Security and Real-time Communications – a maze of twisty little passages, tha...
Security and Real-time Communications – a maze of twisty little passages, tha...Security and Real-time Communications – a maze of twisty little passages, tha...
Security and Real-time Communications – a maze of twisty little passages, tha...
 
Pass4sure 300 075 Implementing Cisco IP Telephony
Pass4sure 300 075 Implementing Cisco IP TelephonyPass4sure 300 075 Implementing Cisco IP Telephony
Pass4sure 300 075 Implementing Cisco IP Telephony
 
OpenStack Swiftの最新機能とStorlets
OpenStack Swiftの最新機能とStorletsOpenStack Swiftの最新機能とStorlets
OpenStack Swiftの最新機能とStorlets
 
FBLajSIPScenarior.ppt
FBLajSIPScenarior.pptFBLajSIPScenarior.ppt
FBLajSIPScenarior.ppt
 
Eyeball Messenger SDK V10.0 Developer Reference Guide
Eyeball Messenger SDK V10.0 Developer Reference GuideEyeball Messenger SDK V10.0 Developer Reference Guide
Eyeball Messenger SDK V10.0 Developer Reference Guide
 
Interfacing the real world with the VASERcontrol home automation system
Interfacing the real world with the VASERcontrol home automation systemInterfacing the real world with the VASERcontrol home automation system
Interfacing the real world with the VASERcontrol home automation system
 
OpenStackを利用したEnterprise Cloudを支える技術 - OpenStack最新情報セミナー 2016年5月
OpenStackを利用したEnterprise Cloudを支える技術 - OpenStack最新情報セミナー 2016年5月OpenStackを利用したEnterprise Cloudを支える技術 - OpenStack最新情報セミナー 2016年5月
OpenStackを利用したEnterprise Cloudを支える技術 - OpenStack最新情報セミナー 2016年5月
 
Asterisk presentation v1.1
Asterisk presentation v1.1Asterisk presentation v1.1
Asterisk presentation v1.1
 
Avaya Session Border Controller (SBC)
Avaya Session Border Controller (SBC)Avaya Session Border Controller (SBC)
Avaya Session Border Controller (SBC)
 
Escene ceiling public broadcasting ip phone ps760 user manual
Escene ceiling public broadcasting ip phone ps760 user manualEscene ceiling public broadcasting ip phone ps760 user manual
Escene ceiling public broadcasting ip phone ps760 user manual
 
Cme srst cube
Cme srst cubeCme srst cube
Cme srst cube
 
Protect Your Assets with Single IP DDoS Protection
Protect Your Assets with Single IP DDoS ProtectionProtect Your Assets with Single IP DDoS Protection
Protect Your Assets with Single IP DDoS Protection
 
Everspring Homesys 2015
Everspring Homesys 2015Everspring Homesys 2015
Everspring Homesys 2015
 
Avoiding network bottleneck
Avoiding network bottleneckAvoiding network bottleneck
Avoiding network bottleneck
 

Mehr von Olle E Johansson

Cybernode.se: Securing the software supply chain (CRA)
Cybernode.se: Securing the software supply chain (CRA)Cybernode.se: Securing the software supply chain (CRA)
Cybernode.se: Securing the software supply chain (CRA)Olle E Johansson
 
CRA - overview of vulnerability handling
CRA - overview of vulnerability handlingCRA - overview of vulnerability handling
CRA - overview of vulnerability handlingOlle E Johansson
 
Introduction to the proposed EU cyber resilience act (CRA)
Introduction to the proposed EU cyber resilience act (CRA)Introduction to the proposed EU cyber resilience act (CRA)
Introduction to the proposed EU cyber resilience act (CRA)Olle E Johansson
 
The birth and death of PSTN
The birth and death of PSTNThe birth and death of PSTN
The birth and death of PSTNOlle E Johansson
 
WebRTC and Janus intro for FOSS Stockholm January 2019
WebRTC and Janus intro for FOSS Stockholm January 2019WebRTC and Janus intro for FOSS Stockholm January 2019
WebRTC and Janus intro for FOSS Stockholm January 2019Olle E Johansson
 
Kamailio World 2018: Having fun with new stuff
Kamailio World 2018: Having fun with new stuffKamailio World 2018: Having fun with new stuff
Kamailio World 2018: Having fun with new stuffOlle E Johansson
 
Realtime communication over a dual stack network
Realtime communication over a dual stack networkRealtime communication over a dual stack network
Realtime communication over a dual stack networkOlle E Johansson
 
The Realtime Story - part 2
The Realtime Story - part 2The Realtime Story - part 2
The Realtime Story - part 2Olle E Johansson
 
Sip2016 - a talk at VOIP2DAY 2016
Sip2016 - a talk at VOIP2DAY 2016Sip2016 - a talk at VOIP2DAY 2016
Sip2016 - a talk at VOIP2DAY 2016Olle E Johansson
 
Sips must die, die, die - about TLS usage in the SIP protocol
Sips must die, die, die - about TLS usage in the SIP protocolSips must die, die, die - about TLS usage in the SIP protocol
Sips must die, die, die - about TLS usage in the SIP protocolOlle E Johansson
 
SIP :: Half outbound (random notes)
SIP :: Half outbound (random notes)SIP :: Half outbound (random notes)
SIP :: Half outbound (random notes)Olle E Johansson
 
SIP & TLS - Security in a peer to peer world
SIP & TLS - Security in a peer to peer worldSIP & TLS - Security in a peer to peer world
SIP & TLS - Security in a peer to peer worldOlle E Johansson
 
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)Olle E Johansson
 
RFC 7435 - Opportunistic security - Some protection most of the time
RFC 7435 - Opportunistic security - Some protection most of the timeRFC 7435 - Opportunistic security - Some protection most of the time
RFC 7435 - Opportunistic security - Some protection most of the timeOlle E Johansson
 
SIP and DNS - federation, failover, load balancing and more
SIP and DNS - federation, failover, load balancing and moreSIP and DNS - federation, failover, load balancing and more
SIP and DNS - federation, failover, load balancing and moreOlle E Johansson
 
TCP/IP geeks Stockholm :: Manifesto
TCP/IP geeks Stockholm :: ManifestoTCP/IP geeks Stockholm :: Manifesto
TCP/IP geeks Stockholm :: ManifestoOlle E Johansson
 
#Morecrypto (with tis) - version 2.2
#Morecrypto (with tis) - version 2.2#Morecrypto (with tis) - version 2.2
#Morecrypto (with tis) - version 2.2Olle E Johansson
 
WebRTC - a quick introduction
WebRTC - a quick introductionWebRTC - a quick introduction
WebRTC - a quick introductionOlle E Johansson
 
#Morecrypto 1.8 - with introduction to TLS
#Morecrypto 1.8 - with introduction to TLS#Morecrypto 1.8 - with introduction to TLS
#Morecrypto 1.8 - with introduction to TLSOlle E Johansson
 

Mehr von Olle E Johansson (20)

Cybernode.se: Securing the software supply chain (CRA)
Cybernode.se: Securing the software supply chain (CRA)Cybernode.se: Securing the software supply chain (CRA)
Cybernode.se: Securing the software supply chain (CRA)
 
CRA - overview of vulnerability handling
CRA - overview of vulnerability handlingCRA - overview of vulnerability handling
CRA - overview of vulnerability handling
 
Introduction to the proposed EU cyber resilience act (CRA)
Introduction to the proposed EU cyber resilience act (CRA)Introduction to the proposed EU cyber resilience act (CRA)
Introduction to the proposed EU cyber resilience act (CRA)
 
The birth and death of PSTN
The birth and death of PSTNThe birth and death of PSTN
The birth and death of PSTN
 
WebRTC and Janus intro for FOSS Stockholm January 2019
WebRTC and Janus intro for FOSS Stockholm January 2019WebRTC and Janus intro for FOSS Stockholm January 2019
WebRTC and Janus intro for FOSS Stockholm January 2019
 
Kamailio World 2018: Having fun with new stuff
Kamailio World 2018: Having fun with new stuffKamailio World 2018: Having fun with new stuff
Kamailio World 2018: Having fun with new stuff
 
Webrtc overview
Webrtc overviewWebrtc overview
Webrtc overview
 
Realtime communication over a dual stack network
Realtime communication over a dual stack networkRealtime communication over a dual stack network
Realtime communication over a dual stack network
 
The Realtime Story - part 2
The Realtime Story - part 2The Realtime Story - part 2
The Realtime Story - part 2
 
Sip2016 - a talk at VOIP2DAY 2016
Sip2016 - a talk at VOIP2DAY 2016Sip2016 - a talk at VOIP2DAY 2016
Sip2016 - a talk at VOIP2DAY 2016
 
Sips must die, die, die - about TLS usage in the SIP protocol
Sips must die, die, die - about TLS usage in the SIP protocolSips must die, die, die - about TLS usage in the SIP protocol
Sips must die, die, die - about TLS usage in the SIP protocol
 
SIP :: Half outbound (random notes)
SIP :: Half outbound (random notes)SIP :: Half outbound (random notes)
SIP :: Half outbound (random notes)
 
SIP & TLS - Security in a peer to peer world
SIP & TLS - Security in a peer to peer worldSIP & TLS - Security in a peer to peer world
SIP & TLS - Security in a peer to peer world
 
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)
 
RFC 7435 - Opportunistic security - Some protection most of the time
RFC 7435 - Opportunistic security - Some protection most of the timeRFC 7435 - Opportunistic security - Some protection most of the time
RFC 7435 - Opportunistic security - Some protection most of the time
 
SIP and DNS - federation, failover, load balancing and more
SIP and DNS - federation, failover, load balancing and moreSIP and DNS - federation, failover, load balancing and more
SIP and DNS - federation, failover, load balancing and more
 
TCP/IP geeks Stockholm :: Manifesto
TCP/IP geeks Stockholm :: ManifestoTCP/IP geeks Stockholm :: Manifesto
TCP/IP geeks Stockholm :: Manifesto
 
#Morecrypto (with tis) - version 2.2
#Morecrypto (with tis) - version 2.2#Morecrypto (with tis) - version 2.2
#Morecrypto (with tis) - version 2.2
 
WebRTC - a quick introduction
WebRTC - a quick introductionWebRTC - a quick introduction
WebRTC - a quick introduction
 
#Morecrypto 1.8 - with introduction to TLS
#Morecrypto 1.8 - with introduction to TLS#Morecrypto 1.8 - with introduction to TLS
#Morecrypto 1.8 - with introduction to TLS
 

Kürzlich hochgeladen

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...DianaGray10
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
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 FresherRemote DBA Services
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
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 WoodJuan lago vázquez
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
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, ...apidays
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 

Kürzlich hochgeladen (20)

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...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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, ...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 

Pinana : Old proposal for distributed SIP states in Asterisk

  • 1. DISTRIBUTED CALL STATES Making Asterisk blinking lamps scale ! V 3 - 2010-07-03 Olle E. Johansson * oej@edvina.net Copyright Edvina AB, Sollentuna, Sweden 2008-2009.All rights reserved. SIP
 Security
  • 2. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps REQUIREMENTS • Ability to share device states between Asterisk servers • Ability to subscribe to status of devices in local Asterisk server as well as remote (as long as they exist in the dial plan) • Ability to get remote device status in dialplan, like local device states
  • 3. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps ASTERISK VERSION • Trunk ( to be integrated) • Asterisk 1.4/Edvx • Other versions depends on sponsor’s needs
  • 4. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps CALL STATES IN SIP • SIP uses Subscribe/Notify with the Dialog-info event package to distribute call states • A user agent updates the presence server with PUBLISH SUBSCRIBE Send me updates NOTIFY Here’s a requested update PUBLISH Here’s my changed status
  • 5. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps ASTERISK CURRENT SUPPORT • Asterisk 1.4 has support for a variety of event packages for subscriptions, including dialog-info • Asterisk 1.6 added remote subscriptions, where Asterisk subscribes for mailbox notifications (only) • Asterisk trunk has limited support for PUBLISH for other event types (call completion/camp-on).
  • 6. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps IDEA SIP Presence server ast01 * ast02 * Asterisk 02 subscribes to remote
 SIP device status. exten => 1234,hint,sip-dialog:sip:oej@ast01.edvina.net Asterisk 01 publishes device
 status updates to presence server. [general] presenceserver=pres.edvina.net presencedomain=edvina.net ! [presence] ; Publish a single extension publish = 1234,sip:1234@edvina.net ; Publish a complete context ; Changes in the context won’t be published publishcontext = internal, edvina.net ! !
  • 7. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps QUEUES SIP Presence server ast01 * ast02 * Asterisk 02 subscribes to remote
 SIP device status. Asterisk 01 publishes device
 status updates to presence server. If you want Mary to join the support queue as a full member, you need to add remote device state ! exten => mary,hint,remote-sip-blah-blah exten => mary,1,dial(sip/ast02/mary) ! ! Arne bertil Cecilia Mary John Piggy Queue:
 support
  • 8. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps NEW QUEUE ARCHITECTURE? ast01 * Queue:
 support ast02 * ast03 * One server handles queues,
 the other servers handles all the agents. SIP Presence server
  • 9. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps OFFLOADING ASTERISK ast01 * ast03 * Asterisk publishes call states to presense
 server, Phones subscribe to presense server directly instead of Asterisk. SIP Presence server
  • 10. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps BENEFITS • Using a SIP presence server scales • Other devices can subscribe directly to status with the presence server • We can add some extra data - Asterisk-specific - to the presence items • It’s standardized
  • 11. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps POTENTIAL ISSUES • Using a proprietary distributed event system might make it easier to add Asterisk functionality and support legacy systems, like flash operator panel
  • 12. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps TO BE TESTED • Can we potentially create a dialplan that can handle remote call pickup? • Asterisk supports invite with replaces today. Can we force such an action in the dialplan and have Asterisk pickup a remote SIP call? • Yes, provided we send the Asterisk channel ID as call-id • How would this work with manager events/actions? • We need to spend more time on scenarious here • Manager support considered out of scope for this first project
  • 13. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps REALTIME SUPPORT. • If a new device activates, based on realtime database, will we have to know that and publish the state? • Can be done for SIP devices in the SIP channel I think • Using regcontext= we can hook into that part and publish the state • We need to check how the server aggregates states from different servers • If a phone reboots, it may register on server A and still have registration on server B.When the registration expires, the state changes - AFTER the other server has said that everything is fine... Food for thought.
  • 14. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps PUBLISH DEVICE STATES • Create a subdomain for device states in presence server • Using dialog-info • Publish to devicename@domain • SIP/323-3xyy@devicestates.mydomain.org • Simple prefix-based filters in sip-presense.conf
  • 15. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps PUBLISHING EXT STATES • We need to map exten@context to a SIP uri • Per extension • Default mapping per context - map to SIP domain • Realtime support a requirement • Maybe add a ”pubhint” in dialplan for XMPP and SIP • exten => olle,pubhint,sip-pidf,sip:oej@edvina.net • exten => anna, pubhint, sip-dinfo,sips:anna@pinapalmera.org • exten => brad,pubhint,xmpp,xmpp:marquis42@deepspace9.trek
  • 16. © Copyright Edvina AB, Sollentuna, Sweden July 2010.All rights reserved. Blinking lamps CONFIGURATION OF MAPPING [contextname] outboundproxy=<peer or domain> defaultdomain=edvina.net urimap=1236474,sip:ross@mydomain.com urimap=12922,sips:lars@otherdomain.se sip-publish.conf