![Cisco Small Business SPA8800 Configuring Download Page 10](http://html.mh-extra.com/html/cisco/small-business-spa8800/small-business-spa8800_configuring_63548010.webp)
Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment
© 2009 Cisco Systems, Inc. All rights reserved.
Page 10 of 69
nat=yes
context=itsp1
;eof
Editing the /etc/asterisk/extensions.conf file
#
vim /etc/asterisk/extensions.conf
…
…
; SPA8800 Changes
;outbound dialing
[fxsgroup]
;
;
; dial 7 to explicitly use FXS3
exten => _7.,1,Dial(SIP/${EXTEN:1}@pstn3,60,r)
;
; dial
8 as a steering digit:
; if FXS2 is not available, FXS3 will be used.
; if FXS3 is not available, the user hears congestion
exten => _8.,1,Dial(SIP/${EXTEN:1}@pstn2,60,r)
exten => _8.,2,Dial(SIP/${EXTEN:1}@pstn3,60,r)
;
; dial 9 to explicitly use ITSP
exten => _9.,1,Dial(SIP/${EXTEN:1}@itsp1,30,r)
;
; r causes ringing for calling party but audio is not
; passed until called party answers call
; T allows caller to transfer with #
exten => 101,1,Dial(SIP/101,60,rT)
exten => 102,1,Dial(SIP/102,60,rT)
exten => 103,1,Dial(SIP/103,60,rT)
exten => 104,1,Dial(SIP/104,60,rT)
exten => 200,1,Dial(SIP/200,60,rT)
exten => 201,1,Dial(SIP/201,60,rT)
;
;inbound from PSTN
[pstn2]
; t allows called person to transfer with a #
exten => 101,1,Dial(SIP/101,60,rt)
[pstn3]
exten => 201,1,Dial(SIP/201,60,rt)
;inbound calls from ITSP
[itsp1]
exten => 3615551212,1,Answer
;enable ring group of extensions 101, 102, and 200
exten => 3615551212,2,Dial(SIP/101&SIP/102&SIP/200,25,rt)
exten => 3615551212,3,Hangup
;eof
…
…
Loading the Modified Configuration
1. Connect to the Asterisk console: