[cisco-voip] SSH to SIP 6945 and debug to see what button they are pressing?

Ryan Ratliff (rratliff) rratliff at cisco.com
Thu Oct 3 11:19:57 EDT 2013


For DTMF there will be a few debugs you may want to use.
"spy TSTN 1" - This will get you the keypadbutton press, and that a digit is being sent.  It won't get you which digit.
CP-6961] 0003858063 - TSTN> 'tstone_proc_msg_accu_info()'. GG_SCCP_ID_KEYPAD_BUTTON, call:ln(26765048:1)...
0003858063 - TSTN> 'tstone_get_call_by_call_line()'. sccpmsg_call(26765048), sccpmsg_line(1), success
0003858063 - ================================
0003858063 - TSTN> ACTION: sending single digit
0003858063 -

If you add "debug keyevent 1" then this will get the literal button press events, again no info that I can tell as to which button.
[CP-6961] cbManageUsrDefKey(3420) dynamic for key
card id=talking
type="ondigit"
pParam=post?SACCU(digit_down)=%digit?SDialNum=@%digit
----

0003955385 - TSTN> 'tstone_proc_msg_accu_info()'. GG_SCCP_ID_KEYPAD_BUTTON, call:ln(26765048:1)...
0003955385 - TSTN> 'tstone_get_call_by_call_line()'. sccpmsg_call(26765048), sccpmsg_line(1), success
0003955385 - ================================
0003955385 - TSTN> ACTION: sending single digit
0003955385 -

cbManageUsrDefKey(3420) dynamic for key
card id=talking
type="ondigit_up"
pParam=post?SACCU(digit_up)=%digit
----

Adding "spy accu 1" gets you more useful info, but only while in a call.
0004055602 - ACCU: accu_proc_msg_mmi_cmd(). new mmi_cmd. cmd_id=5. mmi_cmd_list_length=1
0004055602 - ACCU: accu_ep_event. idx=1, event=mmi_cmd_dial_digit
0004055602 - ACCU: accu_sccp_ep_evthd(). event=17(mmi_cmd_dial_digit)
0004055602 - ACCU: accu_sccp_ep_proc_mmi_cmd_dial_digit(). type=DOWN. key=2. duration=0. not_play_tone=0  <-------
0004055602 - ACCU: accu_term_event. [E1 L5]. event=mmi_cmd_dial_digit. state=CONNECTED
0004055602 - ACCU. accu_cmm_sig_kpad_echo(). cmm_term=0x0. digit=2. dir=1 duration=-1
0004055602 - ACCU: accu_sccp_keypad_button(). line_inst=1. call_ref=0x19866f8. key=2
0004055602 - ACCU: accu_mmi_cmd_process(). free mmi cmd. cmd_id=5. mmi_cmd_list_length=0

The keyevent debug is for the button presses.  TSTN is the layer between the UI and call control.  ACCU is the actual call control, and this is most likely where you will be interested.
If you want protocol level info then spy on 'PSCCP' or 'SIPCC' though don't expect particularly friendly output.

-Ryan

On Oct 3, 2013, at 10:38 AM, Stephen Welsh <stephen.welsh at unifiedfx.com<mailto:stephen.welsh at unifiedfx.com>> wrote:

Hi Jason,

You can get in-call DTMF info via CTI (SIP or SCCP), it's a bit tricky to setup but I can host a WebEx session to take you through it if you like?

Kind Regards.

Stephen Welsh

<image001.png>

================================================================
Unified FX’s FREE Educational seminars on The Essentials of Endpoint Security & Compliance
• Session 1: The Impact of Security by Default (Recording: http://goo.gl/2yJaKm)
• Session 2: Understanding and Managing ITL & CTL Files (Recording: http://goo.gl/w05Dqh)
• Session 3: Leading Practices for Endpoint Security & Compliance (Recording: http://goo.gl/GuXy2P)
NEW Educational Webinar Announced
"Drive to 9: Essential Upgrade Planning Considerations" (10th Oct)
"Phone Background Management & Branding" (24th Oct)
Spaces are limited and we anticipate high demand, so please register early:
http://events.unifiedfx.com<http://unifiedfx.createsend1.com/t/r-i-bhljyut-l-o/>
================================================================

On 3 Oct 2013, at 15:31, "Jason Aarons (AM)" <jason.aarons at dimensiondata.com<mailto:jason.aarons at dimensiondata.com>>
 wrote:

Is it possible to SSH to SIP 6945 and debug to see what buttons the end user is  pressing?  Trying to track down DTMF issue on SIP 6945.

CallManager 9.1
_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
https://puck.nether.net/mailman/listinfo/cisco-voip

_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
https://puck.nether.net/mailman/listinfo/cisco-voip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20131003/f1c1d4f7/attachment.html>


More information about the cisco-voip mailing list