![Cisco Small Business SPA8800 Configuring Download Page 8](http://html.mh-extra.com/html/cisco/small-business-spa8800/small-business-spa8800_configuring_63548008.webp)
Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment
© 2009 Cisco Systems, Inc. All rights reserved.
Page 8 of 69
Configuring the Asterisk Server
Once you have gathered all of the basic information, you can begin configuring the Asterisk server.
Editing the /etc/asterisk/sip.conf file
#
vim /etc/asterisk/sip.conf
[general]
…
…
;register =>
<DID>
@
<ITSP>
:
<password>
:
<DID>
@
<ITSP>
/101
register =>
[email protected]:mypassword:[email protected]/101
…
…
;
;SPA8800 Changes
;define SPA8800 analog phone 1 extension 101
[101]
type=friend
username=101
secret=101
qualify=yes
nat=no
host=dynamic
canreinvite=no
context=fxsgroup
regext=101
;
;define SPA8800 analog phone 2 extension 102
[102]
type=friend
username=102
secret=102
qualify=yes
nat=no
host=dynamic
canreinvite=no
context=fxsgroup
regext=102
;
;define SPA8800 analog phone 3 extension 103
[103]
type=friend
username=103
secret=103
qualify=yes
nat=no
host=dynamic