search for: ast_modem_send

Displaying 1 result from an estimated 1 matches for "ast_modem_send".

2005 Feb 01
3
X100P Clone
...driver that I found on the asterisk-users archive*) voice modem but the voice from the PSTN is not routed thought the SIP channels, you can only hear it in the modem's speaker. Does anyone know how to fix the problem... modified this function in: /usr/src/asterisk/channels/chan_modem.c int ast_modem_send(struct ast_modem_pvt *p, char *cmd, int len) { int i; usleep(5000); if (!len) { for(i = 0; cmd[i];) { if (fwrite(cmd + i,1,1,p->f) != 1) { if (errno == EWOULDBLOCK) continue; return -1; }...