On Thu, 2006-09-28 at 22:53 -0500, Paul Li wrote:
> According to sipX\sipXphone\src\pingerjni and
> sipXtapi\sipXmediaLib\src\mp\MpdPtAVT.cpp:257, you should do the following:
>
> unsigned short iButton = (unsigned short) pCallInfo->toneId;
> unsigned short isButtonUp = (iButton & 0x8000);
>
> if ( isButtonUp )
> {
> iButton = iButton & 0x0003FFF;
> }
>
> The real problem lies in the fact that you may not always get this event,
> depending on VoIP service provider as well as PSTN gateway. Correct me if
> some one there knows more on why this event does not occur consistently.
These events only come from incoming RTP packets which encode DTMF
events according to RFC 2833. So in order to receive these events, the
other UA must be generating these DTMF packets, and any intermediate
VoIP service provider must pass them along.
Dale
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/