Wednesday, February 14, 2007

Asterisk + VP-1000 + Cisco IP 7960

I got Windows server, Fletsphones and Cisco phones, and I got account on Voipbuster with free calls to Japan and other countries. Why can't I make free calls from these phones? So here is my try at Asterisk.

1. Install Trixbox (formerly Asterisk@Home)
Since Trixbox is CentOS based, and I don't have a free machine, I took a VMware image found here, (See "Introducing A Plug-And-Play Asterisk PBX for Windows") and run it on top of a Windows server via VWware Player. Note: set the VMware player to use NAT and DHCP.

2. Setup Asterisk to use Voipbuster account as outgoing trunk
Open freePBX interface of Trixbox, then click on "Trunks" menu. Make a little tweak to "SIP/voipdiscount" trunk just for quick test as follows:

PEER details:
allow=ulaw&alaw
authuser=asiboro
disallow=all
fromdomain=voipbuster.com
fromuser=<username>
host=sip.voipbuster.com
insecure=very
nat=yes
qualify=yes
secret=<password>
type=peer
username=<username>

Register string
<username>:<password>@sip.voipbuster.com


Adjust dialplan strings on both "Trunk" and "Outbound Routes".


3. Setup VP-1000
Setup VP-1000 to use Asterisk as SIP proxy/registrar. For example, use the pre-set number 500 (password 1234). Then VP-1000 can dial to whatever number allowed by dialplan via Voipbuster.



4. Setup Cisco IP Phone 7960
This is a bit not straightforward, since 7960 is shipped with SCCP ("Skinny" protocol) firmware by default, and this one is no exception. Though some people say that Asterisk can support Skinny protocol, it's a lot easier if the firmware is replaced with SIP firmware. So I replaced SCCP to SIP and the rest is like setting any SIP user agent.

No comments: