Difference between revisions of "Telephone system:Analog Telephone Adapter"

From Hackerspace ACKspace
Jump to: navigation, search
m (ATAs were taken home by ~~~: updated location and fuse group)
(Added Grandstream ATA, fixed headings)
 
(One intermediate revision by the same user not shown)
Line 205: Line 205:
 
* '''<abbr title="0.1s ON, 0.1s OFF, 0.1s ON, 0.1s OFF, 0.1s ON, 0.3s OFF, 0.3s ON, 0.3s OFF, 0.3s ON, 0.3s OFF, 0.1s ON, 0.1s OFF, 0.1s ON, 0.1s OFF, 0.1sON, 2s OFF continuous">SOS - short, short, short, long, long, short, short, short, off for two seconds</abbr>''': Firmware is in recovery mode
 
* '''<abbr title="0.1s ON, 0.1s OFF, 0.1s ON, 0.1s OFF, 0.1s ON, 0.3s OFF, 0.3s ON, 0.3s OFF, 0.3s ON, 0.3s OFF, 0.1s ON, 0.1s OFF, 0.1s ON, 0.1s OFF, 0.1sON, 2s OFF continuous">SOS - short, short, short, long, long, short, short, short, off for two seconds</abbr>''': Firmware is in recovery mode
  
== Fritz!box 7170 ==
+
= Fritz!box 7170 =
 
* adsl internet routing or network routing on ethernet port 1
 
* adsl internet routing or network routing on ethernet port 1
 
* 1x <abbr title="Foreign exchange Office">FxO</abbr>
 
* 1x <abbr title="Foreign exchange Office">FxO</abbr>
Line 216: Line 216:
 
Also see: [[Fritz!Box]]
 
Also see: [[Fritz!Box]]
  
== Cisco ATA 186 ==
+
= Cisco ATA 186 =
 
* 2 port ATA
 
* 2 port ATA
 
* 5V 2A barrel jack (5.5&times;2.1) input
 
* 5V 2A barrel jack (5.5&times;2.1) input
Line 232: Line 232:
 
Apparently, using the IP address of the TFTP server with port 69 should also trigger an update ([[User:Xopr|xopr]] used the tool with invalid firmware and upgrading started automatically with the correct firmware).
 
Apparently, using the IP address of the TFTP server with port 69 should also trigger an update ([[User:Xopr|xopr]] used the tool with invalid firmware and upgrading started automatically with the correct firmware).
  
Note: a great addition of this device is a PoE splitter to 5V barrel jack
+
{{PoE
 +
|Barrel_plug=unknown
 +
|Barrel_voltage=5V
 +
|802:3af_straight=no
 +
|802:3af_crosslink=no
 +
|Legacy_straight=no
 +
|Legacy_crosslink=no
 +
|Compatible_straight=no
 +
|Compatible_crosslink=no
 +
|Unifi_straight=no
 +
|Unifi_crosslink=no
 +
|Note=a great addition of this device is a PoE splitter to 5V barrel jack
 +
}}
  
 +
= Grandstream HT802 =
 +
* 2 port ATA
 +
* 5V 2A micro USB connector
 +
* 100BaseT ethernet
 +
* Pulse dialing support (enable setting)
  
 +
To go to configurations menu, pickup handset from any port press {{k|*}}{{k|*}}{{k|*}}
 +
Get the IP address by pressing {{k|*}} again.
  
 
[[Category:Telephony]]
 
[[Category:Telephony]]

Latest revision as of 20:11, 31 March 2024

information

