[asterisk-users] chan-capi-HEAD and Asterisk 1.4.2
Armin Schindler
armin at melware.de
Mon Apr 2 13:42:38 MST 2007
On Mon, 2 Apr 2007, Peer Oliver Schmidt wrote:
> Hello Armin,
>
> > Actually chan-capi-1.0.0 does compile with Asterisk 1.4.2. [..]but you [..] just
> > change the line
> > if grep -q "ASTERISK_VERSION_NUM 0104" $INCLUDEDIR/version.h; then
> > to
> > if grep -q "ASTERISK_VERSION_NUM .*104" $INCLUDEDIR/version.h; then
> > in create_config.sh
>
> thanks, will try.
>
> >> * Anyone else experiencing problems with chan-capi-HEAD not seeing
> >> the controller? If I run asterisk with verbose setting to 0, i.e.
> >> just asterisk -c chan-capi does not find the controller. Starting
> >> asterisk with verbosity turned up, most of the time the controller is
> >> found.
> >>
> >> Might this be a problem of missing CPU power (PII-400)?
> >
> > I don't know where this could happen. Do you have more info on what exactly
> > is happening and when?
>
>
> root at server42:~# grep capi /var/log/asterisk/messages
>
> [Mar 31 16:17:03] ERROR[3850] chan_capi.c: Unable to listen on contr1
> (error=0x100f)
>
> Is this helpful, or do you need more information?
Yes, at this state it might be possible that less CPU power causes
problems. The 'listen' command expects an answer and maybe it is coming too
late. Can you please try the patch below?
Armin
--
Index: chan_capi.c
===================================================================
--- chan_capi.c (revision 436)
+++ chan_capi.c (working copy)
@@ -631,7 +631,7 @@
error = LISTEN_CONF_INFO(&CMSG);
break;
}
- usleep(20000);
+ usleep(100000);
waitcount--;
}
if (!waitcount)
More information about the asterisk-users
mailing list