Setup the SPA-3000 for outgoing VoIP calls with Asterisk

There are lots of configuration settings for the SPA-3000, but I think the following are the major ones which need to be set. Using the advanced web menu configuration:In the Line 1 tab:

Line Enable: Yes
Proxy:
Register: Yes
User ID: spa3000
Password: foo
Dial Plan: (9#x.|91747xxxxxxx|000S0<:@gw0>|106S0<:@gw0>|1[38]xxxxxxxxS0<:@gw0>|13[1-9]xxxS0<:@gw0>|1[9]xxxxxxxxS0<:@gw0>|0[23478]xxxxxxxxS0|[2-9]xxxxxxxS0|001xxxx.S5|xxx.<:@gw0>|*xx.|<*,:>xx.|<#,:><:@gw0>)


The dial plan syntax for the SPA-3000 is in the documentation. The dial plan above is pretty much the Internode recommended dial plan for their VoIP service with a couple of additions to access services on Asterisk and to use Sipphone as the VoIP provider. The extras at the front allow for calls starting with 9# and 91747 to be passed to asterisk for the purpose of accessing voicemail functionality and making SipPhone calls respectively. The 9 prefix is bad if valid phone numbers can start with 9 where you are. If you change it you'll need to make corresponding changes in the local_phone section of extensions.conf.

In the PSTN Line tab:
Line Enable: Yes
Proxy:
Register: Yes
User ID: pstn
Password: foo
Dial Plan 2: (S0<:192.168.1.1>)
PSTN-To-VoIP Gateway Enable: Yes
PSTN Ring Thru Line 1: Yes
PSTN CID For VoIP CID: Yes
PSTN Caller Default DP: 2


readmore:http://ozlabs.org/~cyeoh/asterisk/ 

Related post



Newer Post Older Post

0 comments:

Post a Comment

 

Wiki Voip And Fax Tutorials Copyright © 2010 Labloub