Hi everybody,
I use asterisk on debian OS in order to use MGCP IP phones (Thomson ST2030). The complete configuration had worked but now the following error is displayed when launching “asterisk -r”:
“chan_mgcp.c:1730 find_subchannel_and_lock:chan_mgcp.c:1730 find_subchannel_and_lock: Gateway '00147F00”
Please help me…
You will find below the “mgcp.conf” and “extensions.conf” that I used :
- “mgcp.conf” :
;
; MGCP Configuration for Asterisk
;
[general]
port = 2427
bindaddr = 0.0.0.0
[00:14:7F:00:18:E0]
context=local
host=dynamic
callerid = “2001” <2001>
callgroup=0 ; in the range from 0 to 63
pickupgroup=0 ; in the range from 0 to 63
nat=no
threewaycalling=yes
transfer=yes ; transfer requires threewaycalling=yes. Use FLASH to transfer
callwaiting=yes ; this might be a cause of trouble for ip10s
cancallforward=yes
line => aaln/1
;
[00:18:F6:B5:E0:91]
context=local
host=dynamic
callerid = “2002” <2002>
callgroup=0
pickupgroup=0
nat=no
threewaycalling=yes
transfer=yes
callwaiting=yes
cancallforward=yes
line =>aaln/1
;
- “extensions.conf” :
; extensions.conf - the asterisk dialplan
[general]
static = yes
writeprotect = no
autofallthrough = no
clearglobalvars = no
priorityjumping = yes
usercontext = default
[local]
exten => 2001,1,Dial(MGCP/aaln/1@00:14:7F:00:18:E0)
exten => 2001,2,Hangup
exten => 2002,1,Dial(MGCP/aaln/1@00:18:F6:B5:E0:91)
exten => 2002,2,Hangup
;