<div dir="ltr">Hi All,<div><br></div><div>I want to cross connect two spans, but when i am reading the dahdi_dynamic_local driver, i am wondering does it support Analog spans (for example, a tdm400p cards cross connect to a dynamic span) as i found the driver only point to dynamic spans as following:</div>
<div>-------------------</div><div><div>static void</div><div>dahdi_dynamic_local_transmit(struct dahdi_dynamic *dyn, u8 *msg, size_t msglen)</div><div>{</div><div><span class="" style="white-space:pre"> </span>struct dahdi_dynamic_local *d;</div>
<div><span class="" style="white-space:pre"> </span>unsigned long flags;</div><div><br></div><div><span class="" style="white-space:pre"> </span>spin_lock_irqsave(&local_lock, flags);</div><div><span class="" style="white-space:pre"> </span>d = dyn->pvt;</div>
<div><span class="" style="white-space:pre"> </span>if (d && d->peer && d->peer->span) {</div><div><span class="" style="white-space:pre"> </span>if (test_bit(DAHDI_FLAGBIT_REGISTERED, &d->peer->span->flags))</div>
<div><span class="" style="white-space:pre"> </span>dahdi_dynamic_receive(d->peer->span, msg, msglen);</div><div><span class="" style="white-space:pre"> </span>}</div><div><span class="" style="white-space:pre"> </span>if (d && d->monitor_rx_peer && d->monitor_rx_peer->span) {</div>
<div><span class="" style="white-space:pre"> </span>if (test_bit(DAHDI_FLAGBIT_REGISTERED,</div><div><span class="" style="white-space:pre"> </span> &d->monitor_rx_peer->span->flags)) {</div><div><span class="" style="white-space:pre"> </span>dahdi_dynamic_receive(d->monitor_rx_peer->span,</div>
<div><span class="" style="white-space:pre"> </span> msg, msglen);</div><div><span class="" style="white-space:pre"> </span>}</div><div><span class="" style="white-space:pre"> </span>}</div><div><span class="" style="white-space:pre"> </span>spin_unlock_irqrestore(&local_lock, flags);</div>
<div>}</div></div><div>-------------------------------------</div><div><br></div><div>Thank you</div><div> <br></div></div>