[Asterisk-Dev] MGCP and ChanIsAvail problem
James Golovich
james at wwnet.net
Tue Apr 1 01:34:43 MST 2003
I originally wrote ChanIsAvail to be for Zap devices, and then with some
ideas from Mark I made it generic enough to work for any channel driver.
Unfortunately for the voip protocols it doesn't really work very well.
It basically grabs starts a call but never actually makes a call, and I
don't know how the different channel drivers will handle it.
I don't really see anything that points to ChanIsAvail to being the
problem, it looks more like the Wait is whats causing the problem. or
maybe a combination of using ChanIsAvail and the Wait
James
On Tue, 1 Apr 2003, Pavel Litvinenko wrote:
> 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
>
>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list