[default]
exten =>_x.,1,System(mysql --user=root --password='123456' asterisk -e 'INSERT INTO `conference`(`conference_id` , `callerid` , `destination` , `conference_room` , `date` )VALUES (NULL ,"${CALLERID(num)}", "${CDR(dst)}", "${UNIQUEID}", NULL)')
exten=>_x.,2,Answer()
same=>n,Noop( echo this is ${UNIQUEID})
same=>n,ConfBridge(${UNIQUEID})
;exten =>h,1,System(mysql --user=root --password='123456' asterisk -e 'INSERT INTO `conference`(`conference_id` , `callerid` , `destination` , `conference_room` , `date` )VALUES (NULL ,"${CALLERID(num)}", "${CDR(dst)}", "${UNIQUEID}", NULL)')
No hay comentarios:
Publicar un comentario