SHORETEL IS NOW PART OF MITEL. See how powering connections in the cloud is now brilliantly simple.

problem with lineGenerateDigits()

Mar 19, 2015 07:59 PM PDT
Ian Foote
CommSoft RMS LLC (formerly RMS) Telecommunications
Hi,

we need to be able to perform some DTMF function on connected phone calls, when we call lineGenerateDigits() while the function indicates SUCCESS, the Generate Termination reason is always Cancelled.

I know the line device itself does not have the GENERATE_DIGITS feature set, so I then tried using the Shoretel STML Browser program to do the same actions and the log on the bottom right shows

12:11:36.326: ST 113: CALL 66646: !!! CALL STATE: Offering - Int - In - Direct - ConnectedID(110, "Jon Elsom") - CallerID(110, "Jon Elsom") - CalledID(113, "Li")
12:11:38.936: ST 113: CALL 66646: !!! CALL STATE: Connected(Active) - Int - In - Direct - ConnectedID(110, "Jon Elsom") - CallerID(110, "Jon") - CalledID(113, "Li")
12:11:38.941: ST 110: CALL 68048: !!! CALL STATE: Connected(Active) - Int - Out - Direct - ConnectedID(113, "Manwai Li") - CallerID(110, "Jon") - CalledID(113, "Li")
12:11:38.946: ST 110: CALL 68048: !!! CALL ST INFO: Property - Int - Out - Direct - ConnectedID(113, "Manwai Li") - CallerID(110, "Jon Elsom") - CalledID(113, "Li")
12:12:06.109: ST 110: CALL 68048: CallGenerateDigits("*#0") returned Success
12:12:06.195: ST 110: CALL 68048: !!! GENERATE TERMINATION: Cancel

regarding the termination reason ... the call was still connected before and after the function call, we did not cancel it ourselves. the only other possibilites are that some other program cancelled, or there was a internal error (based on the TAPI docs on the MSDN).

Any clues how to use this function?

Thanks,
Mar 26, 2015 02:03 PM PDT
Ian Foote
CommSoft RMS LLC (formerly RMS) Telecommunications
Can someone please tell me how the DTMF is cancelled?

To reply to this post please Sign In