<div class="gmail_quote">On Fri, Sep 24, 2010 at 10:17 AM, Arnaldo Giacomitti Junior <span dir="ltr">&lt;<a href="mailto:arnaldo.junior@cits.br">arnaldo.junior@cits.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">










<div lang="PT-BR" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span lang="EN-US">I posted this message to user list but got
no answer… Maybe here someone can help me, or apply this code to trunk.</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">There´s a way to get the channel signalling
in dialplan?</span></p>

<p class="MsoNormal"><span lang="EN-US">I have changed the code in
channels/chan_dahdi.c and include:</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">&lt;
            } else if
(!strcasecmp(data, &quot;signalling&quot;)) {</span></p>

<p class="MsoNormal"><span lang="EN-US">&lt;
                           
ast_mutex_lock(&amp;p-&gt;lock);</span></p>

<p class="MsoNormal"><span lang="EN-US">&lt;
                           
snprintf(buf, len, &quot;%s&quot;, sig2str(p-&gt;sig));</span></p>

<p class="MsoNormal"><span lang="EN-US">&lt;
                           
ast_mutex_unlock(&amp;p-&gt;lock);</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">those lines on dahdi_func_read and works
perfect, but wanna know if there is a way without touch in code.</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US"></span></p></div></div></blockquote><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>I don&#39;t think there is currently a way. May be someone else knows. </div>
<div><br></div><div>If you get no reply you can post your patch in <a href="http://issues.asterisk.org">issues.asterisk.org</a>, keep in mind you need to sign a disclaimer (see instructions there) before submitting code.</div>
<div><br></div><div>Moises Silva<br>Senior Software Engineer<br>Sangoma Technologies Inc. | NEW 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada<br>t. 1 905 474 1990 x128 | e. <a href="mailto:moy@sangoma.com" target="_blank">moy@sangoma.com</a></div>
<br><br></div></div>