[Asterisk-Dev] MGCP and ChanIsAvail problem
Pavel Litvinenko
litw at krypton.ru
Tue Apr 1 01:18:13 MST 2003
With sip and h323 * works fine ... but when I use MGCP endpoints :
with this config:
exten => 1001,1,ChanIsAvail(MGCP/aaln/1 at MGCP)
exten => 1001,2,Ringing()
#exten => 1001,3,Wait(1)
exten => 1001,3,Dial,MGCP/aaln/1 at MGCP
exten => 1001,102,Busy()
when I dial 1001 , the phone (Dlink DPH-100m) just ringing one time and
connection is lost ...
-- Executing ChanIsAvail("H323/ip$192.168.161.248:33283/3917",
"MGCP/aaln/1 at MGCP") in new stack
-- Executing Ringing("H323/ip$192.168.161.248:33283/3917", "") in
new stack
-- Executing Dial("H323/ip$192.168.161.248:33283/3917",
"MGCP/aaln/1 at MGCP") in new stack
-- Called aaln/1 at MGCP
-- MGCP/aaln/1 at MGCP is ringing
== No one is available to answer at this time
everything is ok when
exten => 1001,1,ChanIsAvail(MGCP/aaln/1 at MGCP)
exten => 1001,2,Ringing()
exten => 1001,3,Wait(1)
exten => 1001,4,Dial,MGCP/aaln/1 at MGCP
exten => 1001,102,Busy()
-- Executing ChanIsAvail("H323/ip$192.168.161.248:33284/3918",
"MGCP/aaln/1 at MGCP") in new stack
-- Executing Ringing("H323/ip$192.168.161.248:33284/3918", "") in
new stack
-- Executing Wait("H323/ip$192.168.161.248:33284/3918", "1") in new
stack
-- Executing Dial("H323/ip$192.168.161.248:33284/3918",
"MGCP/aaln/1 at MGCP") in new stack
-- Called aaln/1 at MGCP
-- MGCP/aaln/1 at MGCP is ringing
-- MGCP/aaln/1 at MGCP answered H323/ip$192.168.161.248:33284/3918
== Spawn extension (default, 1001, 4) exited non-zero on
'H323/ip$192.168.161.248:33284/3918'
--
----
---------
Best Regards,
Pavel Litvinenko.
ICQ: 16224754
Ph: (8632) 923540, 923640
sip:litw at iptel.org
More information about the asterisk-dev
mailing list