zap_log(ZAP_LOG_WARNING,"this ioctl fails on older zaptel but is harmless if you used ztcfg\n[device %s chan %d fd %d (%s)]\n",path,x,CONTROL_FD,strerror(errno));
if(ioctl(CONTROL_FD,codes.CHANCONFIG,&cc)){
zap_log(ZAP_LOG_WARNING,"this ioctl fails on older zaptel but is harmless if you used ztcfg\n[device %s chan %d fd %d (%s)]\n",chanpath,x,CONTROL_FD,strerror(errno));