SlideShare une entreprise Scribd logo
1  sur  36
Escape from North America:
Elastix localization for the world!
Agenda
• What might we want to change?
• Where can we change it?
• How can we change it?

• But first, a quick test...
A bit about me...
• Chartered Engineer
• Telecoms for the last 20+ years...
• A firm belief that Telecoms is fun
• Background in Civil Aviation air-ground comms,
  Wireless Local Loop, Computer Telephony
• Qualified trainer
• dCAP qualified Asterisk specialist
• Contributed the ‗Internationalization‘ chapter (9) to
  Asterisk: The Definitive Guide
A bit about TeleSpeak...
• Founded in 2006
• Located close to Oxford, UK
• Whole business is focussed around Asterisk
  – Elastix Training Partner
  – Digium Authorised Training Partner
  – Xorcom certified Distributor/Support Specialist
     • Permanent Asterisk Training Facility
  – Consultancy
  – Support
HOW TO LOCALISE YOUR


  IMPLEMENTATIONS
What might we need
          to change?
• System prompts         • Telephony interfaces
  – (language, accent)     – (physical and
• Caller ID                  electrical)
  – (reception and       • Times and dates
    transmission)          – (not only the actual
• Tones                      time zone, but the way
                             times and dates are
  – (generation and          read out)
    recognition)
Let’s start with tones
Let’s start with tones
• Tones – IP devices (e.g. SIP)
• Tones – analogue channels
• Tones – internal calls
Where do we change
         those tones?
• Tones – IP channels (SIP phones, ATAs)
  – On the device!!
• Tones – analogue channels
  – /etc/dahdi/system.conf
     • loadzone = uk
     • defaultzone = uk
• Tones – internal calls
  – /etc/asterisk/indications.conf
     • country = uk
The Linux file system
           /   bin        The /etc/asterisk directory is created
               boot       when Asterisk is installed

               dev
               etc                asterisk
               home                                         extensions.conf
               lib
               lost+found                                   indications.conf
               media              dahdi**                   sip.conf
               misc                                         chan_dahdi.conf
               mnt

Where
               net         **system.conf lives in the /etc/dahdi
                           directory as it is not part of Asterisk
               opt
               proc              This is the home directory of the ‘root’



exactly?
                                 user – if you are logged in as ‘root’ and
               root (~)          start a terminal from the graphical
               selinux           environement, you will start in this directory
               srv
                          The /usr/src directory is where we put the
               sys        LibPRI, Zaptel and Asterisk tarballs
               tmp
               usr
               var        src                asterisk-1.6.x.x.tar.gz
                                             asterisk-1.6.x.x
                                             dahdi-linux-2.x.x.tar.gz
                                             dahdi-linux-2.x.x
                                             dahdi-tools-2.x.x.tar.gz
                                             dahdi-tools...

                     libpri-1.x.x, dahdi-xxxx-2.x.x and Asterisk-1.x.x
                     subdirectories will be created in /usr/src
                     when we ‘untar’ the tarballs
Time and date localisation
• Actual time and date for the system is set
  in Linux
• Asterisk can be made aware of many time
  zones
  – These zones can be used to change the way
    times and dates are presented, and even
    spoken
Where can you change
      times and dates?
• When would you need to do this?
• It mainly comes down to voicemail!!!
  – Accordingly, configuration occurs in
    /etc/asterisk/voicemail.conf
  – The [zonemessages] section is where the
    timezone, time and date presentation and
    pronounciation are set
  – The voicemail context (e.g. [default]) is where
    each mailbox is assigned a zone, if required
Where can you change
         times and dates?
/etc/asterisk/voicemail.conf

[zonemessages]
central=America/Chicago|'vm-received' Q 'digits/at' IMp
UK=Europe/London|'vm-received' a b d 'digits/at' HM

[default]
809=>1234,David Duffett,dd@xyz.com,,tz=UK
810=>0000,Mark Spencer,markster@digium.com,,tz=central
Changing the language (or
 accent) of system prompts
• By default Asterisk stores system prompts
  (sound files) in /var/lib/asterisk/sounds
• Within this directory sub-directories are
  used for the storage of differing prompts
Changing the language (or
 accent) of system prompts
• E.g.
  – /var/lib/asterisk/sounds/en/ for English
  – /var/lib/asterisk/sounds/es/ for Spanish


• Filenames need to be known to Asterisk
  – E.g. hello.gsm would contain
     • ―hello‖ in /var/lib/asterisk/sounds/en/hello.gsm
     • ―hola‖ in /var/lib/asterisk/sounds/es/hello.gsm
So where do you specify
       the language?
