Modifications entre les versions 4 et 5
Version 4 à la date du 2012-03-01 20:50:19
Taille: 2292
Éditeur: MoussaNombre
Commentaire: Mise à jour
Version 5 à la date du 2012-03-01 21:17:36
Taille: 2648
Éditeur: MoussaNombre
Commentaire: templates SIP
Texte supprimé. Texte ajouté.
Ligne 44: Ligne 44:

__Nouveautés__:

 * sip.conf : ajout de templates de paramètres communs
 {{{
[AUF-codecs](!)
 disallow=all
 allow=ulaw
 allow=gsm

[AUF-sip-base](!,AUF-codecs) #héritage
 type=friend
 host=dynamic
 context=AUF
 }}}

 Utilisé dans auf/sip.local :
 {{{
[1000](AUF-sip-base)
callerid="TEST" <1000>
user=1000
secret=0001
 }}}

Migration Asterisk de 1.4 à 1.8 sous Wheezy

Documentation

Mise en place de l'environnement

'Bon, j'ai un soucis, vzctl enter 508 ne donne rien, je n'arrive pas à entrer dans le nouveau CT. Par ssh, aucun soucis' -- A REVOIR

Asterisk 1.8

  • installation de paquets
    • aptitude install asterisk
      • dépendances : asterisk-config asterisk-core-sounds-en-gsm asterisk-modules asterisk-moh-opsound-gsm asterisk-voicemail
    • aptitude install asterisk-core-sounds-fr-gsm asterisk-doc
      • fournit : asterisk-prompt-fr-ca asterisk-prompt-fr + docs
    • paquets "manquants" (par rapport à notre asterisk 1.4) : asterisk-app-conference asterisk-dev [asterisk-config-auf asterisk-config-auf-connexions asterisk-moh-auf]
    • paquets "à voir" : asterisk-core-sounds-fr-wav[asterisk PBX sound files - French/wav] asterisk-moh-opsound-wav[asterisk extra sound files - English/wav] asterisk-mp3[MP3 playback support for the Asterisk PBX] asterisk-mysql[MySQL database protocol support for the Asterisk PBX] asterisk-ooh323[ H.323 protocol support for the Asterisk PBX - ooH323c] asterisk-prompt-fr-armelle[French voice prompts for Asterisk by Armelle Desjardins] asterisk-prompt-fr-proformatique[French voice prompts for Asterisk]

  • configuration

NB:

  • (cf sip.conf)
    ; Note that the TCP and TLS support for chan_sip is currently considered
    ; experimental.  Since it is new, all of the related configuration options are
    ; subject to change in any release.  If they are changed, the changes will
    ; be reflected in this sample configuration file, as well as in the UPGRADE.txt file
  • (cf extensions.conf)
    ; If extenpatternmatchnew is set (true, yes, etc), then a new algorithm that uses
    ; a Trie to find the best matching pattern is used. In dialplans
    ; with more than about 20-40 extensions in a single context, this
    ; new algorithm can provide a noticeable speedup.

Nouveautés:

  • sip.conf : ajout de templates de paramètres communs
    [AUF-codecs](!)
            disallow=all
            allow=ulaw
            allow=gsm
    
    [AUF-sip-base](!,AUF-codecs)       #héritage
            type=friend
            host=dynamic
            context=AUF
    Utilisé dans auf/sip.local :
    [1000](AUF-sip-base)
    callerid="TEST" <1000>
    user=1000
    secret=0001

Asterisk/MiseAJour18/PremiersTravaux (dernière édition le 2015-11-18 14:48:26 par MoussaNombre)