> > Thus when remote party send 0, we receive toneId = ID_DTMF_INVALID
> >   
> Does receiving DTMF events work for you at all? For me it doesn't work 
> even after a DTMF patch from somebody in the mailinglist. I tried to 
> send DTMF from sjphone (in-band, INFO, RFC2833), no MEDIA event was 
> received in sipxtapi.

Yes, it works. I found some changes in sipXtapi.h:

SIPX_MEDIA_INFO contains:

    SIPX_TONE_ID        toneId;     /**< DTMF tone received from remote party;
                                         only supplied on MEDIA_REMOTE_DTMF 
event).
                                         Note: Only out-of-band DTMF is 
supported
                                         (not in-band DTMF or dialtone 
detection, 
                                         etc.)*/


and SIPX_MEDIA_EVENT contains:

    MEDIA_REMOTE_DTMF,          /**< A dtmf tone was started/stopped, see the
                                     cause codes for exact status */

and SIPX_MEDIA_CAUSE:

    MEDIA_CAUSE_DTMF_START,      /**< A DTMF tone has started */
    MEDIA_CAUSE_DTMF_STOP      /**< A DTMF tone has stopped */

but question is still...

--
Best regards, 
Alexey [ [EMAIL PROTECTED] ]

_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to