summaryrefslogtreecommitdiffstats
path: root/mISDN.cpp
diff options
context:
space:
mode:
authorAndreas Eversberg2009-03-20 18:47:31 +0100
committerAndreas Eversberg2009-03-20 18:47:31 +0100
commit2debf085354e85b911c3a87a3e63471feddc9f53 (patch)
tree9b027f809f8f52a10a2ae4c46a251e2406885d18 /mISDN.cpp
parentCheck if pid file did not open. (diff)
downloadlcr-2debf085354e85b911c3a87a3e63471feddc9f53.tar.gz
lcr-2debf085354e85b911c3a87a3e63471feddc9f53.tar.xz
lcr-2debf085354e85b911c3a87a3e63471feddc9f53.zip
Added Notify to NT-mode.
modified: README modified: dss1.cpp modified: dss1.h modified: mISDN.cpp modified: trace.h
Diffstat (limited to 'mISDN.cpp')
-rw-r--r--mISDN.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/mISDN.cpp b/mISDN.cpp
index f228906..2f8dd5f 100644
--- a/mISDN.cpp
+++ b/mISDN.cpp
@@ -221,7 +221,7 @@ static struct isdn_message {
{"PH_DEACTIVATE", L1_DEACTIVATE_REQ},
{"DL_ESTABLISH", L2_ESTABLISH_REQ},
{"DL_RELEASE", L2_RELEASE_REQ},
- {"UNKNOWN", L3_UNKNOWN},
+ {"UNKNOWN", L3_UNKNOWN_REQ},
{"MT_TIMEOUT", L3_TIMEOUT_REQ},
{"MT_SETUP", L3_SETUP_REQ},
{"MT_SETUP_ACK", L3_SETUP_ACKNOWLEDGE_REQ},
@@ -270,6 +270,7 @@ void l1l2l3_trace_header(struct mISDNport *mISDNport, class PmISDN *port, unsign
i = 0;
while(isdn_message[i].name)
{
+// if (msg == L3_NOTIFY_REQ) printf("val = %x %s\n", isdn_message[i].value, isdn_message[i].name);
if (isdn_message[i].value == (msg&0xffffff00))
{
SCPY(msgtext, isdn_message[i].name);
@@ -1560,11 +1561,9 @@ void PmISDN::set_tone(const char *dir, const char *tone)
Port::set_tone(dir, tone);
return;
}
- if (p_tone_dir[0])
- goto nodsp;
/* now we USE dsp-tone, convert name */
- else if (!strcmp(tone, "dialtone"))
+ if (!strcmp(tone, "dialtone"))
{
switch(options.dsptones) {
case DSP_AMERICAN: id = TONE_AMERICAN_DIALTONE; break;