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

From Hackerspace ACKspace
Jump to: navigation, search
(added call progress tones)
m (updated dialplan (more conformant))
Line 4: Line 4:
 
= Sipura / Linksys =
 
= Sipura / Linksys =
 
== current dialplan ==
 
== current dialplan ==
(0x.|10xx|112|116xxx|12xx|13xx|14x.|15x.|16xx|17x.|18x.|19xx|2222|2x.|[3-8]x.|9<:@gw1>S0)
+
This dialplan is not complete but serves most numbers. To have a (pulse) phone dial 206 automatically after the first timeout, add <code>|&lt;:206&gt;</code> 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)
 
A general Sipura dial plan looks like (assume the numbers are subscripts)
 
 
 
  (<a1:b1>c1<:@gwX1>|<a2:b2>c2<:@gwX2>|...)
 
  (<a1:b1>c1<:@gwX1>|<a2:b2>c2<:@gwX2>|...)
  

Revision as of 09:39, 10 June 2017

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
**** configuration menu
110# say IP address
732668# reboot
...

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