N’oubliez pas d'ouvrir le port de votre firewall (port 69)
Personnellement avec packet filter, seule l'adresse IP de mon téléphone est autorisée à utiliser le port 69 (Sécurité avant tous)
Du même coup, comme mon tftp sera permanant, je pourrais modifier les fichiers de configuration à ma guise.
3 - Configuration des Fichiers à Uploader:
Le package (trouvez sur le net) comporte les fichiers suivants :
OS79XX.TXT
Fichier de version
P003-08-2-00.bin
Firmware
P003-08-2-00.sbn
Firmware
P0S3-08-2-00.loads
Firmware
P0S3-08-2-00.sb2
Firmware
RINGLIST.DAT
Liste des sonneries
SIP<MAC>.cnf
Configuration du téléphone
SIPDefault.cnf
Configuration SIP par défaut
XMLDefault.cnf.xml
Configuration du chargement du Firmware
dialplan.xml
Plan de communication, pour crée ses raccourcis
ringer/
répertoire des sonneries
Un petit tour sur le fonctionnement :
Lorsque le téléphone boot, il va récupérer une adresse IP, puis regarder sur le serveur tftp s'il existe un fichier OS79XX.TXT
Ce fichier indique la version du Firmware. Si celle ci est différente de la version qui existe, il va charger la nouvelle version.
Puis les fichiers de configuration seront chargés à chaque reboot.
Seuls les fichiers SIP<MACADRESS>.cnf, SIPDefault.cnf, XMLDefault.cnf.xml et dialplan.xml sont à modifier. Regardons de plus près :
Renommer SIP<MACADRESS>.cnf, avec la MAC-adress de votre téléphone. Ce fichier est la personnalisation de votre téléphone, (et oui vous pouvez avoir plusieurs téléphone, avec un serveur asterisk)
A l'intérieur de ce fichier on va paramétrer le téléphone pour qu'il puisse émettre et recevoir des appels.
Pour alimenter le fichier SIP<MACADRESS>.cnf, , vous devez connaitre :
Votre DN (Directory Number) en clair, votre N° de Téléphone SIP
Votre Mot de passe SIP
L'adresse du serveur SIP, soit freephonie.net
Votre adresse IP, que vous trouverez dans votre page de configuration Free, ou sur mire.ipadsl.net
# SIP Configuration Generic File (start) # Phone Label (Text desired to be displayed in upper right corner) # Ici vous pouvez personnaliser l affichage en haut a droite phone_label: "Cisco 7940G" ; Has no effect on SIP messaging
# Line 1 Settings FreePhonie line1_name: "VOTRENOLIGNE" ; Line 1 Extension\User ID line1_displayname: "VOTRENOLIGNE" ; Line 1 Display Name line1_shortname: "VOTRENOLIGNE" line1_authname: "VOTRENOLIGNE" ; Line 1 Registration Authentication line1_password: "VotreMdPSIPFreePhonie" ; Line 1 Registration Password
# Proxy Server proxy1_address: freephonie.net proxy1_port: 5060
# Emergency Proxy info #proxy_emergency: UNPROVISIONED #proxy_emergency_port: 5060
# Backup Proxy info proxy_backup: UNPROVISIONED proxy_backup_port: 5060
# Outbound Proxy info outbound_proxy: freephonie.net outbound_proxy_port: 5060
ATTENTION : si vous utilisez un firewall entre votre box et votre téléphone IP, pensez à ouvrir et redirigez les ports 5060, et la plage 16384 à 16384.
# Proxy Server proxy1_address: "" ; Can be dotted IP or FQDN proxy2_address: "" ; Can be dotted IP or FQDN proxy3_address: "" ; Can be dotted IP or FQDN proxy4_address: "" ; Can be dotted IP or FQDN proxy5_address: "" ; Can be dotted IP or FQDN proxy6_address: "" ; Can be dotted IP or FQDN
# Proxy Server Port (default - 5060) proxy1_port: 5060 proxy2_port: 5060 proxy3_port: 5060 proxy4_port: proxy5_port: proxy6_port:
# Time Server (There are multiple values and configurations refer to Admin Guide for Specifics)
# Ici on utilise un serveur de temps pour la date et l heure, avec passage heure ete et heure hiver automatique sntp_server: 80.74.64.2 ; SNTP Server IP Address sntp_mode: directedbroadcast ; unicast, multicast, anycast, or directedbroadcast (default) time_zone: CET ; Time Zone Phone is in dst_offset: 1 ; Offset from Phone's time when DST is in effect dst_start_month: March ; Month in which DST starts dst_start_day: "" ; Day of month in which DST starts dst_start_day_of_week: Sunday ; Day of week in which DST starts dst_start_week_of_month: 8 ; Week of month in which DST starts dst_start_time: 1 ; Time of day in which DST starts dst_stop_month: Oct ; Month in which DST stops dst_stop_day: "" ; Day of month in which DST stops dst_stop_day_of_week: Sunday ; Day of week in which DST stops dst_stop_week_of_month: 8 ; Week of month in which DST stops 8=last week of month dst_stop_time: 1 ; Time of day in which DST stops dst_auto_adjust: 1 ; Enable(1-Default)/Disable(0) DST automatic adjustment time_format_24hr: 1 ; Enable(1 - 24Hr Default)/Disable(0 - 12Hr)
# Do Not Disturb Control (0-off, 1-on, 2-off with no user control, 3-on with no user control) dnd_control: 0 ; Default 0 (Do Not Disturb feature is off)
# Caller ID Blocking (0-disbaled, 1-enabled, 2-disabled no user control, 3-enabled no user control) callerid_blocking: 0 ; Default 0 (Disable sending all calls as anonymous)
# Anonymous Call Blocking (0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no user control) anonymous_call_block: 0 ; Default 0 (Disable blocking of anonymous calls)
# Call Waiting (0-disabled, 1-enabled, 2-disabled with no user control, 3-enabled with no user control) call_waiting: 1 ; Default 1 (Call Waiting enabled)
# DTMF AVT Payload (Dynamic payload range for AVT tones - 96-127) dtmf_avt_payload: 101 ; Default 101
# Sync value of the phone used for remote reset sync: 1 ; Default 1
####### New Parameters added in Release 2.1 #######
# Backup Proxy Support proxy_backup: "" ; Dotted IP of Backup Proxy proxy_backup_port: "" ; Backup Proxy port (default is 5060)
# Emergency Proxy Support proxy_emergency: "" ; Dotted IP of Emergency Proxy proxy_emergency_port: "" ; Emergency Proxy port (default is 5060)
# Configurable VAD option enable_vad: 0 ; VAD setting 0-disable (Default), 1-enable
####### New Parameters added in Release 2.2 ######
# NAT/Firewall Traversal nat_enable: 1 ; 0-Disabled (default), 1-Enabled nat_address: "VOTREADRESSEIP" ; WAN IP address of NAT box (dotted IP or DNS A record only) voip_control_port: 5060 ; UDP port used for SIP messages (default - 5060) start_media_port: 16384 ; Start RTP range for media (default - 16384) end_media_port: 32766 ; End RTP range for media (default - 32766) nat_received_processing: 0 ; 0-Disabled (default), 1-Enabled
# Outbound Proxy Support outbound_proxy: "" ; restricted to dotted IP or DNS A record only outbound_proxy_port: 5060 ; default is 5060
####### New Parameter added in Release 3.0 #######
# Allow for the bridge on a 3way call to join remaining parties upon hangup cnf_join_enable : 1 ; 0-Disabled, 1-Enabled (default)
####### New Parameters added in Release 3.1 #######
# Allow Transfer to be completed while target phone is still ringing semi_attended_transfer: 1 ; 0-Disabled, 1-Enabled (default)
# Telnet Level (enable or disable the ability to telnet into the phone) telnet_level: 2 ; 0-Disabled (default), 1-Enabled, 2-Privileged
####### New Parameters added in Release 4.0 #######
# XML URLs services_url: "" ; URL for external Phone Services directory_url: "" ; URL for external Directory location logo_url: "" ; URL for branding logo to be used on phone display
# HTTP Proxy Support http_proxy_addr: "" ; Address of HTTP Proxy server http_proxy_port: 3128 ; Port of HTTP Proxy Server (80-default)
# Dynamic DNS/TFTP Support dyn_dns_addr_1: "" ; restricted to dotted IP dyn_dns_addr_2: "" ; restricted to dotted IP dyn_tftp_addr: "" ; restricted to dotted IP
# Remote Party ID remote_party_id: 0 ; 0-Disabled (default), 1-Enabled
####### New Parameters added in Release 4.4 #######
# Call Hold Ringback (0-off, 1-on, 2-off with no user control, 3-on with no user control) call_hold_ringback: 0 ; Default 0 (Call Hold Ringback feature is off)
####### New Parameters added in Release 6.0 #######