<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Helvetica, Arial, sans-serif">Hello<br>
      <br>
      when setting a local forward (in this case to extension 23) on a
      SIP phone, I see the following on the Asterisk CLI :<br>
      <br>
      <br>
      [Aug 31 14:59:34]     -- Got SIP response 302 "Moved Temporarily"
      back from 11.22.33.44:40670<br>
      [Aug 31 14:59:34]     -- Now forwarding
      Local/myaccount184@CallFromQueue-000007f4;2 to
      'Local/23@from-internal' (thanks to SIP/myaccount184-00003729)<br>
      <br>
      <br>
      Question : how can I read the variable which contains the value
      'myaccount184' in the context from-internal ?<br>
      <br>
      <br>
      The following variables I've tried are empty :<br>
      <br>
      ChannelPeerip=${CHANNEL(peerip)}<br>
      Channelrecvip=${CHANNEL(recvip)}<br>
      Channelfrom=${CHANNEL(from)}<br>
      Channeluri=${CHANNEL(uri)}<br>
      Channeluseragent=${CHANNEL(useragent)})<br>
      <br>
      <br>
      You can see this on the CLI output here :<br>
      <br>
      [Aug 31 14:59:34]     -- Executing [23@from-internal:7]
      NoOp("Local/23@from-internal-000007f5;2", "ChannelPeerip=
      Channelrecvip= Channelfrom=") in new stack<br>
      [Aug 31 14:59:34]     -- Executing [23@from-internal:8]
      NoOp("Local/23@from-internal-000007f5;2", "Channeluri=
      Channeluseragent=") in new stack<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      Anyone knows the correct variable to read ?<br>
      <br>
      <br>
      <br>
      Kind regards<br>
      <br>
      Jonas.<br>
    </font>
  </body>
</html>