diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2016-12-09 16:34:33 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2016-12-09 16:34:33 +0100 |
commit | 7585f9c22dd0dffdaac8b57b1e370fa901a20df4 (patch) | |
tree | 04261045ffd0f7839a6ffc771c1ffc6669e2b6c6 /src/anetz/anetz.c | |
parent | f111c50478bc05274b551e243898861cef14f436 (diff) |
Add function to change dsp state, more debug with channel info
Diffstat (limited to 'src/anetz/anetz.c')
-rw-r--r-- | src/anetz/anetz.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/anetz/anetz.c b/src/anetz/anetz.c index c7dfe9f..a920929 100644 --- a/src/anetz/anetz.c +++ b/src/anetz/anetz.c @@ -402,7 +402,7 @@ inval: return -CAUSE_NOCHANNEL; } - PDEBUG(DANETZ, DEBUG_INFO, "Call to mobile station, paging with tones: %.1f %.1f %.1f %.1f\n", freq[0], freq[1], freq[2], freq[3]); + PDEBUG_CHAN(DANETZ, DEBUG_INFO, "Call to mobile station, paging with tones: %.1f %.1f %.1f %.1f\n", freq[0], freq[1], freq[2], freq[3]); if (anetz->page_sequence) PDEBUG(DANETZ, DEBUG_NOTICE, "Sending paging tones in sequence.\n"); @@ -442,7 +442,7 @@ void call_out_disconnect(int callref, int cause) return; switch (anetz->state) { case ANETZ_ANRUF: - PDEBUG(DANETZ, DEBUG_NOTICE, "Outgoing disconnect, during alerting, going idle!\n"); + PDEBUG_CHAN(DANETZ, DEBUG_NOTICE, "Outgoing disconnect, during alerting, going idle!\n"); anetz_go_idle(anetz); break; default: @@ -478,11 +478,11 @@ void call_out_release(int callref, __attribute__((unused)) int cause) switch (anetz->state) { case ANETZ_GESPRAECH: - PDEBUG(DANETZ, DEBUG_NOTICE, "Outgoing release, during call, sending release tone!\n"); + PDEBUG_CHAN(DANETZ, DEBUG_NOTICE, "Outgoing release, during call, sending release tone!\n"); anetz_release(anetz); break; case ANETZ_ANRUF: - PDEBUG(DANETZ, DEBUG_NOTICE, "Outgoing release, during alerting, going idle!\n"); + PDEBUG_CHAN(DANETZ, DEBUG_NOTICE, "Outgoing release, during alerting, going idle!\n"); anetz_go_idle(anetz); break; default: |