[Asterisk-Users] Cisco IAD with MGCP
Juan J. Sierralta P.
juanjo at atmlab.utfsm.cl
Wed Dec 3 08:23:26 MST 2003
I repost a message I put a week ago:
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 ?
Also I recently noted the following message at * logs:
Nov 21 13:06:58 NOTICE[8201]: File chan_mgcp.c, Line 1099
(find_subchannel): Gateway '192.168.65.200' (and thus its endpoint '*')
does not exist
But as you can see at mgcp.conf the gateway is defined !
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