*** ./include/asterisk/callerid.h.org Wed Nov 30 03:24:39 2005 --- ./include/asterisk/callerid.h Tue Apr 17 00:11:42 2007 *************** *** 41,46 **** --- 41,47 ---- #define CID_SIG_BELL 1 #define CID_SIG_V23 2 #define CID_SIG_DTMF 3 + #define CID_SIG_V23JP 4 #define CID_START_RING 1 #define CID_START_POLARITY 2 *************** *** 91,96 **** --- 92,102 ---- * and 1 if the CallerID spill reception is complete. */ extern int callerid_feed(struct callerid_state *cid, unsigned char *ubuf, int samples, int codec); + extern int callerid_feed_jp(struct callerid_state *cid, unsigned char *ubuf, int samples, int codec); + + /* For Japan */ + extern unsigned short update_crc(unsigned short crc, unsigned char data); + extern void callerid_get_dinumber(struct callerid_state *cid, char **exten); /*! \brief Extract info out of callerID state machine. Flags are listed above * \param cid Callerid state machine to act upon