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

From Hackerspace ACKspace
Jump to: navigation, search
m (updated dialplan (more conformant))
(updated command reference)
Line 92: Line 92:
 
! scope="col" | code
 
! scope="col" | code
 
! scope="col" | function
 
! scope="col" | function
 +
! scope="col" | note
 
|-
 
|-
 
| ****
 
| ****
 
| configuration menu
 
| configuration menu
 +
|
 +
|-
 +
| 100
 +
| check DHCP
 +
|
 +
|-
 +
| 101
 +
| enable/disable DHCP
 +
| 1 to enable, 0 do disable; requires password if set
 
|-
 
|-
 
| 110#
 
| 110#
 
| say IP address
 
| 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
 +
|
 
|-
 
|-
| 732668#
+
| 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
 
| reboot
 +
| Hang up after "Option successful"
 +
|-
 +
| 877778 (usrrst)
 +
| user factory reset (all user settings)
 +
|
 
|-
 
|-
| ...
+
| 73738 (reset)
|  
+
| factory reset
 +
|
 
|}
 
|}
  

Revision as of 13:08, 3 January 2018

information

There are several ATA's laying in ACKspace

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

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