[Asterisk-Dev] local channel dial status
Peng Yong
ppyy+asterisk at yaako.com
Tue Dec 27 22:00:27 MST 2005
i am making a patch of chan_agent:
http://bugs.digium.com/view.php?id=6038
and i also figure to resolve the problem of local channel return status
problem, see the note 0038366, but i am wrong in the note 0038366.
here is IRC log with Corydon76:
[12:40] <pengyong> i am wrong in my bug note: 0038366
[12:40] <pengyong> http://bugs.digium.com/view.php?id=6038
[12:41] <pengyong> even if i set CHANUNAVAIL in local channel, the dialstatus of local channel still is busy
[12:42] <pengyong> and i debug the code, find the local channel return before the outbound channel of local channel hangup
[12:42] <Corydon76-home> Okay, so notate that in the bug report
[12:42] <pengyong> i am figure out a way to got real state of local channel, but it will change many code
[12:43] <pengyong> the state is set by a control frame from out bound channel
[12:44] <pengyong> please see: pbx.c
[12:44] <pengyong> else if (!strcasecmp(status, "CHANUNAVAIL"))
[12:44] <pengyong> res = pbx_builtin_congestion(c, "10");
[12:45] <pengyong> all channel cause CHANUNAVAIL is replased by congestion and send a congestion control frame
[12:45] <pengyong> and there is no CHANUNAVAIL frame
[12:45] <pengyong> should i add CHANUNAVAIL control frame?
[12:46] <Corydon76-home> Ask kpfleming
[12:46] <pengyong> Ok, thks
1. is it a "real problem" when local channel return CONGESTION when
proxyed channel got CONGESTION ?
2. if it's a problem, is there any other way to handle it than adding CHANUNAVAIL control frame?
Regards,
Peng Yong
More information about the asterisk-dev
mailing list