Displaying 1 result from an estimated 1 matches for "dahdi_rxsig_onhook".
Did you mean:
dahdi_rxsig_offhook
2013 Mar 06
2
Change RX Signalling Bits in Dahdi drivers
...for ringing first */
__dahdi_hooksig_pvt(chan, DAHDI_RXSIG_RING);
break;
}
if ((chan->sig != DAHDI_SIG_FXSLS) && (cursig & DAHDI_ABIT)) { /*<------
Why is it checking DAHDI_SIG_FXSLS? do I need to modify this to be 1111
also?*/
/* if went on hook */
__dahdi_hooksig_pvt(chan, DAHDI_RXSIG_ONHOOK); /*<----------I think this
is passing it to a function that reacts to the signal in this case the
onhook signal?*/
} else {
__dahdi_hooksig_pvt(chan, DAHDI_RXSIG_OFFHOOK); /* <------ same here but
with the off hook? */
}
break;
case DAHDI_SIG_CAS:
/* send event that something changed */...