[Asterisk-Users] MGCP : chan_mgcp.c:1509 find_subchannel

jfdontigny at minacom.com jfdontigny at minacom.com
Thu May 12 06:34:35 MST 2005


I solved the problem by rechecking my configuration files, namely mgcp.conf and extensions.conf. 

I changed the EPIDx strings in the ATA188 to a001 and a002 (and changed accordingly in other config
files), the context from default to ext_mgcp in mgcp.conf and set all the ports to 2427 and now it
works.

Hope this helps.

JFD

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On
Behalf Of jfdontigny at minacom.com
Sent: 10 mai 2005 12:07
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] MGCP : chan_mgcp.c:1509 find_subchannel

Nevermind, I have solved the problem.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On
Behalf Of jfdontigny at minacom.com
Sent: 10 mai 2005 10:33
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] MGCP : chan_mgcp.c:1509 find_subchannel
Importance: High

When I try to connect to * using a Cisco ATA 188 configured with a MGPC firmware (v3.1.1), I just
keep getting this message every 30 seconds or so :

May 10 10:08:21 NOTICE[7913]: chan_mgcp.c:1509 find_subchannel: Gateway '192.168.1.27' (and thus its
endpoint '*') does not exist

Using tcpdump, I have checked that the ATA188 (with IP 192.168.1.27 and port 2427) sends UDP packets
to * (IP 192.168.1.59, port 2727). On the other hand, after sending 2 packets at startup, * does not
respond to the ATA188.

This certainly looks like a configuration problem, but I just can't seem to find exactly what is
wrong. If someone has experienced the same problem or know what is wrong then I would really
appreciate your help.

Thanks,

JF 

Modules.conf :

[modules]
autoload=yes

noload => pbx_gtkconsole.so
noload => pbx_kdeconsole.so
noload => app_intercom.so

noload => chan_modem.so
noload => chan_modem_aopen.so
noload => chan_modem_bestdata.so
noload => chan_modem_i4l.so

;noload => res_musiconhold.so
noload => app_festival.so
noload => app_url.so
noload => app_image.so
noload => app_disa.so
noload => app_qcall.so
noload => app_adsiprog.so

noload => app_ices.so

;noload => codec_g726.so
;noload => codec_alaw.so
;noload => format_vox.so

;noload => format_h263.so
noload => format_jpeg.so

;noload => cdr_csv.so
;noload => cdr_manager.so

;noload => app_zapras.so
;noload => app_flash.so
;noload => app_zapbarge.so
;noload => app_zapscan.so
;noload => app_talkdetect.so
;noload => app_alarmreceiver.so

;noload => chan_skinny.so
;noload => chan_sip.so

noload => chan_alsa.so
;noload => chan_oss.so

[global]
chan_modem.so=yes


Mgcp.conf : 

[general]
port = 2727
bindaddr = 192.168.1.59

[MGCP1]
context=default
host=192.168.1.27
line=>aaln/1
line=>aaln/2

[MGCP2]
context=default
host=192.168.1.28
line=>aaln/1
line=>aaln/2


Extensions.conf :

[general]
static = yes
writeprotect = no

[globals]
TMGCP1=MGCP/aaln/1 at MGCP1
TMGCP2=MGCP/aaln/2 at MGCP1
TMGCP3=MGCP/aaln/1 at MGCP2
TMGCP4=MGCP/aaln/2 at MGCP2
TSIP1=SIP/SIP1
TSIP2=SIP/SIP2

[default]
exten => 70,1,Dial(${TMGCP1},20,tr)
exten => 71,1,Dial(${TMGCP2},20,tr)
exten => 72,1,Dial(${TMGCP3},20,tr)
exten => 73,1,Dial(${TMGCP4},20,tr)
exten => 74,1,Dial(${TSIP1},20,tr)
exten => 75,1,Dial(${TSIP2},20,tr)

ATA188 config : 

Cisco ATA 188 (MGCP) Configuration :
UIPassword: *	
UseTftp: 	1
TftpURL: 	0
CfgInterval: 3600	
EncryptKey: *	
EncryptKeyEx: 0000000000000000000000000000000000000000000000000000000000000000	
Dhcp: 0	
StaticIP: 192.168.1.27
StaticRoute: 192.168.1.1	
StaticNetMask: 255.255.255.0	
EPID0orSID0: .	
EPID1orSID1: .	
CA0orCM0: 192.168.1.59:2727	
CA1orCM1: 0	
CA0UID: 0	
CA1UID: 0	
MGCPVer: NCS1.0	
RetxIntvl: 500	
RetxLim: 10	
MGCPPort: 2427	
CodecName: PCMU,PCMA,G723,G729	
LBRCodec: 3	
PrfCodec: 1	
AudioMode: 	0x00350035
ConnectMode: 0x90000400	
CallerIdMethod: 0xc0019e60	
DNS1IP: 0.0.0.0	
DNS2IP: 0.0.0.0	
Domain: .	
NumTxFrames: 2	
TOS: 0x000068b8	
OpFlags: 0x00000002	
VLANSetting: 0x0000002b	
Polarity: 0x00000000	
FXSInputLevel: 0	
FXSOutputLevel: -4	
SigTimer: 0x00000064	
RingCadence: 2,4,25	
DialTone: 2,31538,30831,1380,1740,1,0,0,1000,0,0	
BusyTone: 2,30467,28959,1191,1513,0,4000,4000,0,0,0	
ReorderTone: 2,30467,28959,1191,1513,0,2000,2000,0,0,0,0,0,0,0,0,0	
RingBackTone: 2,30831,30467,1943,2111,0,16000,32000,0,0,0	
CallWaitTone: 1,30831,0,5493,0,0,2400,2400,4800,0,0	
AlertTone: 1,30467,0,5970,0,0,480,480,1920,0,0	
NPrintf: 0.0.0.0.0	
TraceFlags: 0x00000000	
SyslogIP: 	0.0.0.0.514
SyslogCtrl: 0x00000000	
MediaPort: 	16384
CFGID: 0x00000000	

ata0013199e70f5
Version: v3.1.1 atamgcp (Build 040629A)
Features: 0x00000017
HardwareVersion: 0x0010 0x0000
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list