Posted: Wed Apr 05, 2000 6:47 am Post subject: [Asterisk] chan_modem_aopen.c - aopen_write function.
I have been trying to figure out why I can not get my voice modem to work
with asterisk. I can dial it it answers but I never get anything. But the interesting thing is that I do get a bunch of notices on the screen when I press numbers on the phone. I assume this is normal.
After looking at the code in chan_modem_aopen.c and the header file vmodem.h. I decided to enable the debug messages to find out what was going on.
The interesting part is that it seems to call the aopen_write function a lot. Yet when you look at this function:
static int aopen_write(struct ast_modem_pvt *p, struct ast_frame *f)
{
if (option_debug)
ast_log(LOG_DEBUG, "aopen_write()\n");
return 0;
}
This function does not seem to do anything. Is this code that is being developed? Or is it something that needs to be written? Or is this not written due to the full-duplex issue?
I looked at the function modem_write in chan_modem.c. This function looks like it actually does some work.
Am I on the right track? Or should I just give up and just wait for someone else to write this? :-) (That of course was asking you guys to tell me not to give up so don't even tell me to).
Also I am not sure what I should be expecting from the voice modem. Should I be able to have people dial in and leave voice mail etc?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum