diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-08-01 23:14:10 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-08-01 23:14:10 +0000 |
commit | d239f1c8263649b75bf160d67fb6247324d10e19 (patch) | |
tree | 3946ff50d9fe8230f6603a3d3891983e0293ba5e /ztcfg.c | |
parent | 8f3ec1462602188292773c3259422a1f91de9776 (diff) |
warn about FXS/FXO
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@225 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'ztcfg.c')
-rwxr-xr-x | ztcfg.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -730,6 +730,10 @@ int main(int argc, char *argv[]) } if (cc[x].sigtype && ioctl(fd, ZT_CHANCONFIG, &cc[x])) { fprintf(stderr, "ZT_CHANCONFIG failed on channel %d: %s (%d)\n", x, strerror(errno), errno); + if (errno == EINVAL) { + fprintf(stderr, "Did you forget that FXS interfaces are configured with FXO signalling\n" + "and that FXO interfaces use FXS signalling?\n"); + } close(fd); exit(1); } |