Asterisk Source/App Dial
AsteriskSource/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)
|
Deprive a mirror of its silver and even the Czar won't see his face. |