Hello,
In switch_channel.c line: 471 there is a function call to log the received DTMF. I believe there is one in switch_rtp.c as well.
Is it possible to extend this to also include on which channel the DTMF was received?
There is a channel reference available in the function, so it could be extended, I’m just not sure how to since I don’t know C J
if (!sensitive) {
switch_log_printf(SWITCH_CHANNEL_CHANNEL_LOG(channel), SWITCH_LOG_DEBUG, "RECV DTMF %c:%d\n", new_dtmf.digit, new_dtmf.duration);
}
FS_cli currently only logs something like: switch_channel.c:471: RECV DTMF 1:200.
It would be convenient to see something like: switch_channel.c:471 sofia/outbound/1000@10.10.10.10:5060 RECV DTMF 1:200
Can someone show me how to? Or provide patch? Maybe add it to the master branch?
Thanks
Regards,
Grant
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org