Asterisk Ver0-1-0/App Dial
AsteriskVer0-1-0/AppDial ¶Attempts to "dial out" on all the specified channels (each specified by a type and identifier) simultaneously. The first channel that answers "wins", and all the other outgoing channels are hung up. * int load_module(void)
struct localuser { struct ast_channel *chan; int stillgoing; int allowredirect; struct localuser *next; }; \ digit digit digit An octal character code. The numeric code is 3 octal digits. For compatibility with other Unix systems, 8 and 9 are accepted as digits: for example, \008 has the value 010, and \009 the value 011. * static int dial_exec(struct ast_channel *chan, void *data)
struct chanlist { char type[80]; char description[80]; int capabilities; struct ast_channel * (*requester)(char *type, int format, void *data); struct chanlist *next; } *backends = NULL;* struct ast_channel *ast_request(char *type, int format, void *data)
* static int ixj_call(struct ast_channel *ast, char *dest, int timeout)
FD_ZERO(fd_set *fdset) : *fdsetÀÇ ¸ðµç ºñÆ®¸¦ Áö¿î´Ù. FD_SET(int fd, fd_set *fdset) : *fdset Áß ¼ÒÄÏ fd¿¡ ÇØ´çÇÏ´Â ºñÆ®¸¦ 1·Î ÇÑ´Ù. FD_CLR(int fd, fd_set *fdset) : *fdset Áß ¼ÒÄÏ fd¿¡ ÇØ´çÇÏ´Â ºñÆ®¸¦ 0À¸·Î ÇÑ´Ù. FD_ISSET(int fd, fd_set *fdset) : *fdset Áß ¼ÒÄÏ fd¿¡ ÇØ´çÇÏ´Â ºñÆ®°¡ ¼¼Æ®µÇ¾î ÀÖÀ¸¸é ¾ç¼ö°ªÀÎ fd¸¦ ¸®ÅÏÇÑ´Ù. select() ´Â FD_SETÀ¸·Î ¼³Á¤µÈ fd¸¸À» È®ÀÎÇÕ´Ï´Ù. ±×¸®°í È®ÀÎ °á°ú read¶Ç´Â write Áغñ°¡ µÈ fd¸¦ fdset ³»¿¡¼ '¼¼Æ®'½Ãŵ´Ï´Ù. µû¶ó¼ select() ÇÔ¼ö Á÷ÈÄ¿¡ FD_ISSETÀ¸·Î ƯÁ¤ fd°¡ 'SET'µÇ¾ú´ÂÁö È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù. * static int bridge_call(struct ast_channel *chan, struct ast_channel *peer, int allowredirect)
|
You have a strong desire for a home and your family interests come first. |