<span style>Reversecharge</span><span style> </span><span style>not appear</span><span style> </span><span style>in</span><span style> </span><span style>debug</span><span style>.</span><br style><span style></span><span style>I&#39;m</span><span style> </span><span style>in Brazil</span><span style>, the</span><span style> </span><span style>signaling is</span><span style> </span><span style>different here</span><span style>?</span><span style> </span> <div>
<br clear="all">Att,<br>Rafael Saraiva<br><br><br>
<br><br><div class="gmail_quote">2012/2/17 Richard Mudgett <span dir="ltr">&lt;<a href="mailto:rmudgett@digium.com">rmudgett@digium.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt; The value is always -1. I must enable something in chan_dahdi to pass<br>
&gt; the correct value?<br>
&gt;<br>
&gt;<br>
&gt; ++++++<br>
&gt;<br>
&gt; [PABX]<br>
&gt; exten=&gt;_X.,1,Gotoif([${CHANNEL(reversecharge)} = -1]<br>
&gt; ?entrada,${EXTEN},1:hangup,${EXTEN},1)<br>
&gt; +++++++++++++++++++<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; rs0000sr305*CLI&gt; -- Accepting call from &#39;<a href="tel:5132083300" value="+555132083300">5132083300</a>&#39; to &#39;1584&#39; on<br>
&gt; channel 0/18, span 1<br>
&gt; -- Accepting call from &#39;<a href="tel:5132083300" value="+555132083300">5132083300</a>&#39; to &#39;1584&#39; on channel 0/18, span 1<br>
&gt; rs0000sr305*CLI&gt; -- Executing [1584@PABX:1]<br>
&gt; GotoIf(&quot;DAHDI/i1/5132083300-4&quot;, &quot;[-1 = -1]<br>
&gt; ?entrada,1584,1:hangup,1584,1&quot;) in new stack<br>
&gt; -- Goto (entrada,1584,1)<br>
&gt; -- Executing [1584@PABX:1] GotoIf(&quot;DAHDI/i1/5132083300-4&quot;, &quot;[-1 = -1]<br>
&gt; ?entrada,1584,1:hangup,1584,1&quot; ) in new stack<br>
&gt; -- Executing [1584@entrada:1] Answer(&quot;DAHDI/i1/5132083300-4&quot;, &quot;&quot;) in<br>
&gt; new stack<br>
&gt; -- Goto (entrada,1584,1)<br>
&gt; -- Executing [1584@entrada:1] Answer(&quot;DAHDI/i1/5132083300-4&quot;, &quot;&quot;) in<br>
&gt; new stack<br>
&gt; rs0000sr305*CLI&gt; -- Executing [1584@entrada:2]<br>
&gt; Dial(&quot;DAHDI/i1/5132083300-4&quot;, &quot;SIP/1584,30,tT&quot;) in new stack<br>
&gt; -- Executing [1584@entrada:2] Dial(&quot;DAHDI/i1/5132083300-4&quot;,<br>
&gt; &quot;SIP/1584,30,tT&quot;) in new stack<br>
&gt; rs0000sr305*CLI&gt; == Using SIP RTP CoS mark 5<br>
&gt; == Using SIP RTP CoS mark 5<br>
&gt; rs0000sr305*CLI&gt; -- Called SIP/1584<br>
&gt; -- Called SIP/1584<br>
&gt; rs0000sr305*CLI&gt; -- SIP/1584-0000001e is ringing<br>
&gt; -- SIP/1584-0000001e is ringing<br>
&gt; rs0000sr305*CLI&gt; -- SIP/1584-0000001e answered DAHDI/i1/5132083300-4<br>
&gt; -- SIP/1584-0000001e answered DAHDI/i1/5132083300-4<br>
&gt; rs0000sr305*CLI&gt; -- Span 1: Channel 0/18 got hangup request, cause 0<br>
&gt; -- Span 1: Channel 0/18 got hangup request, cause 0<br>
&gt; rs0000sr305*CLI&gt; == Spawn extension (entrada, 1584, 2) exited<br>
&gt; non-zero on &#39;DAHDI/i1/5132083300-4&#39;<br>
&gt; == Spawn extension (entrada, 1584, 2) exited non-zero on<br>
&gt; &#39;DAHDI/i1/5132083300-4&#39;<br>
&gt; rs0000sr305*CLI&gt; -- Hungup &#39;DAHDI/i1/5132083300-4&#39;<br>
&gt; -- Hungup &#39;DAHDI/i1/5132083300-4&#39;<br>
&gt; rs0000sr305*CLI&gt;<br>
<br>
<br>
The CHANNEL(reversecharge) value is set from the &quot;Reverse Charging Indication&quot;<br>
ie received in the incoming SETUP message.  Please capture the incoming SETUP<br>
from libpri for the collect call.<br>
pri set debug on span x<br>
<br>
Richard<br>
<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></div>