attempting fix for MODENDP-87
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@410 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
8a122d84a4
commit
58cf814aa2
|
@ -144,6 +144,9 @@ static L3INT zap_isdn_931_34(void *pvt, L2UCHAR *msg, L2INT mlen)
|
||||||
switch(gen->MesType) {
|
switch(gen->MesType) {
|
||||||
case Q931mes_RESTART:
|
case Q931mes_RESTART:
|
||||||
{
|
{
|
||||||
|
if (chan_id) {
|
||||||
|
zchan = &span->channels[chan_id];
|
||||||
|
}
|
||||||
if (zchan) {
|
if (zchan) {
|
||||||
zap_set_state_locked(zchan, ZAP_CHANNEL_STATE_RESTART);
|
zap_set_state_locked(zchan, ZAP_CHANNEL_STATE_RESTART);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue