[Asterisk-Dev] Trace / Log Transfers

Markus Mayer a9325155 at unet.univie.ac.at
Wed Oct 29 14:28:53 MST 2003


Hi,

I'm trying to trace and log transfers. To find out what Asterisk is doing we
enabled debug-logging and did some test-transfers.

In the following case Zap/7 (Ext. 1237) is calling Zap/3 (1233) and Zap/3 is
transferring the call on to Zap/4 (1234).

What does 'DTMF digit: m on Zap/3-1' mean? It happens immediately before and
during the transfer.

11:56:19: chan_zap.c, Line 1912 (zt_answer): Took Zap/7-1 off hook
11:56:21: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:21: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:21: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:22: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:22: chan_zap.c, Line 3428 (zt_read): DTMF digit: # on Zap/3-1
11:56:22: channel.c, Line 2288 (ast_channel_bridge): Got AST_BRIDGE_DTMF_CHANNEL_1 on c1 (Zap/3-1)
11:56:22: channel.c, Line 2322 (ast_channel_bridge): Bridge stops bridging channels Zap/7-1 and Zap/3-1
11:56:22: channel.c, Line 953 (ast_settimeout): Scheduling timer at 160 sample intervals
11:56:22: channel.c, Line 953 (ast_settimeout): Scheduling timer at 0 sample intervals
11:56:22: channel.c, Line 953 (ast_settimeout): Scheduling timer at 0 sample intervals
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: 1 on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: 2 on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: 3 on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: m on Zap/3-1
11:56:23: chan_zap.c, Line 3428 (zt_read): DTMF digit: 4 on Zap/3-1
11:56:23: chan_zap.c, Line 1629 (zt_hangup): Hangup: channel: 3 index = 0, normal = 24, callwait = -1, thirdcall = -1

The next question is: where would be the best place to log the transfer into
a file or database? Or put differently: where in the code do I know that the
transfer was completed successfully?

Thanks.
Markus



More information about the asterisk-dev mailing list