<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Adam,<br>
      <br>
      I have a similar request. For calls that are forwarded, I get the
      line highlighted by * *. For unforwarded calls, the line is
      missing. I would like to have the presence of that line exposed as
      a dialplan variable somehow.<br>
      <br>
      2014-08-14 01:05:52.412270 [DEBUG] ftmod_sangoma_isdn_trace.c:224
      [SNGISDN Q931] wp1 FRAME INCOMING:<br>
        Prot Disc:Q.931/I.451 (0x08)<br>
        Call Ref:28 (Originating side)<br>
        Type:SETUP (0x5)<br>
        Sending complete:<br>
        Bearer Capability:Coding:ITU-T(0) TransferCap:3.1Khz audio(16)
      TransferRate:64 Kbit/s(16) L1Prot:G.711 A-Law(3)<br>
        Channel Id: MAP:B1 Type:reserved(12) Map Preferred/Implicit <br>
      *  Facility:Prot profile:Remote Operations Protocol(17) *<br>
        Progress Indicator:coding:ITU-T(0) location:Public network,
      remote user(4) descr:Origination address is non-ISDN(3)<br>
        Calling Party Number:1XXXXXXX75(l:10) plan:isdn(1)
      type:national(2)scr:network, provided(3) pres:allowed(0)<br>
        Called Party Number:4XXXX8(l:6) plan:isdn(1) type:unknown(0)<br>
      <br>
      John<br>
      <br>
      On 13/08/14 23:17, Adam Kuśmirek wrote:<br>
    </div>
    <blockquote
cite="mid:CAMJTtGViLiHRHoqaNo=FuG8Rnt-iWvdyun2GNj8Q2HeFnYicTw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi All
        <div><br>
        </div>
        <div>I have FS with libsng and Sangoma A108DE conected to PBX
          that is redirecting calls A -&gt; B to C.</div>
        <div>Received SETUP message:</div>
        <div> </div>
        <div>
          <div>2014-08-13 15:33:21.148143 [DEBUG]
            ftmod_sangoma_isdn_trace.c:224 [SNGISDN Q931] wp2 FRAME
            INCOMING:</div>
          <div>  Prot Disc:Q.931/I.451 (0x08)</div>
          <div>  Call Ref:007D (Originating side)</div>
          <div>  Type:SETUP (0x5)</div>
          <div>  Sending complete:</div>
          <div>  Bearer Capability:Coding:ITU-T(0) TransferCap:Speech(0)
            TransferRate:64 Kbit/s(16) L1Prot:G.711 A-Law(3)</div>
          <div>  Channel Id:No:31 Type:B-chans(3)  Exclusive/Implicit</div>
          <div>  Calling Party Number:69214XXXX(l:9) plan:isdn(1)
            type:national(2)scr:user, passed(1) pres:allowed(0)</div>
          <div>  Called Party Number:77544XXXX(l:9) plan:isdn(1)
            type:unknown(0)</div>
          <div>  Redirecting Number:773XXXX(l:7) plan:isdn(1)
            type:national(2)scr:user, not screened(0)
            pres:allowed(0)reason:Call forwarding unconditional(15)</div>
        </div>
        <div><br>
        </div>
        <div>I need  Redirecting Number  to make correct dialplan
          decisions, but I cannot get it from channel variables.</div>
        <div><br>
        </div>
        <div>I hoped, that rdnis channel variable will contain this
          number, but info application tells nothing about it.</div>
        <div><br>
        </div>
        <div>Is there any way to get acces to this Redirecting Number
          information in dialplan ?</div>
        <div><br>
        </div>
        <div>FreeSWITCH Version
          1.2.24+git~20140617T204847Z~9dde4b1548~64bit (git 9dde4b1
          2014-06-17 20:48:47Z 64bit)<br>
        </div>
        <div>libsng_isdn-7.29.0.x86_64<br>
        </div>
        <div><br>
        </div>
        <div>Thank you for any help</div>
        <div>Adam</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>