From 2debf085354e85b911c3a87a3e63471feddc9f53 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Fri, 20 Mar 2009 18:47:31 +0100 Subject: Added Notify to NT-mode. modified: README modified: dss1.cpp modified: dss1.h modified: mISDN.cpp modified: trace.h --- mISDN.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'mISDN.cpp') 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; -- cgit v1.2.3-55-g7522