login | register
Sat 30 of Aug, 2008 [01:24 UTC]

voip-info.org

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:


  • Sample Config.
[sipura]
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 mailbox

Music 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.
You may need to reload/restart Asterisk for the changes to take effect, especially if you mess with your MOH sound files. You don't need to modify the sip.conf file at all, and I can't figure out what the musicclass variable in that file is for.

See Also


Asterisk | Asterisk Configuration | Channel Configuration | Configuration for Specific Phones

Comments

Comments Filter
222

333Re: ADT alarm systems through Asterisk

by elliott3232, Wednesday 03 of January, 2007 [19:10:11 UTC]
> The ADT alarm system at my company required a few phone lines.

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).
222

333SIPURA Stopping Register Twirp

by rezox, Saturday 10 of September, 2005 [23:20:27 UTC]
By default, SIPURA FXS's (like 2100) twirp when they register with the PBX. This can become very annoying but can be easily turned off.

From the Voice -> User1 / User2 menu, go down to the bottom and change:

'VMWI Ring Splash Len' value to 0.


222

333ADT alarm systems through Asterisk

by , Thursday 20 of January, 2005 [00:35:05 UTC]
The ADT alarm system at my company required a few phone lines. While it's best to use REAL phone lines because they come with a battery and keep you secure during a power outage, this is an interesting stopgap. It doesn't make a modem connection, instead is dials a number and after connecting, dials a feature code to the reciepient toll free number. It dials these codes quickly and so the configuration must use DTMF of inband.

Echo cancelation OFF
DTMF = inband
use ulaw ONLY
Use preferred codec only

I believe that DTMF is the trick that really makes it work.
222

333One way Sound

by fgravato, Tuesday 27 of January, 2004 [15:58:48 UTC]
Had an issue with latest version of the 1.0.20-24 firmware if you don't have the
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.


222

333remember your nat options

by AndrewKT, Monday 12 of January, 2004 [15:51:25 UTC]
I was unable to make my SPA-2000 register without adding "nat=0" to sip.conf, so make sure you don't leave that one off. My sip entry:

101
type=friend
username=101
secret=a_real_password
host=dynamic
;host=192.168.3.14
;qualify=no
context=trusted
nat=0