; exten => thomas.noel,hint,SIP/thomas.noel&IAX2/thomas.noel
; A SUPPRIMER ! UNIQUEMENT POUR PREMIERS TESTS !
-exten => 100,1,Macro(AUFDial,test);
+exten => 100,1,Macro(AUFDial,test)
exten => 100,hint,SIP/test&IAX2/test
-exten => test,1,Macro(AUFDial,test);
+exten => test,1,Macro(AUFDial,test)
exten => test,hint,SIP/test&IAX2/test
;;; exemple d'entrée pour la consultation de l'annuaire téléphonique
; auf/voicemail.local : surcharge de /etc/asterisk/voicemail.conf
;
+;
+[general](+)
+tz=fuseaulocal
+locale=fr_FR.UTF-8
+
; Indiquez ici votre fuseau horaire local (voir la liste dans /usr/share/zoneinfo)
[zonemessages](+)
fuseaulocal=UTC|'vm-received' Q 'digits/at' kM
+asterisk-config-auf (1.8-1.2) unstable; urgency=low
+
+ * correction de bug [Not a local domain.] à cause de autodomain oublié à yes
+ * correction faute de frappe dans voicemail.conf
+ * correction du bug de date en anglais dans les courriels du VM
+ * debconf préfixe international : on ne pose plus de question
+
+ -- Moussa NOMBRÉ <moussa.nombre@auf.org> Thu, 11 Oct 2012 13:35:29 -0400
+
asterisk-config-auf (1.8-1.1) unstable; urgency=low
* Correction d'un manque d'attention : les fichiers dans le dossier auf
#
# QUESTION 3 : Prefixe pour l'international
#
-db_input low asterisk-config-auf/prefixe || true
+# Asterisk 1.8 : on choisi de ne plus poser cette question, ça sera 00 pour tous
+# quelqu'un qui a _vraiment_ besoin de le changer pourra le faire
+# mais il devra le faire en éditant le fichier
+#db_input low asterisk-config-auf/prefixe || true
# fin
sed -i -e 's#^fuseaulocal=UTC|\(.*\)$#fuseaulocal='"${ETCTZ}"'|\1#' /etc/asterisk/auf/voicemail.local
fi
fi
+ # on vérifie le locale et on met le bon au besoin
+ LOCALE_LC_ALL=`echo $LC_ALL`
+ if [ "${LOCALE_LC_ALL}" != "fr_FR.utf8" -a -n "${LOCALE_LC_ALL}" ]
+ then
+ LOCALE_TO_SET=`echo ${LOCALE_LC_ALL%.*}`
+ sed -i -e 's#^locale=fr_FR.UTF-8#locale='"${LOCALE_TO_SET}"'.UTF-8#' /etc/asterisk/auf/voicemail.local
+ fi
#
# Partie "debconf" pour la gestion de auf/extensions-globals.local
[macro-AUFDirectory]
; Macro utilisé pour l'annuaire téléphonie
; cette macro est appelé soit via le menu du standard s'il existe
-; ou simplement en ajoutant une entrée spéciale dans le dialpla (auf/extensions.local
+; ou simplement en ajoutant une entrée spéciale dans le dialplan (auf/extensions.local)
exten => s,1,Directory(AUF,AUF,b)
exten => s,n,MacroExit
; You can have several "domain" settings
allowexternaldomains=yes ; Disable INVITE and REFER to non-local domains
; Default is yes
-autodomain=yes ; Turn this on to have Asterisk add local host
+autodomain=no ; Turn this on to have Asterisk add local host
; name and local IP to domain list.
; fromdomain=mydomain.tld ; When making outbound SIP INVITEs to
; caller", if they are both null.
;emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just left a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE}, so you might\nwant to check it when you get a chance. Thanks!\n\n\t\t\t\t--Asterisk\n
-emailbody=\nCher-ère ${VM_NAME},\n\nNous vous informons qu'un message vient d'être ajouté dans\nvotre messagerie vocale ${VM_MAILBOX}.\n\n\tExpéditeur : ${VM_CALLERID} (${VM_CIDNUM})\n\tDate : ${VM_DATE}\n\tDurée : ${VM_DUR}\n\tNuméro du message : ${{VM_MSGNUM}\n\nPour consulter votre messagerie vocale, composez *66\n\n--\nSystème Voix-sur-IP de l'AUF <assistance-informatique@auf.org>\n
+emailbody=\nCher-ère ${VM_NAME},\n\nNous vous informons qu'un message vient d'être ajouté dans\nvotre messagerie vocale ${VM_MAILBOX}.\n\n\tExpéditeur : ${VM_CALLERID} (${VM_CIDNUM})\n\tDate : ${VM_DATE}\n\tDurée : ${VM_DUR}\n\tNuméro du message : ${VM_MSGNUM}\n\nPour consulter votre messagerie vocale, composez *66\n\n--\nSystème Voix-sur-IP de l'AUF <assistance-informatique@auf.org>\n
;
; Note: ${IF()} strips spacing at the beginning and end of its true and false
; NOTE: All options can be expressed globally in the general section, and
; overridden in the per-mailbox settings, unless listed otherwise.
;
-tz=fuseaulocal
; tz=central ; Timezone from zonemessages below. Irrelevant if envelope=no.
; locale=de_DE.UTF-8 ; set the locale for generation of the date/time strings (make
; sure the locales are installed in your operating system; e.g
central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours'
military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p'
european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM
-fuseaulocal=GMT|'vm-received' Q 'digits/at' kM
[default]