On Fri, 2007-04-13 at 11:36 -0800, Mojo with Horan & Company, LLC wrote: > in some > places, there are so few phone prefixes, you can simply match them > exactly.
Thanks for that idea; that should be even easier to do here, because we live in 10-digit land and have two overlapping area codes, which means all local numbers start with 303 or 720. But this will teach me not to mention more than one topic in a message, because I still have not solved the original problem with ssh breaking when the zaptel drivers are loaded and most of the discussion has been about the side topic of dialing 9 to get out. Even worse, I discovered that the same problem affects racoon/ipsec-tools as well; I get racoon errors in the log about hash mismatches and messages too short. Unload the zaptel drivers, and the tunnel is established immediately. I was hoping to work around the ssh problem by using an IPSEC tunnel to a known secure remote location, but then I run into another variant of the same problem. This is a large brick wall that I cannot get past, so I have to choose between being able to remotely access my home systems and using asterisk to handle incoming PSTN calls. Given the amount of money I spent on the Digium card and the fact that I really do need to be able to access home systems remotely when on travel, this isn't an attractive choice. On a possibly related note, I find that I cannot build the Zaptel drivers at all on newer FC6 kernels. I am running 2.6.19-1.2911.6.5.fc6 now, and zaptel builds and installs fine (other than breaking anything that uses rsa when loaded )-: If I boot into 2.6.20-1.2933.fc6 and try to build zaptel 1.4.0, I get compile errors (I did check the obvious, and yes, the kernel-devel-2.6.20-1.2933.fc6 package is installed): make[1]: Entering directory `/local/src/zaptel-1.4.0' make -C /lib/modules/2.6.20-1.2933.fc6/build SUBDIRS=/local/src/zaptel-1.4.0 mod ules make[2]: Entering directory `/usr/src/kernels/2.6.20-1.2933.fc6-i686' CC [M] /local/src/zaptel-1.4.0/zttranscode.o /local/src/zaptel-1.4.0/zttranscode.c: In function ‘zt_tc_open’: /local/src/zaptel-1.4.0/zttranscode.c:192: error: invalid use of undefined type ‘struct page’ /local/src/zaptel-1.4.0/zttranscode.c:193: error: invalid use of undefined type ‘struct page’ /local/src/zaptel-1.4.0/zttranscode.c:194: error: increment of pointer to unknow n structure /local/src/zaptel-1.4.0/zttranscode.c:194: error: arithmetic on pointer to an in complete type /local/src/zaptel-1.4.0/zttranscode.c:195: error: implicit declaration of functi on ‘SetPageReserved’ /local/src/zaptel-1.4.0/zttranscode.c: In function ‘ztc_release’: /local/src/zaptel-1.4.0/zttranscode.c:208: error: invalid use of undefined type ‘struct page’ /local/src/zaptel-1.4.0/zttranscode.c:209: error: invalid use of undefined type ‘struct page’ /local/src/zaptel-1.4.0/zttranscode.c:210: error: increment of pointer to unknow n structure /local/src/zaptel-1.4.0/zttranscode.c:210: error: arithmetic on pointer to an in complete type /local/src/zaptel-1.4.0/zttranscode.c:211: error: implicit declaration of functi on ‘ClearPageReserved’ /local/src/zaptel-1.4.0/zttranscode.c: In function ‘zt_tc_mmap’: /local/src/zaptel-1.4.0/zttranscode.c:370: error: dereferencing pointer to incom plete type /local/src/zaptel-1.4.0/zttranscode.c:376: error: dereferencing pointer to incom plete type /local/src/zaptel-1.4.0/zttranscode.c:376: error: dereferencing pointer to incom plete type /local/src/zaptel-1.4.0/zttranscode.c:378: error: dereferencing pointer to incom plete type /local/src/zaptel-1.4.0/zttranscode.c:378: error: dereferencing pointer to incom plete type /local/src/zaptel-1.4.0/zttranscode.c:384: error: implicit declaration of functi on ‘remap_pfn_range’ /local/src/zaptel-1.4.0/zttranscode.c:384: error: dereferencing pointer to incom plete type /local/src/zaptel-1.4.0/zttranscode.c:384: error: ‘PAGE_SHARED’ undeclared (firs t use in this function) /local/src/zaptel-1.4.0/zttranscode.c:384: error: (Each undeclared identifier is reported only once /local/src/zaptel-1.4.0/zttranscode.c:384: error: for each function it appears i n.) make[3]: *** [/local/src/zaptel-1.4.0/zttranscode.o] Error 1 make[2]: *** [_module_/local/src/zaptel-1.4.0] Error 2 make[2]: Leaving directory `/usr/src/kernels/2.6.20-1.2933.fc6-i686' make[1]: *** [linux26] Error 2 make[1]: Leaving directory `/local/src/zaptel-1.4.0' make: *** [all] Error 2 AAAUUGH!!! --Greg _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users