Thanks, will do<br><br><div class="gmail_quote">On Wed, Mar 6, 2013 at 11:24 AM, Justin Killen <span dir="ltr"><<a href="mailto:jkillen@allamericanasphalt.com" target="_blank">jkillen@allamericanasphalt.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">You’d probably be better off sending
this to the dev list (asterisk-dev)<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<div>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Justin Killen<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b><span style="font-weight:bold">On Behalf Of </span></b>Optical Phoenix<br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, March 05, 2013 5:56
PM<br>
<b><span style="font-weight:bold">To:</span></b>
<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a><br>
<b><span style="font-weight:bold">Subject:</span></b> [asterisk-users] Change
RX Signalling Bits in Dahdi drivers</span></font><u></u><u></u></p>
</div><div><div class="h5">
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Greeting,<u></u><u></u></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">I am trying to setup PLAR signalling in asterisk. I have modified the
FXSLS TX bits in dahdi-base.c on line 2580, and I can make calls.<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
<div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>.sig_type
= DAHDI_SIG_FXSLS,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>.bits[DAHDI_TXSIG_ONHOOK]
= DAHDI_BITS_ABCD, /*changed by for PLAR*/<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>.bits[DAHDI_TXSIG_OFFHOOK]
= (0), /*changed by for PLAR*/<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>.bits[DAHDI_TXSIG_START]
= DAHDI_BITS_ABCD, /*changed by for PLAR*/<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">When I got to change the rx, its a bit more complex. I have learned
from this list that dahdi_rbsbits() handles the rx bits, but my changes
seem to have no effect. Does anyone have a good understanding of this function?
I would appreciate any help you can provide.<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
<div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">case DAHDI_SIG_FXSLS:<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>if
(!(cursig & DAHDI_BBIT)) { /*Dennis RINGING */
/*<----- I think this is checking if the state is different from a set
value? needs clarification*/<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>/*
Check for ringing first */<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>__dahdi_hooksig_pvt(chan,
DAHDI_RXSIG_RING);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>break;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>}<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>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?*/<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>
/* if went on hook */<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>__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?*/<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>}
else {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>__dahdi_hooksig_pvt(chan,
DAHDI_RXSIG_OFFHOOK); /* <------ same here but with the off hook? */<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>}<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>break;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>
case DAHDI_SIG_CAS:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>/*
send event that something changed */<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>__qevent(chan,
DAHDI_EVENT_BITSCHANGED);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></span>break;<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Thanks<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Dennis<u></u><u></u></span></font></p>
</div>
</div></div></div>
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>