There is some ATA information available (devices are currently at xopr's; ask him if you want to experiment).

Sipura / Linksys

current dialplan

This dialplan is not complete but serves most numbers. To have a (pulse) phone dial 206 automatically after the first timeout, add |<:206> near the end. Note that the odd ones are 5000 and 2xx, and that some numbers are not yet added.

(1[01579]xS0|1[23]xxS0|5000S0|2xxS0|00x.|0[1234567]xxxxxxxxS0|088xxxxxxxS0|0800xxxx.|090[069]xxxx.|9xx.)

A general Sipura dial plan looks like (assume the numbers are subscripts)

(<a1:b1>c1<:@gwX1>|<a2:b2>c2<:@gwX2>|...)


char description
<a:b> optional substitution; replace a with b (to remove, remove b, to prefix, remove a)
<0:0031> replace 0 with 0031
<:003145> prefix 003145 to the number
<9:> remove initial 9
<9,:> remove initial 9 and present different dial tone
c These characters can be:
* means the star (asterisk) key
# means the pound (hash) key
x means a single digit (0 through 9)
[x-y] means any digits x through y.
[xy] means the digits x and y (can put any number of digits here)
. means repeat the previously listed digit type zero or more times. For example x. means "zero or more digits," xx. means "one or more digits."
<:@gwX> Optional, (SPA-3000 only): dial out using the defined gateway
<:@gw0> dial out using the PSTN port
<:@gw1> dial out using gateway 1
S0 is usually used at the end of a dial plan string that says "immediately dial when matched." Used for things like emergency numbers.
! is used at the end of the dial plan and it means "immediately reject the number dialed." Used to block, say, paid service numbers.


Examples

immediately dial extension 1000 when the phone is offhook

(<:1000>S0)

regional settings

since ACKspace is located in the Netherlands, tones have to be adjusted, but since Dutch are cheap, there is only one frequency to work with: 425Hz.

call progress tones

  • Dial tone: continuous; 425@-10;10(*/0/1)
  • Busy tone: 0.5s on, 0.5s off; 425@-10;10(0.5/0.5/1)
  • Reorder tone: same as busy
  • Congestion (couldn't find it): 0.25s on, 0.25s off; 425@-10;10(0.25/0.25/1)
  • Off hook warning: same as congestion
  • Ring back tone: 1s on, 4s off; 425@-10;10(1/4/1)
  • SIT(1-4) tone: 0.33s each, 950Hz, 1400Hz, 1800Hz; 950@-10,1400@-10,1800@-10;10(0.33/0/1,0.33/0/2,0.33/1/3)
  • Cfwd Dial Tone: 0.5s on, 0.05s off; 425@-10;10(0.5/0.05/1)
  • Holding tone: 0.5s on, 9.5s off; 425@-20;10(0.5/9.5/1)

command reference

code function note
**** configuration menu
100 check DHCP
101 enable/disable DHCP 1 to enable, 0 do disable; requires password if set
110# say IP address
111 set static IP address use '*' for the points; requires password if set
120 check network mask
121 set network mask use '*' for the points; requires password if set
130 check gateway IP
131 set static gateway IP use '*' for the points; requires password if set
140 check MAC address
150 check firmware version
160 check primary DNS IP
161 set primary DNS IP use '*' for the points; requires password if set
170 check webserver port
7932 (sweb) enable/disable web server 1 = enable, 0 = disable; requires password if set
732668 (reboot) reboot Hang up after "Option successful"
877778 (usrrst) user factory reset (all user settings)
73738 (reset) factory reset

Linksys PAP2T

2x FxS

connecting the Linksys PAP2T

The following settiings are needed:

  • TBD

Sipura SPA3000

1x FxS, 1x FxO

connecting the Sipura SPA3000

Under Admin Login » Advanced » Line 1, the following settings are needed:

  • SIP Port: <make sure this port does not conflict with other SIP devices behind the same NAT>
  • Proxy: ackspace.nl
  • Register Expires: 110
  • Use DNS SRV: yes1
  • DNS SRV Auto Prefix: yes1
  • Display Name: <anything>
  • User ID: <username>
  • Password: <password>
  • Dial Plan: (1[01579]xS0|1[23]xxS0|5000S0|2xxS0|00x.|0[1234567]xxxxxxxxS0|088xxxxxxxS0|0800xxxx.|090[069]xxxx.)

1) or use: Use Outbound Proxy: yes and Outbound Proxy: sip.ackspace.nl

blinking LED

When you don't have a dial tone (and no touchtone phone available, you might want to look at the status LED). Link Error might occur with a bad cable and Error 1 when DHCP is not available.

  • Slow Blinking: System Initialization; only happens when the SPA boots-up, the time could be as long as 10 seconds (hardware reboot) to two seconds (warm reboot); Firmware downloading, Looking for DHCP
  • Fast Blinking: Writing firmware to flash
  • Heartbeat 2 - short, short, short, off for 1.2 seconds: Firmware load
  • Link Error - long, short, short, off for two seconds: No Ethernet link detected
  • Error 1 - short, short, long, off for two seconds: Device is using backup IP or the last known good IP. This feature is only in v2.0 and other succeeding versions
  • Error 2 - short, short, long, long, off for two seconds: A duplicate IP is detected
  • SOS - short, short, short, long, long, short, short, short, off for two seconds: Firmware is in recovery mode

Fritz!box 7170

  • adsl internet routing or network routing on ethernet port 1
  • 1x FxO
  • 3x FxS with pulse dialing support
  • 1x S0 (S/T) bus

factory reset:

#991*15901590*

Also see: Fritz!Box

Cisco ATA 186

  • 2 port ATA
  • 5V 2A barrel jack (5.5×2.1) input
  • 10BaseT ethernet
  • Tone dialing only
  • binary config format (uses ptag.dat descriptor file)
  • upgrade via proprietary (windows command line/wine) tool or via TFTP server

To go to configurations menu, pickup handset from port 1 and press the red light button on the ATA.

To factory reset, go to configurations menu and type FACTRESET#* (322873738#*

To upgrade via proprietary tool, run the tool and the instructions will state, go to configurations menu and type 100#192*168*2*38*8000# (where 192*168*2*38*8000 is the IP adress and port number of the PC running the tool.

Apparently, using the IP address of the TFTP server with port 69 should also trigger an update (xopr used the tool with invalid firmware and upgrading started automatically with the correct firmware).


Power (over Ethernet) compatibility:
barrel plug: unknown 5V

straight crosslink
802.3af no no
legacy no no
compatible no no
Unifi no no

Note: a great addition of this device is a PoE splitter to 5V barrel jack

Grandstream HT802

  • 2 port ATA
  • 5V 2A micro USB connector
  • 100BaseT ethernet
  • Pulse dialing support (enable setting)

To go to configurations menu, pickup handset from any port press *** Get the IP address by pressing * again.