<div class="gmail_quote">On Fri, Sep 24, 2010 at 10:17 AM, Arnaldo Giacomitti Junior <span dir="ltr"><<a href="mailto:arnaldo.junior@cits.br">arnaldo.junior@cits.br</a>></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"><
} else if
(!strcasecmp(data, "signalling")) {</span></p>
<p class="MsoNormal"><span lang="EN-US"><
ast_mutex_lock(&p->lock);</span></p>
<p class="MsoNormal"><span lang="EN-US"><
snprintf(buf, len, "%s", sig2str(p->sig));</span></p>
<p class="MsoNormal"><span lang="EN-US"><
ast_mutex_unlock(&p->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'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>