mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Merged revisions 63534 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r63534 | crichter | 2007-05-09 15:17:10 +0200 (Mi, 09 Mai 2007) | 17 lines Merged revisions 62945,63402,63519 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r62945 | crichter | 2007-05-03 17:39:21 +0200 (Do, 03 Mai 2007) | 1 line when we're in state WAITING4DIGS, we use the asterisk tone-generator which prods us, so we can't just return -1 in misdn_write in this case. Added a MISDN_KEYPAD channel variable, and fixed the sending of keypad. this enables us to modify the call forward parameters in the switch. ........ r63402 | crichter | 2007-05-08 17:07:37 +0200 (Di, 08 Mai 2007) | 1 line added application misdn_check_l2l1 which tries to pull up the L1/L2 on all ports that have the layers down in a group. It waits then for a timeout. This helps for scenarios where multiple PMP BRIs are grouped together, or where a provider has a faulty PTP Implementation, that looses the L2 after a while. ........ r63519 | crichter | 2007-05-09 13:26:16 +0200 (Mi, 09 Mai 2007) | 1 line release_chan frees ch, so we should never touch ch after release_chan, this may cause segfaults. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1344,7 +1344,7 @@ struct misdn_stack* stack_init( int midev, int port, int ptp )
|
||||
|
||||
misdn_lib_get_short_status(stack);
|
||||
misdn_lib_get_l1_up(stack);
|
||||
misdn_lib_get_l2_up(stack);
|
||||
misdn_lib_get_l2_up(stack);
|
||||
|
||||
}
|
||||
|
||||
@@ -1718,7 +1718,7 @@ int misdn_lib_port_up(int port, int check)
|
||||
if (stack->l1link && stack->l2link) {
|
||||
return 1;
|
||||
} else {
|
||||
cb_log(0,port, "Port Down L2:%d L1:%d\n",
|
||||
cb_log(1,port, "Port Down L2:%d L1:%d\n",
|
||||
stack->l2link, stack->l1link);
|
||||
return 0;
|
||||
}
|
||||
@@ -1726,7 +1726,7 @@ int misdn_lib_port_up(int port, int check)
|
||||
if ( !check || stack->l1link )
|
||||
return 1;
|
||||
else {
|
||||
cb_log(0,port, "Port down PMP\n");
|
||||
cb_log(1,port, "Port down PMP\n");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user