[Asterisk-Users] MGCP with Cisco GW
Juan J. Sierralta P.
juanjo at atmlab.utfsm.cl
Fri Nov 21 09:23:00 MST 2003
Hi,
I have a Cisco IAD 2431 which has MGCP protocol; I cannot make it to
work againts Asterisk; at least there is some MGCP conversation between
them but when I offhook a phone attached to IAD I get no tone at all.
As anybody managed to get working Asterisk against an MGCP Cisco
gateway ?
Which MGCP version should I use ?
TIA
Attached are the configs:
Cisco
------
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 192.168.65.200
!
logging queue-limit 100
enable secret
enable password
!
ip subnet-zero
!
!
no ip domain lookup
!
isdn switch-type primary-net5
!
!
voice call carrier capacity active
!
voice service pots
!
voice service voip
!
voice class codec 10
codec preference 1 gsmfr
codec preference 2 g711alaw
!
!
!
!
!
!
!
no voice hpi capture buffer
no voice hpi capture destination
!
!
mta receive maximum-recipients 0
!
!
controller T1 1/0
shutdown
framing esf
linecode b8zs
!
!
!
interface FastEthernet0/0
ip address 192.168.65.200 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.65.1
!
!
!
dialer-list 1 protocol ip permit
!
!
call rsvp-sync
!
voice-port 2/0
no vad
timing hookflash-in 750
!
voice-port 2/1
no vad
timing hookflash-in 750
!
voice-port 2/2
no vad
timing hookflash-in 750
!
voice-port 2/3
no vad
timing hookflash-in 750
!
voice-port 2/4
!
voice-port 2/5
!
voice-port 2/6
!
voice-port 2/7
!
voice-port 2/8
!
voice-port 2/9
!
voice-port 2/10
!
voice-port 2/11
!
voice-port 2/12
!
voice-port 2/13
!
voice-port 2/14
!
voice-port 2/15
!
mgcp
mgcp call-agent 192.168.65.100 service-type mgcp version 1.0
mgcp package-capability rtp-package
mgcp default-package dtmf-package
no mgcp timer receive-rtcp
no mgcp validate domain-name
mgcp bind control source-interface FastEthernet0/0
!
mgcp profile default
!
dial-peer cor custom
!
!
!
dial-peer voice 2 pots
application mgcpapp
port 2/1
!
dial-peer voice 3 pots
application mgcpapp
port 2/2
!
dial-peer voice 4 pots
application mgcpapp
port 2/3
!
dial-peer voice 1 pots
application mgcpapp
port 2/0
!
!
line con 0
line aux 0
line vty 0 4
password
login
!
end
mgcp.conf
----------
;
; MGCP Configuration for Asterisk
;
[general]
port = 2727
bindaddr = 0.0.0.0
[192.168.65.200]
host = 192.168.65.200
context = local
line = aaln/S2/0
line = aaln/S2/1
line = aaln/S2/2
line = aaln/S2/3
--
Juanjo sin .sig
More information about the asterisk-users
mailing list