aboutsummaryrefslogtreecommitdiffstats
path: root/channels/misdn
diff options
context:
space:
mode:
authorcrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-09 13:17:10 +0000
committercrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-09 13:17:10 +0000
commitefdce7b65b5abcf4eaf0e8db81f1cfc34cd8e53d (patch)
tree0a3b0d7255ed730f720a35999770b43ff8a7c87e /channels/misdn
parenta199a4f9f7f2b0f0261e9c61f414b2e136d93538 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@63534 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/misdn')
-rw-r--r--channels/misdn/isdn_lib.c6
-rw-r--r--channels/misdn/isdn_msg_parser.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/channels/misdn/isdn_lib.c b/channels/misdn/isdn_lib.c
index 0acbbd459..c1fc2332f 100644
--- a/channels/misdn/isdn_lib.c
+++ b/channels/misdn/isdn_lib.c
@@ -1342,7 +1342,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);
}
@@ -1716,7 +1716,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;
}
@@ -1724,7 +1724,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;
}
}
diff --git a/channels/misdn/isdn_msg_parser.c b/channels/misdn/isdn_msg_parser.c
index 374f0a8ad..06b5a210c 100644
--- a/channels/misdn/isdn_msg_parser.c
+++ b/channels/misdn/isdn_msg_parser.c
@@ -298,7 +298,7 @@ static msg_t *build_setup (struct isdn_msg msgs[], struct misdn_bchannel *bc, in
{
if (bc->keypad[0])
- enc_ie_keypad(&setup->CALLED_PN, msg, bc->keypad, nt,bc);
+ enc_ie_keypad(&setup->KEYPAD, msg, bc->keypad, nt,bc);
}