Addpac 200 with Asterisk


Niels - March 12, 2006
Heads up!    This post was written 15 years ago.

After telling you how to turn a Pilmo Voicefinder into an Addpac 200 I noticed some people are looking for an actual configuration example. Some fragments might not be needed in your setup.

The Addpac 200 configuration:

version 8.12
!hostname AP200
!no ip-share enable
ip-share interface net-side ether0.0 ip-share interface local-side ether1.0
!interface ether0.0ip address 192.168.1.3 255.255.255.0
description eth0
!interface ether1.0
no ip address
ip dhcp-group 0
!snmp community 192.168.1.8 public rosnmp 
name AP200A
!no arp reset
!route 0.0.0.0 0.0.0.0 192.168.1.1
!dnshost  domain peen.net
dnshost  nameserver 192.168.1.2
!service snmpd
!user add niels somepassword admin
!! VoIP configuration.
!! Voice service voip configuration.
!voice service voipfax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
announcement language english
busyout monitor gatekeeper
busyout monitor voip-interface
!! Voice port configuration.
!voice-port 0/0
! FXSinput gain -3
output gain -3
caller-id enable
caller-id type etsi-dtmf-prior-ring
!! Pots peer configuration.
!dial-peer voice 0 pots
destination-pattern 1000
port 0/0
user-password asteriskpassword
!! Voip peer configuration.
!dial-peer voice 1000 voip
destination-pattern T
session target sip-server
session protocol sip
answer-address 1000
codec g711ulaw
dtmf-relay rtp-2833
no vad
!! Gateway configuration.
!gatewayh323-id voip.192.168.1.3
public-ip 192.168.1.3
!! SIP UA configuration.
!sip-uasip-server 192.168.1.35
timeout treg
try 10
!! MGCP configuration.
!mgcpepid-type
codec  g711ula
!! Tones
!voip-interface ether0.0

The Asterisk part (sip.conf):

[1000]
type=friend
secret=asteriskpassword
host=dynamic
dtmfmode=rfc2833
username=1000
canreinvite=no
disallow=all
allow=ulaw
qualify=yes
context=default
callerid=Addpac handset <1000>