[Asterisk-Users] RE: AS5300+SIP+ASTERISK or AS5300+MGCP
jafar mohammed
sonztechnology at yahoo.com
Sun Apr 3 23:53:43 MST 2005
AS5300 setup
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2005.04.04 09:37:31
=~=~=~=~=~=~=~=~=~=~=~=
sh runn
Building configuration...
Current configuration : 11599 bytes
!
! Last configuration change at 03:26:25 GMT Mon Apr 4
2005 by charles
! NVRAM config last updated at 03:06:50 GMT Mon Apr 4
2005 by charles
!
version 12.3
service timestamps debug datetime localtime
show-timezone
service timestamps log datetime localtime
show-timezone
service password-encryption
!
hostname 66.178.100.66
!
boot-start-marker
boot-end-marker
!
!
!
resource-pool enable
--More-- !
resource-pool throttle 20 default
clock timezone GMT 3
clock calendar-valid
!
aaa new-model
!
!
aaa group server radius cdt-1
server 159.148.8.108 auth-port 2362 acct-port 2363
!
aaa group server radius cdt-2
server 62.85.77.82 auth-port 2362 acct-port 2363
!
aaa group server radius tsl
server 62.56.250.200 auth-port 1812 acct-port 1813
!
aaa authentication login h323 group radius
aaa accounting send stop-record authentication failure
aaa accounting connection h323 stop-only broadcast
group cdt-1 group cdt-2 group tsl
aaa nas port voip
aaa session-id common
--More-- ip subnet-zero
ip telnet source-interface FastEthernet0
ip name-server 66.178.100.68
!
!
!
trunk group mgcp
!
isdn switch-type primary-net5
!
voice rtp send-recv
!
voice service pots
!
voice service voip
cause-code legacy
h323
h225 timeout setup 8
session transport udp
sip
min-se 600
!
voice class codec 2
--More-- codec preference 1 gsmfr
!
!
voice class permanent 1
signal timing idle suppress-voice 5
signal timing oos suppress-all 30
signal timing oos timeout 120
!
!
voice class h323 1
h225 timeout tcp establish 30
h225 timeout connect 60
h225 timeout setup 30
call start fast
!
voice class h323 2
call start slow
!
voice class h323 1001
call start fast
!
voice class h323 10
!
--More-- !
voice class busyout 1
!
!
voice class dualtone-detect-params 1
!
!
!
!
!
fax interface-type modem
!
!
controller E1 0
clock source line primary
ds0-group 0 timeslots 1-15,17-31 type r2-digital
!
!
!
translation-rule 22
Rule 0 22254 254
!
!
!
interface Tunnel1
ip address 192.168.44.1 255.255.255.0
tunnel source Ethernet0
tunnel destination 217.21.95.9
!
interface Tunnel17
--More-- ip address 10.1.17.2 255.255.255.0
shutdown
tunnel source 212.165.147.254
tunnel destination 66.92.133.199
tunnel mode nos
!
interface Tunnel18
no ip address
!
interface Ethernet0
ip address 195.202.73.106 255.255.255.248
no ip mroute-cache
!
interface Serial0
no ip address
no ip mroute-cache
clockrate 2015232
no fair-queue
!
interface Serial1
no ip address
no ip mroute-cache
clockrate 2015232
--More-- no fair-queue
!
interface Serial2
no ip address
no ip mroute-cache
clockrate 2015232
no fair-queue
!
interface Serial3
no ip address
no ip mroute-cache
shutdown
clockrate 2015232
fair-queue 100 256 0
ip rtp priority 10000 10000 75
!
interface Serial2:15
no ip address
isdn switch-type primary-net5
no cdp enable
!
interface FastEthernet0
ip address 172.16.202.90 255.255.255.0 secondary
--More-- ip address 66.178.100.66
255.255.255.248
ip access-group 1 in
ip access-group 1 out
no ip mroute-cache
duplex auto
speed auto
h323-gateway voip interface
h323-gateway voip id gk0 ipaddr 216.52.153.203 1719
h323-gateway voip h323-id ngins
ip rtp priority 16384 16383 400
!
ip classless
ip route 0.0.0.0 0.0.0.0 66.178.100.65
no ip http server
!
!
no logging trap
access-list 101 permit ip any any
!
route-map VOIP permit 20
match ip address 101
!
route-map VOIP permit 100
--More-- !
!
radius-server attribute 44 include-in-access-req
radius-server host 159.148.8.108 auth-port 2362
acct-port 2363 key 7 065E582A585C51411F0317
radius-server host 62.85.77.82 auth-port 2362
acct-port 2363 key 7 014B510F4F195E573B584B
radius-server host 62.56.250.200 auth-port 1812
acct-port 1813 key 7 121500031F0E050A
radius-server retransmit 10
radius-server timeout 120
radius-server vsa send accounting
radius-server vsa send authentication
call threshold global total-calls low 60 high 90
busyout
!
call application voice kenya flash:kenya.tcl
!
call application voice kenya1 flash:kenya.tcl
!
!
voice-port 0:0
compand-type a-law
connection plar 9001
!
!
mgcp call-agent 62.56.250.198 2427 service-type mgcp
version 1.0
mgcp dtmf-relay voip codec all mode out-of-band
mgcp restart-delay 2
mgcp codec g711ulaw packetization-period 10
mgcp package-capability dtmf-package
mgcp package-capability line-package
mgcp package-capability rtp-package
mgcp package-capability nas-package
mgcp package-capability script-package
mgcp sdp simple
--More-- no mgcp validate domain-name
mgcp endpoint offset
mgcp bind control source-interface FastEthernet0
mgcp bind media source-interface FastEthernet0
mgcp behavior signals v0.1
!
mgcp profile default
!
dial-peer cor custom
!
!
!
!
dial-peer voice 271 pots
permission orig
huntstop
application session
!
dial-peer voice 272 voip
destination-pattern 9002
!
dial-peer voice 273 pots
application session
!
dial-peer voice 270 voip
max-conn 10
incoming called-number 9002
destination-pattern 9001
progress_ind connect enable 8
signaling forward unconditional
--More-- voice-class sip rel1xx disable
max-redirects 10
session protocol sipv2
session target ipv4:62.56.250.198
session transport udp
codec gsmfr
!
dial-peer voice 280 pots
destination-pattern 9005
port 0:0
!
gateway
resource threshold high 90 low 70
!
sip-ua
srv version 1
retry invite 1
retry bye 1
retry rel1xx 1
timers trying 1000
timers connect 1000
timers disconnect 1000
timers hold 15
sip-server ipv4:62.56.250.198
!
banner login ^C^C
alias exec va sh call act v br
alias exec vh sh call his v br
alias exec ether sh interface fastethernet0
alias exec cont sh contr e1
alias exec voip sh voip rtp conn
alias exec port sh vo port summ
!
line con 0
line aux 0
line vty 0 4
session-timeout 15
exec-timeout 240 0
password 7 045C1C535C711C1F
line vty 5
password 7 083245431C4955
line vty 6 999
password 7 10491E4C5647425A
!
ntp clock-period 17179619
ntp server 66.187.224.4
end
SIP config file
[general]
context=SIPCalls ; Default
context for incoming calls
;recordhistory=yes ; Record SIP history
by default
; (see sip history /
sip no history)
;realm=mydomain.tld ; Realm for digest
authentication
; defaults to
"asterisk"
; Realms MUST be
globally unique according to RFC 3261
; Set this to your
host name or domain name
port=5060 ; UDP Port to bind to
(SIP standard port is 5060)
bindaddr=0.0.0.0 ; IP address to bind
to (0.0.0.0 binds to all)
srvlookup=no ; Enable DNS SRV
lookups on outbound calls
; Note: Asterisk only
uses the first host
; in SRV records
; Disabling DNS SRV
lookups disables the
; ability to place SIP
calls based on domain
; names to some other
SIP users on the Internet
pedantic=yes ; Enable slow,
pedantic checking for Pingtel
; and multiline
formatted headers for strict
; SIP compatibility
(defaults to "no")
tos=184 ; Set IP QoS to either
a keyword or numeric val
tos=lowdelay ;
lowdelay,throughput,reliability,mincost,none
maxexpirey=3600 ; Max length of incoming
registration we allow
defaultexpirey=120 ; Default length of
incoming/outoing registration
notifymimetype=text/plain ; Allow overriding of
mime type in MWI NOTIFY
;videosupport=yes ; Turn on support for
SIP video
disallow=all ; First disallow all
codecs
allow=gsm
allow=ulaw
allow=alaw
[66.178.100.66]
type=user
context=AS5300
defaultip=66.178.100.66
nat=yes
dtmfmode=rfc2833
canreinvite=no
__________________________________
Do you Yahoo!?
Yahoo! Personals - Better first dates. More second dates.
http://personals.yahoo.com
More information about the asterisk-users
mailing list