I have seen the new media notification framework started to get implemented
in latest versions of MprFromFile.

I have tried to follow the logic, but I still don't get how it works
exactly. My goal would be to use this new resource notification framework
for my MprDecodeInBandDtmf resource, before I can release a clean patch.

Another goal would be to get distinct SipxTapi media events from MprFromFile
PLAY_FILE and PLAY_BUFFER. I can see in the new mprFromFile that the old
notify->signal(PLAY_FINISHED) is still in use... ?!?

In short:

>From the MprDecodeInBandDtmf resource, I want to be able to fire a sipxtapi
media event such as
- MEDIA_REMOTE_DTMF, MEDIA_CAUSE_DTMF_INBAND, dtmfCode

>From the MprFromFile resource, I want to get sipxtapi media events such as
- MEDIA_PLAYFILE_START, MEDIA_CAUSE_NORMAL, mediaType
- MEDIA_PLAYFILE_STOP, MEDIA_CAUSE_NORMAL, mediaType
- MEDIA_PLAYBUFFER_START, MEDIA_CAUSE_NORMAL, mediaType
- MEDIA_PLAYBUFFER_STOP, MEDIA_CAUSE_NORMAL, mediaType

How can the resource notification message result in a sipxtapi event being
fired ?

Thanks in advance,

stipus

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

Reply via email to