[asterisk-dev] DAHDI_CHECK_HOOKSTATE and setting rxisoffhook

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Oct 1 06:33:48 CDT 2009


On Sun, Sep 13, 2009 at 05:18:16PM +0300, Tzafrir Cohen wrote:

> As you can see, this code may also return 0 (fail) if signalling was 
> fxs_ks or fxs_gs, if the rxisoffhook flag is not set. This flag gets
> set by asking the driver.
> 
> So far I have failed to get any explanation as to why this test is
> needed. It is said to be some issue with channel bank, but when I asked
> how it can be reproduced, I failed to get more information.

Maybe this thing:

What should happen if I have a CAS (LS, E&M) connection with some
running calls, and I disconnect the cable?

The calls are naturally dropped, but what about the hook-state at the
DAHDI level? From the little I see now DAHDI doesn't reset anything.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list