Tagliamo la testa al toro:
START UP VGW ATA Grandstream HT503
1) Link origine riferimenti per installazione:
http://www.trixbox.org/forums/vendor-mo ... 8-fxo-port
2) Configurazione sulla MDbox:
- Aggiungere un TRUNK SIP:
Maximum channels: 1 (PARAMETRO IMPORTANTE per i GW FXO)
Trunk Name:
PEER DETAILS:
canreinvite=no
context=from-pstn
dtmfmode=rfc2833
host=dynamic
qualify=yes
secret=
type=friend
- Utilizzare questo trunk nelle rotte in uscita secondo necessità
- Creare una inbound route che “catturi” il numero PSTN gestito dalla FXO del HT503 e lo indirizzi dove desiderato
3) IMPOSTAZIONI SULL’ HT503
- BASIC SETTINGS:
End User Password: vuoto
Web Port: 80
Telnet Server: Yes
IP Address: statico, maschera, Router, DNS
TimeZone: +1 Rome
Device Mode: Bridge
Uconditional C. Forward to VOIP: @:5060
- ADVANCED SETTINGS:
Admin Password:
Always Skip the Firmware Check
System Ring Cadence: c=2000/4000
Dial Tone: f1=425@-14,f2=425@-14,c=200/200-600/1000;
Ringback Tone: f1=440@-19,f2=480@-19,c=2000/4000;
Busy Tone: f1=480@-24,f2=620@-24,c=500/500;
Reorder Tone: f1=480@-24,f2=620@-24,c=250/250;
Confirmation Tone: f1=350@-11,f2=440@-11,c=100/100-100/100-100/100;
Call Waiting Tone: f1=440@-13,c=300/10000-300/10000-0/0;
- FXS Port:
Account active: yes
SIP Server:
Outbound Proxy:
SIP Transport: UDP
NAT: No
SIP USerID: Extension della MDbox associate al telefono FXS
Local SIP Port: 5060
Local RTP Port: 5004
DTMF via RFC2833: yes (unica opzione da mettere yes per DTMF)
Dial Plan Prefix: impostare se ad esempio serve per il fax a forzare l'uscita verso la PSTN (Es: 14400)
Dial Plan per permettere di usare i codici con asterisco o doppio asterisco in testa:
{ *x+ | **x+ | x+ }
ATTENZIONE: per far sfogare direttamente su linea PSTN (molto utile per usare coi FAX)
determinate numerazioni composte dalla FXO bisogna inserire la stringa L:
Esempio: {L: 0x+ | *x+ | **x+ | x+ } mette direttamente sulla PSTN tutti i numeri che iniziano per 0
Esempio: {L: x+ | *x+ | **x+ | x+ } mette direttamente sulla PSTN tutti i numeri composti indifferentemente
Preferred Vocoder: 1
CMA – 2
CMU – e così via alternati tra soli questi due così da usare solo PCMA e U
Fax Mode: Pass-Through
Fax Tone Detection Mode: Callee
- FXO PORT:
Account active: yes
SIP Server:
Outbound Proxy:
SIP Transport: UDP
NAT: No
SIP USerID: (impostato sopra sulla MDbox)
Authenticate ID:
Authenticate Password:
Local SIP Port: 5061
Local RTP Port: 5012
DTMF via RFC2833: yes (unica opzione da mettere yes per DTMF)
INVITE Ring-No-Answer Timeout (sec): 100
Preferred Vocoder: 1
CMA – 2
CMU – e così via alternati tra soli questi due
Fax Mode: Pass-Through
Fax Tone Detection Mode: Callee
Caller ID Scheme: Bellcore/Telcordia
FSK Caller ID Minimum RX Level: -30
Caller ID Transport Type: Relay via SIP From
PSTN Disconnect Tone: f1=425@-24,f2=425@-24,c=200/200;
AC Termination Model: Impedence Based (solitamente 600 ohms)
Number of Rings: 2
PSTN Ring Thru FXS: No
Wait for Dial-Tone: Yes/No (provare)
Stage Method (1/2): 1