Asterisk as Call Manager

Hi there,

I have a Cisco 1760 Modular Access Router with 2 FXS Ports.

Now I want Asterisk to work as their CallManager instead of the Cisco one.
Asterisk should use MGCP for this. Is this possible or can I just use SIP or H.323?

Asterisk has very very limited mgcp support. You would be better off using SIP.

I know that it does.

The matter is to set up mgcp-funtionality in a laboratory. Afterwards calls between different session-protocols should be analyzed. I already set up SIP, IAX and H.323 endpoints. Now I want to have a MGCP one.

Any support would be very helpfull.

Maybe I should report my current config:

Gateway-Configuration:

Current configuration : 1177 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname MG2analog
!
!
ip subnet-zero
!
!
ip domain list asterisk1.local
ip name-server 192.168.1.1
!
mta receive maximum-recipients 0
!
!
!
interface FastEthernet0/0
 ip address 192.168.1.145 255.255.255.0
 speed auto
!
ip classless
no ip http server
!
!
!
call rsvp-sync
!
voice-port 2/0
 cptone DE
 impedance complex2
 bearer-cap Speech
!
voice-port 2/1
 cptone DE
 impedance complex2
 bearer-cap Speech
!
mgcp
mgcp call-agent 192.168.1.1 service-type mgcp version 1.0
mgcp codec g711alaw packetization-period 10
!
mgcp profile default
!
dial-peer cor custom
!
!
!
dial-peer voice 412 pots
 application mgcpapp
 destination-pattern 412
 direct-inward-dial
 port 2/1
!
dial-peer voice 41 voip
 application mgcpapp
 destination-pattern 0T
 session target ipv4:192.168.1.1
 codec g711alaw
!
dial-peer voice 411 pots
 application mgcpapp
 destination-pattern 411
 direct-inward-dial
 port 2/0
!
gateway
!
!
line con 0
line aux 0
line vty 0 4
 login
!
no scheduler allocate
end

MGCP.conf of Asterisk:

[general]
port=2427
bindaddr=192.168.1.1

[MG2analog]
host=192.168.1.145
context=default
line => aaln/S0/SU2/1

I might also say what happens if I want to make a call.
The Asterisk-CLI always sais:

NOTICE[3449]: chan_mgcp.c 1694 find_subchannel_and_lock: Gateway ´MG2analog´(and thus its endpoint ´*´) does not exist