Asterisk phone SPA-2000
Created by: Exomorph,Last modification on Fri 23 of Mar, 2007 [16:06 UTC] by echamberlain
Excellent article on configuring Sipura SPA-2000 for Asterisk is found on:
type=friend
secret=sipura
host=dynamic
context=default
reinvite=no
canreinvite=no
disallow=all
allow=alaw
Asterisk | Asterisk Configuration | Channel Configuration | Configuration for Specific Phones
- Sample Config.
type=friend
secret=sipura
host=dynamic
context=default
reinvite=no
canreinvite=no
disallow=all
allow=alaw
Message Waiting Indicator (MWI)
By default the Sipura does a 1/2 ring whenever it registers and the message waiting indicator MWI is on. You can control the frequency of this chirp by setting the registration interval in the Sipura's configuration for that phone. There are also configuration settings for controlling how the Sipura handles MWI (ring length, etc). You can turn this chirp off by going to the Voice -> User1 menu and scrolling to the bottom, change the MWI or VMWI setting to 0 — it will no longer chirp at re-registrations. See also: Asterisk sip mailboxMusic On Hold (MOH) Server
Asterisk can be a "music on hold server" for the Sipura ATAs, and it is quite easy to setup.- First, do the normal Asterisk music on hold configuration. Here is an example line for a musiconhold.conf file:
random => quietmp3:/usr/share/asterisk/mohmp3,-z
- Next, add an extension in your dialplan which just invokes the Asterisk MusicOnHold command to play hold music. The Sipura ATAs will then "call" that extension for hold music when you put a caller on hold or do a non-blind transfer. Here is an example:
exten => 899,1,MusicOnHold(random)
- Finally, configure the "MOH Server" field of each Line on the Sipura ATA. If the ATA is already registered with your Asterisk server as its "Proxy", then you can just put the extension number/name in the "MOH Server" field. For the example above, just put 899 in the field. You can also use an extension@host.name syntax for a different host.
See Also
Asterisk | Asterisk Configuration | Channel Configuration | Configuration for Specific Phones
Comments
333Re: ADT alarm systems through Asterisk
FYI. If you want to not keep your pots lines, uControl (http://www.ucontrol.com) will attach to an exisiting security system and work over your broadband connection (plus add some other features).
333SIPURA Stopping Register Twirp
From the Voice -> User1 / User2 menu, go down to the bottom and change:
'VMWI Ring Splash Len' value to 0.
333ADT alarm systems through Asterisk
Echo cancelation OFF
DTMF = inband
use ulaw ONLY
Use preferred codec only
I believe that DTMF is the trick that really makes it work.
333One way Sound
bindaddr = ipaddresstoasteriskserver
setup in sip.conf along with nat=0 canreinvite=no
you'll have issue on line 1 where you can hear audio but you can send out audio .
Versions prior to 1.0.15 where able to work around this but after the new updates it seems 1.0.24 requires you have this but i think its good to have this setup.
333remember your nat options
101
type=friend
username=101
secret=a_real_password
host=dynamic
;host=192.168.3.14
;qualify=no
context=trusted
nat=0