Displaying 1 result from an estimated 1 matches for "port_pstn".
Did you mean:
port_getn
2003 Sep 02
0
IXJ card doesn't want to dial out (see previous thread, asterisk won't answer pstn ring)
...ression=yes
context=local
mode=dialtone
device => /dev/phone0
mode=fxo
device => /dev/phone1
phone0 operates fine.
With regards to the following piece of code, I do not see the error message.
if (mode == MODE_FXO) {
if (ioctl(tmp->fd, IXJCTL_PORT, PORT_PSTN))
ast_log(LOG_DEBUG, "Unable to set port to PSTN\n");
} else {
if (ioctl(tmp->fd, IXJCTL_PORT, PORT_POTS))
ast_log(LOG_DEBUG, "Unable to set port to POTS\n");...