• In the channel...
• So for SIP, it would be in sip.conf (or
  sip_xxxxxxx.conf
• For IAX2, it would be in iax.conf
• For analogue or digital channels
  (connected by a Digium card) it would be
  in chan_dahdi.conf or dahdi-channels.conf
• Or in the dialplan
Specifying the language
          in the Channel
/etc/asterisk/sip.conf
[general]
language=es
context=custom-internal
deny=0.0.0.0/0

[dd-phone]
type=friend
language=fr



/etc/asterisk/extensions_custom.conf (the dialplan)
[custom-internal]
exten => _6001,1,Playback(hello)
Specifying the language
          in the Dialplan
/etc/asterisk/extensions_custom.conf (the dialplan)
[custom-internal]
exten => _6001,1,Playback(hello)

[language-menu]
exten => s,1,Background(choose_language)
; 1 for French, 2 for German, 3 for Spanish
exten => s,n,WaitExten(5)
exten => 1,1,Set(CHANNEL(language)=fr)
exten => 2,1,Set(CHANNEL(language)=de)
exten => 3,1,Set(CHANNEL(language)=es)
exten => _[1-3],n,Goto(custom-internal,6001,1)
What about Caller ID?
• Many different formats around the world
• In the UK we use V23 (FSK)

• Asterisk can be made to understand
  different types of Caller ID signalling
• ...and to send it to analogue phones too!
Setting the Caller ID format
 /etc/asterisk/chan_dahdi.conf or dahdi-channels.conf
 group=1
 signalling=fxo_ks
 cidsignalling=v23 ;BT standard
 cidstart=polarity ;start indication
 sendcalleridafter=2 ;the number
 ; of rings before sending the data
 context=from-analogue
 channel => 1-4

 group=2
 signalling=fxs_ks
 callerid=asreceived
 context=from-outside
 channel => 5-8
Telephony Interfaces
• Physical characteristics




• Electrical characteristics
  – UK uses 50V DC to power phones
  – UK uses 75v ac @ 75Hz to ring phones
Basic telephony



FXS - Station




                        FXO – Office
Physical characteristics

             Hybrid


 Speaker
                        Telephone Line
                        with an impedance = Y
Microphone

                      Impedance = Z
Digium Analog Interfaces
Basic rate interface (BRI)



          B1   B2   D




         B = Bearer
         D = Data
Primary rate interfaces
     (PRI) – North America
T1                  1 frame = 125 s x 24 time slots + 1 fb = 1.544 Mbps

20 21 22 23 24 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 2 3 4 5


        1 framing
         bit (fb)
                          ISDN – NI2, AT&T
T1                  1 frame = 125 s x 24 time slots + 1 fb = 1.544 Mbps

20 21 22 23 24 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 2 3 4 5


        1 framing
            bit
                        CAS – T1 robbed bit
Primary rate interfaces
 (PRI) – Everywhere else...

E1
                        1 frame = 125 s x 32 time slots = 2.048 Mbps

31 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 0


framing                                   signalling
  octet                                     octet



                  ISDN – Euro ISDN, QSIG
                  CAS – MFC R2, E1LS
Observe the Protocol
Digium Digital Interfaces
PRI connectorisation
• What is the impedance of the line?
   – Europe 120 ohm, North America 100 ohm commonly
       • Typically RJ45 connectors
   – Might be 75 ohm
       • Typically BNC connectors
We all need approval
• To connect equipment to the national PSTN, approval is often
  required
• Digium hardware is approved in many countries
• If connecting to a internal PABX, approval is not required
Questions or comments?
Recap
• What might we want to change?
  – Language or accent of prompts, time zone
  – Tones, telephony interfaces
• Where can we change it?
  – Asterisk, DAHDI, or individual devices
• How can we change it?
  – Configuration files in Asterisk or DAHDI
  – Web interface (or provisioning) for
    IP phones and ATAs
http://ofps.oreilly.com/titles/9780596517342/

  Table 9.1. Internationalization cheat sheet

                      What to change                              Where to change it

                                                  •IP phones—on the phone itself
   Call progress tones                            •ATAs—on the ATA itself
                                                  •Analog phones—DAHDI (/etc/dahdi/system.conf)

                                                  DAHDI—/etc/dahdi/system.conf and
   Type of PRI/BRI and protocol
                                                  /etc/asterisk/chan_dahdi.conf

                                                  •Balun if required for PRI
   Physical PSTN connections                      •Get the analog pair to middle 2 pins of the RJ11
                                                  connecting to the Digium card
   Caller ID on analog circuits                   Asterisk—/etc/asterisk/chan_dahdi.conf

                                                  •Channel—/etc/asterisk/sip.conf,
                                                  /etc/asterisk/iax.conf,
   Prompt language and/or accent
                                                  /etc/asterisk/chan_dahdi.conf, etc.
                                                  •Dialplan—CHANNEL(language) function

   Voicemail time/date stamps and pronunciation   Asterisk—/etc/asterisk/voicemail.conf

                                                  Asterisk—/etc/asterisk/indications.conf
   Tones delivered by Asterisk
May all your Elastix
deployments feel at home!
TeleSpeak


        Training

david.duffett@telespeak.co.uk
      Thank you

Contenu connexe

Tendances

Advanced Usage of the Debian Packaging System
Advanced Usage of the Debian Packaging SystemAdvanced Usage of the Debian Packaging System
Advanced Usage of the Debian Packaging SystemAdam Gonnerman
 
Ad-Hoc Networking in Linux with Avahi
Ad-Hoc Networking in Linux with AvahiAd-Hoc Networking in Linux with Avahi
Ad-Hoc Networking in Linux with Avahisinchume
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheetNeilRogero
 
Fundamentos de unix
Fundamentos de unixFundamentos de unix
Fundamentos de unixjoel2104
 
Brienna hick sound recording glossary
Brienna hick sound recording glossaryBrienna hick sound recording glossary
Brienna hick sound recording glossarysoulsama
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheetj-roche
 
Amazing KDE (K Desktop Environment)
Amazing KDE (K Desktop Environment)Amazing KDE (K Desktop Environment)
Amazing KDE (K Desktop Environment)anandvaidya
 
Audio encoding principles
Audio encoding principlesAudio encoding principles
Audio encoding principlesPhillip Doyle
 
Brienna hick sound recording glossary improved version
Brienna hick sound recording glossary   improved versionBrienna hick sound recording glossary   improved version
Brienna hick sound recording glossary improved versionsoulsama
 
Sound recording glossary improved
Sound recording glossary improvedSound recording glossary improved
Sound recording glossary improvedCameronMcRae901
 
Ig2 task 1 work sheet 2
Ig2 task 1 work sheet 2Ig2 task 1 work sheet 2
Ig2 task 1 work sheet 2JoeBrannigan
 
Sound recording glossary improved
Sound recording glossary   improvedSound recording glossary   improved
Sound recording glossary improvedCameronMcRae901
 
R tech introcomputer
R tech introcomputerR tech introcomputer
R tech introcomputerRose Rajput
 
Sound recording glossary improved 3
Sound recording glossary improved 3Sound recording glossary improved 3
Sound recording glossary improved 3CameronMcRae901
 
Protecting Plone from the Big, Bad Internet
Protecting Plone from the Big, Bad InternetProtecting Plone from the Big, Bad Internet
Protecting Plone from the Big, Bad InternetErik Rose
 
Loading___done_gdc_2008
Loading___done_gdc_2008Loading___done_gdc_2008
Loading___done_gdc_2008guest8943c5
 

Tendances (20)

Advanced Usage of the Debian Packaging System
Advanced Usage of the Debian Packaging SystemAdvanced Usage of the Debian Packaging System
Advanced Usage of the Debian Packaging System
 
Ad-Hoc Networking in Linux with Avahi
Ad-Hoc Networking in Linux with AvahiAd-Hoc Networking in Linux with Avahi
Ad-Hoc Networking in Linux with Avahi
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheet
 
Developing with Cello
Developing with CelloDeveloping with Cello
Developing with Cello
 
Fundamentos de unix
Fundamentos de unixFundamentos de unix
Fundamentos de unix
 
Brienna hick sound recording glossary
Brienna hick sound recording glossaryBrienna hick sound recording glossary
Brienna hick sound recording glossary
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheet
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheet
 
Android Multimedia Support
Android Multimedia SupportAndroid Multimedia Support
Android Multimedia Support
 
Amazing KDE (K Desktop Environment)
Amazing KDE (K Desktop Environment)Amazing KDE (K Desktop Environment)
Amazing KDE (K Desktop Environment)
 
Audio encoding principles
Audio encoding principlesAudio encoding principles
Audio encoding principles
 
video tools
video toolsvideo tools
video tools
 
Brienna hick sound recording glossary improved version
Brienna hick sound recording glossary   improved versionBrienna hick sound recording glossary   improved version
Brienna hick sound recording glossary improved version
 
Sound recording glossary improved
Sound recording glossary improvedSound recording glossary improved
Sound recording glossary improved
 
Ig2 task 1 work sheet 2
Ig2 task 1 work sheet 2Ig2 task 1 work sheet 2
Ig2 task 1 work sheet 2
 
Sound recording glossary improved
Sound recording glossary   improvedSound recording glossary   improved
Sound recording glossary improved
 
R tech introcomputer
R tech introcomputerR tech introcomputer
R tech introcomputer
 
Sound recording glossary improved 3
Sound recording glossary improved 3Sound recording glossary improved 3
Sound recording glossary improved 3
 
Protecting Plone from the Big, Bad Internet
Protecting Plone from the Big, Bad InternetProtecting Plone from the Big, Bad Internet
Protecting Plone from the Big, Bad Internet
 
Loading___done_gdc_2008
Loading___done_gdc_2008Loading___done_gdc_2008
Loading___done_gdc_2008
 

Similaire à Making asterisk feel like home outside north america

Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisktutorialsruby
 
Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisktutorialsruby
 
Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisktutorialsruby
 
Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisktutorialsruby
 
Asterisk - el futuro es REST
Asterisk - el futuro es RESTAsterisk - el futuro es REST
Asterisk - el futuro es RESTOpenDireito
 
Asterisk: El futuro es REST
Asterisk: El futuro es RESTAsterisk: El futuro es REST
Asterisk: El futuro es RESTgdraque
 
Asterisksecuritykingasterisk 130723131448-phpapp01
Asterisksecuritykingasterisk 130723131448-phpapp01Asterisksecuritykingasterisk 130723131448-phpapp01
Asterisksecuritykingasterisk 130723131448-phpapp01King Astreisk Technologies
 
Alexander Bolshev, Alexander Malinovsky - HART (in)security
Alexander Bolshev, Alexander Malinovsky - HART (in)securityAlexander Bolshev, Alexander Malinovsky - HART (in)security
Alexander Bolshev, Alexander Malinovsky - HART (in)securityDefconRussia
 
Andresen 8 21 02
Andresen 8 21 02Andresen 8 21 02
Andresen 8 21 02FNian
 
Simplest-Ownage-Human-Observed… - Routers
 Simplest-Ownage-Human-Observed… - Routers Simplest-Ownage-Human-Observed… - Routers
Simplest-Ownage-Human-Observed… - RoutersLogicaltrust pl
 
Filip palian mateuszkocielski. simplest ownage human observed… routers
Filip palian mateuszkocielski. simplest ownage human observed… routersFilip palian mateuszkocielski. simplest ownage human observed… routers
Filip palian mateuszkocielski. simplest ownage human observed… routersYury Chemerkin
 
Asterisk PRI Passive Call Recording
Asterisk PRI Passive Call RecordingAsterisk PRI Passive Call Recording
Asterisk PRI Passive Call RecordingMoises Silva
 

Similaire à Making asterisk feel like home outside north america (20)

Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisk
 
Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisk
 
Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisk
 
Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisk
 
Asterisk - el futuro es REST
Asterisk - el futuro es RESTAsterisk - el futuro es REST
Asterisk - el futuro es REST
 
jonny-martin-asterisk.pdf
jonny-martin-asterisk.pdfjonny-martin-asterisk.pdf
jonny-martin-asterisk.pdf
 
Asterisk: El futuro es REST
Asterisk: El futuro es RESTAsterisk: El futuro es REST
Asterisk: El futuro es REST
 
Asterisk: the future is at REST
Asterisk: the future is at RESTAsterisk: the future is at REST
Asterisk: the future is at REST
 
Ruby voip
Ruby voipRuby voip
Ruby voip
 
What Is IVR ?
What Is IVR ?What Is IVR ?
What Is IVR ?
 
Asterisksecuritykingasterisk 130723131448-phpapp01
Asterisksecuritykingasterisk 130723131448-phpapp01Asterisksecuritykingasterisk 130723131448-phpapp01
Asterisksecuritykingasterisk 130723131448-phpapp01
 
Asterisk Complete Training
Asterisk Complete TrainingAsterisk Complete Training
Asterisk Complete Training
 
Asterisk Introduction
Asterisk IntroductionAsterisk Introduction
Asterisk Introduction
 
Alexander Bolshev, Alexander Malinovsky - HART (in)security
Alexander Bolshev, Alexander Malinovsky - HART (in)securityAlexander Bolshev, Alexander Malinovsky - HART (in)security
Alexander Bolshev, Alexander Malinovsky - HART (in)security
 
Andresen 8 21 02
Andresen 8 21 02Andresen 8 21 02
Andresen 8 21 02
 
Simplest-Ownage-Human-Observed… - Routers
 Simplest-Ownage-Human-Observed… - Routers Simplest-Ownage-Human-Observed… - Routers
Simplest-Ownage-Human-Observed… - Routers
 
Filip palian mateuszkocielski. simplest ownage human observed… routers
Filip palian mateuszkocielski. simplest ownage human observed… routersFilip palian mateuszkocielski. simplest ownage human observed… routers
Filip palian mateuszkocielski. simplest ownage human observed… routers
 
Asterisk PRI Passive Call Recording
Asterisk PRI Passive Call RecordingAsterisk PRI Passive Call Recording
Asterisk PRI Passive Call Recording
 
Docker
DockerDocker
Docker
 
Lan
LanLan
Lan
 

Plus de PaloSanto Solutions

Tres componentes fundamentales de un buen PBX IP: seguridad, alta disponibili...
Tres componentes fundamentales de un buen PBX IP: seguridad, alta disponibili...Tres componentes fundamentales de un buen PBX IP: seguridad, alta disponibili...
Tres componentes fundamentales de un buen PBX IP: seguridad, alta disponibili...PaloSanto Solutions
 
Voip y Big Data, ¿Cómo aplicar analytics a la VoIP?
Voip y Big Data, ¿Cómo aplicar analytics a la VoIP?Voip y Big Data, ¿Cómo aplicar analytics a la VoIP?
Voip y Big Data, ¿Cómo aplicar analytics a la VoIP?PaloSanto Solutions
 
Innovative technology for universal communication designed to involve the (he...
Innovative technology for universal communication designed to involve the (he...Innovative technology for universal communication designed to involve the (he...
Innovative technology for universal communication designed to involve the (he...PaloSanto Solutions
 
Queuemetrics esencial, de la implementación a reportes avanzadas
Queuemetrics esencial, de la implementación a reportes avanzadasQueuemetrics esencial, de la implementación a reportes avanzadas
Queuemetrics esencial, de la implementación a reportes avanzadasPaloSanto Solutions
 
La evolución de la telefonía IP a comunicaciones unificadas
La evolución de la telefonía IP a comunicaciones unificadasLa evolución de la telefonía IP a comunicaciones unificadas
La evolución de la telefonía IP a comunicaciones unificadasPaloSanto Solutions
 
Integrando encuestas automáticas con iSurveyX
Integrando encuestas automáticas con iSurveyXIntegrando encuestas automáticas con iSurveyX
Integrando encuestas automáticas con iSurveyXPaloSanto Solutions
 
Usando el módulo PIKE en Elastix MT
Usando el módulo PIKE en Elastix MTUsando el módulo PIKE en Elastix MT
Usando el módulo PIKE en Elastix MTPaloSanto Solutions
 
Todo lo lo que necesita saber para implementar FreePBX
Todo lo lo que necesita saber para implementar FreePBXTodo lo lo que necesita saber para implementar FreePBX
Todo lo lo que necesita saber para implementar FreePBXPaloSanto Solutions
 
Gestión de la Información de Desempeño con OpenNMS
Gestión de la Información de Desempeño con OpenNMSGestión de la Información de Desempeño con OpenNMS
Gestión de la Información de Desempeño con OpenNMSPaloSanto Solutions
 
Escalado y balanceo de carga de sistemas SIP
Escalado y balanceo de carga de sistemas SIPEscalado y balanceo de carga de sistemas SIP
Escalado y balanceo de carga de sistemas SIPPaloSanto Solutions
 
Elastix unified communications server cookbook
Elastix unified communications server cookbookElastix unified communications server cookbook
Elastix unified communications server cookbookPaloSanto Solutions
 
Seguridad en Asterisk: Un acercamiento detallado
Seguridad en Asterisk: Un acercamiento detalladoSeguridad en Asterisk: Un acercamiento detallado
Seguridad en Asterisk: Un acercamiento detalladoPaloSanto Solutions
 
Dynamic calls with Text To Speech
Dynamic calls with Text To SpeechDynamic calls with Text To Speech
Dynamic calls with Text To SpeechPaloSanto Solutions
 
Proceso de migración de telefonía tradicional a Elastix (Caso)
Proceso de migración de telefonía tradicional a Elastix (Caso)Proceso de migración de telefonía tradicional a Elastix (Caso)
Proceso de migración de telefonía tradicional a Elastix (Caso)PaloSanto Solutions
 
Building a new ecosystem for interoperable communications
Building a new ecosystem for interoperable communicationsBuilding a new ecosystem for interoperable communications
Building a new ecosystem for interoperable communicationsPaloSanto Solutions
 
Presentacion Hardware Elastix 2015 - Colombia
Presentacion Hardware Elastix 2015 - Colombia Presentacion Hardware Elastix 2015 - Colombia
Presentacion Hardware Elastix 2015 - Colombia PaloSanto Solutions
 
Módulo de Alta Disponibilidad de Elastix
Módulo de Alta Disponibilidad de ElastixMódulo de Alta Disponibilidad de Elastix
Módulo de Alta Disponibilidad de ElastixPaloSanto Solutions
 
Porteros IP SURiX con sin Video - Aplicaciones - Casos de éxito - Configuración
Porteros IP SURiX con sin Video - Aplicaciones - Casos de éxito - ConfiguraciónPorteros IP SURiX con sin Video - Aplicaciones - Casos de éxito - Configuración
Porteros IP SURiX con sin Video - Aplicaciones - Casos de éxito - ConfiguraciónPaloSanto Solutions
 

Plus de PaloSanto Solutions (20)

Tres componentes fundamentales de un buen PBX IP: seguridad, alta disponibili...
Tres componentes fundamentales de un buen PBX IP: seguridad, alta disponibili...Tres componentes fundamentales de un buen PBX IP: seguridad, alta disponibili...
Tres componentes fundamentales de un buen PBX IP: seguridad, alta disponibili...
 
Voip y Big Data, ¿Cómo aplicar analytics a la VoIP?
Voip y Big Data, ¿Cómo aplicar analytics a la VoIP?Voip y Big Data, ¿Cómo aplicar analytics a la VoIP?
Voip y Big Data, ¿Cómo aplicar analytics a la VoIP?
 
Innovative technology for universal communication designed to involve the (he...
Innovative technology for universal communication designed to involve the (he...Innovative technology for universal communication designed to involve the (he...
Innovative technology for universal communication designed to involve the (he...
 
Queuemetrics esencial, de la implementación a reportes avanzadas
Queuemetrics esencial, de la implementación a reportes avanzadasQueuemetrics esencial, de la implementación a reportes avanzadas
Queuemetrics esencial, de la implementación a reportes avanzadas
 
La evolución de la telefonía IP a comunicaciones unificadas
La evolución de la telefonía IP a comunicaciones unificadasLa evolución de la telefonía IP a comunicaciones unificadas
La evolución de la telefonía IP a comunicaciones unificadas
 
WebRTC … ¡vamos a discar!
WebRTC … ¡vamos a discar!WebRTC … ¡vamos a discar!
WebRTC … ¡vamos a discar!
 
Integrando encuestas automáticas con iSurveyX
Integrando encuestas automáticas con iSurveyXIntegrando encuestas automáticas con iSurveyX
Integrando encuestas automáticas con iSurveyX
 
Usando el módulo PIKE en Elastix MT
Usando el módulo PIKE en Elastix MTUsando el módulo PIKE en Elastix MT
Usando el módulo PIKE en Elastix MT
 
Todo lo lo que necesita saber para implementar FreePBX
Todo lo lo que necesita saber para implementar FreePBXTodo lo lo que necesita saber para implementar FreePBX
Todo lo lo que necesita saber para implementar FreePBX
 
Gestión de la Información de Desempeño con OpenNMS
Gestión de la Información de Desempeño con OpenNMSGestión de la Información de Desempeño con OpenNMS
Gestión de la Información de Desempeño con OpenNMS
 
Escalado y balanceo de carga de sistemas SIP
Escalado y balanceo de carga de sistemas SIPEscalado y balanceo de carga de sistemas SIP
Escalado y balanceo de carga de sistemas SIP
 
Elastix unified communications server cookbook
Elastix unified communications server cookbookElastix unified communications server cookbook
Elastix unified communications server cookbook
 
Seguridad en Asterisk: Un acercamiento detallado
Seguridad en Asterisk: Un acercamiento detalladoSeguridad en Asterisk: Un acercamiento detallado
Seguridad en Asterisk: Un acercamiento detallado
 
Dynamic calls with Text To Speech
Dynamic calls with Text To SpeechDynamic calls with Text To Speech
Dynamic calls with Text To Speech
 
Proceso de migración de telefonía tradicional a Elastix (Caso)
Proceso de migración de telefonía tradicional a Elastix (Caso)Proceso de migración de telefonía tradicional a Elastix (Caso)
Proceso de migración de telefonía tradicional a Elastix (Caso)
 
Building a new ecosystem for interoperable communications
Building a new ecosystem for interoperable communicationsBuilding a new ecosystem for interoperable communications
Building a new ecosystem for interoperable communications
 
Presentacion Hardware Elastix 2015 - Colombia
Presentacion Hardware Elastix 2015 - Colombia Presentacion Hardware Elastix 2015 - Colombia
Presentacion Hardware Elastix 2015 - Colombia
 
Voicemail Avanzado
Voicemail AvanzadoVoicemail Avanzado
Voicemail Avanzado
 
Módulo de Alta Disponibilidad de Elastix
Módulo de Alta Disponibilidad de ElastixMódulo de Alta Disponibilidad de Elastix
Módulo de Alta Disponibilidad de Elastix
 
Porteros IP SURiX con sin Video - Aplicaciones - Casos de éxito - Configuración
Porteros IP SURiX con sin Video - Aplicaciones - Casos de éxito - ConfiguraciónPorteros IP SURiX con sin Video - Aplicaciones - Casos de éxito - Configuración
Porteros IP SURiX con sin Video - Aplicaciones - Casos de éxito - Configuración
 

Dernier

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Dernier (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

Making asterisk feel like home outside north america

  • 1. Escape from North America: Elastix localization for the world!
  • 2. Agenda • What might we want to change? • Where can we change it? • How can we change it? • But first, a quick test...
  • 3. A bit about me... • Chartered Engineer • Telecoms for the last 20+ years... • A firm belief that Telecoms is fun • Background in Civil Aviation air-ground comms, Wireless Local Loop, Computer Telephony • Qualified trainer • dCAP qualified Asterisk specialist • Contributed the ‗Internationalization‘ chapter (9) to Asterisk: The Definitive Guide
  • 4. A bit about TeleSpeak... • Founded in 2006 • Located close to Oxford, UK • Whole business is focussed around Asterisk – Elastix Training Partner – Digium Authorised Training Partner – Xorcom certified Distributor/Support Specialist • Permanent Asterisk Training Facility – Consultancy – Support
  • 5. HOW TO LOCALISE YOUR IMPLEMENTATIONS
  • 6. What might we need to change? • System prompts • Telephony interfaces – (language, accent) – (physical and • Caller ID electrical) – (reception and • Times and dates transmission) – (not only the actual • Tones time zone, but the way times and dates are – (generation and read out) recognition)
  • 8. Let’s start with tones • Tones – IP devices (e.g. SIP) • Tones – analogue channels • Tones – internal calls
  • 9. Where do we change those tones? • Tones – IP channels (SIP phones, ATAs) – On the device!! • Tones – analogue channels – /etc/dahdi/system.conf • loadzone = uk • defaultzone = uk • Tones – internal calls – /etc/asterisk/indications.conf • country = uk
  • 10. The Linux file system / bin The /etc/asterisk directory is created boot when Asterisk is installed dev etc asterisk home extensions.conf lib lost+found indications.conf media dahdi** sip.conf misc chan_dahdi.conf mnt Where net **system.conf lives in the /etc/dahdi directory as it is not part of Asterisk opt proc This is the home directory of the ‘root’ exactly? user – if you are logged in as ‘root’ and root (~) start a terminal from the graphical selinux environement, you will start in this directory srv The /usr/src directory is where we put the sys LibPRI, Zaptel and Asterisk tarballs tmp usr var src asterisk-1.6.x.x.tar.gz asterisk-1.6.x.x dahdi-linux-2.x.x.tar.gz dahdi-linux-2.x.x dahdi-tools-2.x.x.tar.gz dahdi-tools... libpri-1.x.x, dahdi-xxxx-2.x.x and Asterisk-1.x.x subdirectories will be created in /usr/src when we ‘untar’ the tarballs
  • 11. Time and date localisation • Actual time and date for the system is set in Linux • Asterisk can be made aware of many time zones – These zones can be used to change the way times and dates are presented, and even spoken
  • 12. Where can you change times and dates? • When would you need to do this? • It mainly comes down to voicemail!!! – Accordingly, configuration occurs in /etc/asterisk/voicemail.conf – The [zonemessages] section is where the timezone, time and date presentation and pronounciation are set – The voicemail context (e.g. [default]) is where each mailbox is assigned a zone, if required
  • 13. Where can you change times and dates? /etc/asterisk/voicemail.conf [zonemessages] central=America/Chicago|'vm-received' Q 'digits/at' IMp UK=Europe/London|'vm-received' a b d 'digits/at' HM [default] 809=>1234,David Duffett,dd@xyz.com,,tz=UK 810=>0000,Mark Spencer,markster@digium.com,,tz=central
  • 14. Changing the language (or accent) of system prompts • By default Asterisk stores system prompts (sound files) in /var/lib/asterisk/sounds • Within this directory sub-directories are used for the storage of differing prompts
  • 15. Changing the language (or accent) of system prompts • E.g. – /var/lib/asterisk/sounds/en/ for English – /var/lib/asterisk/sounds/es/ for Spanish • Filenames need to be known to Asterisk – E.g. hello.gsm would contain • ―hello‖ in /var/lib/asterisk/sounds/en/hello.gsm • ―hola‖ in /var/lib/asterisk/sounds/es/hello.gsm
  • 16. So where do you specify the language? • In the channel... • So for SIP, it would be in sip.conf (or sip_xxxxxxx.conf • For IAX2, it would be in iax.conf • For analogue or digital channels (connected by a Digium card) it would be in chan_dahdi.conf or dahdi-channels.conf • Or in the dialplan
  • 17. Specifying the language in the Channel /etc/asterisk/sip.conf [general] language=es context=custom-internal deny=0.0.0.0/0 [dd-phone] type=friend language=fr /etc/asterisk/extensions_custom.conf (the dialplan) [custom-internal] exten => _6001,1,Playback(hello)
  • 18. Specifying the language in the Dialplan /etc/asterisk/extensions_custom.conf (the dialplan) [custom-internal] exten => _6001,1,Playback(hello) [language-menu] exten => s,1,Background(choose_language) ; 1 for French, 2 for German, 3 for Spanish exten => s,n,WaitExten(5) exten => 1,1,Set(CHANNEL(language)=fr) exten => 2,1,Set(CHANNEL(language)=de) exten => 3,1,Set(CHANNEL(language)=es) exten => _[1-3],n,Goto(custom-internal,6001,1)
  • 19. What about Caller ID? • Many different formats around the world • In the UK we use V23 (FSK) • Asterisk can be made to understand different types of Caller ID signalling • ...and to send it to analogue phones too!
  • 20. Setting the Caller ID format /etc/asterisk/chan_dahdi.conf or dahdi-channels.conf group=1 signalling=fxo_ks cidsignalling=v23 ;BT standard cidstart=polarity ;start indication sendcalleridafter=2 ;the number ; of rings before sending the data context=from-analogue channel => 1-4 group=2 signalling=fxs_ks callerid=asreceived context=from-outside channel => 5-8
  • 21. Telephony Interfaces • Physical characteristics • Electrical characteristics – UK uses 50V DC to power phones – UK uses 75v ac @ 75Hz to ring phones
  • 22. Basic telephony FXS - Station FXO – Office
  • 23. Physical characteristics Hybrid Speaker Telephone Line with an impedance = Y Microphone Impedance = Z
  • 25. Basic rate interface (BRI) B1 B2 D B = Bearer D = Data
  • 26. Primary rate interfaces (PRI) – North America T1 1 frame = 125 s x 24 time slots + 1 fb = 1.544 Mbps 20 21 22 23 24 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 2 3 4 5 1 framing bit (fb) ISDN – NI2, AT&T T1 1 frame = 125 s x 24 time slots + 1 fb = 1.544 Mbps 20 21 22 23 24 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 2 3 4 5 1 framing bit CAS – T1 robbed bit
  • 27. Primary rate interfaces (PRI) – Everywhere else... E1 1 frame = 125 s x 32 time slots = 2.048 Mbps 31 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 0 framing signalling octet octet ISDN – Euro ISDN, QSIG CAS – MFC R2, E1LS
  • 30. PRI connectorisation • What is the impedance of the line? – Europe 120 ohm, North America 100 ohm commonly • Typically RJ45 connectors – Might be 75 ohm • Typically BNC connectors
  • 31. We all need approval • To connect equipment to the national PSTN, approval is often required • Digium hardware is approved in many countries • If connecting to a internal PABX, approval is not required
  • 33. Recap • What might we want to change? – Language or accent of prompts, time zone – Tones, telephony interfaces • Where can we change it? – Asterisk, DAHDI, or individual devices • How can we change it? – Configuration files in Asterisk or DAHDI – Web interface (or provisioning) for IP phones and ATAs
  • 34. http://ofps.oreilly.com/titles/9780596517342/ Table 9.1. Internationalization cheat sheet What to change Where to change it •IP phones—on the phone itself Call progress tones •ATAs—on the ATA itself •Analog phones—DAHDI (/etc/dahdi/system.conf) DAHDI—/etc/dahdi/system.conf and Type of PRI/BRI and protocol /etc/asterisk/chan_dahdi.conf •Balun if required for PRI Physical PSTN connections •Get the analog pair to middle 2 pins of the RJ11 connecting to the Digium card Caller ID on analog circuits Asterisk—/etc/asterisk/chan_dahdi.conf •Channel—/etc/asterisk/sip.conf, /etc/asterisk/iax.conf, Prompt language and/or accent /etc/asterisk/chan_dahdi.conf, etc. •Dialplan—CHANNEL(language) function Voicemail time/date stamps and pronunciation Asterisk—/etc/asterisk/voicemail.conf Asterisk—/etc/asterisk/indications.conf Tones delivered by Asterisk
  • 35. May all your Elastix deployments feel at home!
  • 36. TeleSpeak Training david.duffett@telespeak.co.uk Thank you