[Asterisk-Dev] app_meetme, need for DTMF Manager Events ?

Jean-Hugues ROBERT jean_hugues_robert at yahoo.com
Thu May 19 11:14:17 MST 2005


Hi,

I wonder if, in addition to nice 'B' (that works for ZAP only), it
would make sense to optionally generates DTMF events, so that a Manager API
based application could provide services ?

It is about adding:
				} else if ((f->frametype == AST_FRAME_DTMF) && (confflags & 
CONFFLAG_DTMFEVENTS)) {
					manager_event(EVENT_FLAG_CALL, "MeetmeDtmf",
								"Channel: %s\r\n"
								"Uniqueid: %s\r\n"
								"Meetme: %s\r\n"
								"Usernum: %d\r\n",
								"Dtmf: %d\r\n",
								chan->name, chan->uniqueid, conf->confno, user->user_no, f->subclass);

at line 1222 in conf_run(), plus some handling for a new CONFFLAG_DTMFEVENTS
option ('K' for DTMF Key).

Does this make any sense ?

Yours,

   JeanHuguesRobert
-------------------------------------------------------------------------
Web:  http://hdl.handle.net/1030.37/1.1
Phone: +33 (0) 4 92 27 74 17




More information about the asterisk-dev mailing list