--- channels/h323/chan_h323.h.old 2004-11-04 13:55:31.000000000 -0300 +++ channels/h323/chan_h323.h 2004-11-04 13:55:47.000000000 -0300 @@ -114,7 +114,7 @@ /* This is a callback prototype function, called pass DTMF down the RTP. */ -typedef int (*send_digit_cb)(unsigned, const char *); +typedef int (*send_digit_cb)(unsigned, char, const char *); extern send_digit_cb on_send_digit; /* This is a callback prototype function, called to collect --- channels/h323/ast_h323.cpp.orig 2004-09-21 15:42:37.000000000 -0300 +++ channels/h323/ast_h323.cpp 2004-11-04 15:34:19.000000000 -0300 @@ -722,7 +722,7 @@ if (h323debug) { cout << " -- Sending user input tone (" << tone << ") to remote" << endl; } - on_send_digit(GetCallReference(), tone); + on_send_digit(GetCallReference(), tone, (const char *)GetCallToken()); H323Connection::SendUserInputTone(tone, duration); } @@ -732,7 +732,7 @@ if (h323debug) { cout << " -- Received user input tone (" << tone << ") from remote" << endl; } - on_send_digit(GetCallReference(), tone); + on_send_digit(GetCallReference(), tone, (const char *)GetCallToken()); } H323Connection::OnUserInputTone(tone, duration, logicalChannel, rtpTimestamp); } @@ -743,7 +743,7 @@ if (h323debug) { cout << " -- Received user input string (" << value << ") from remote." << endl; } - on_send_digit(GetCallReference(), value[0]); + on_send_digit(GetCallReference(), value[0], (const char *)GetCallToken()); } }