[Asterisk-Dev] more on chan_capi

Maurizio Marini maumar at datalogica.com
Thu Aug 5 08:37:14 MST 2004


After having examined chan_capi.c, what I found was this:

In avm c4 you can configure 4 controllers in capi.conf; suppose the last one 
is the fourth controller.

In chan_capi.c there is a static struct, iflist, that points to the last 
defined controller
and has a pointer to next iflist (a single chain).

This is ok, but imagine that there is no cable plugged on the fourth 
controller,
or the isdn connection to telco is broken for the fourth channel.

As there were no calls (in/out) at the time of placing the call, according to 
chan_capi there must be two free channels on the 4th controller; it tries to 
call out using the fourth controller and fails.

	m.
--
Maurizio Marini         GSM +39-335-8259739
Work: +39-0721-855285   Fax +39-0721-859609
Home: +39-0721-950396   IAXTel: (700) 350-1234



More information about the asterisk-dev mailing list