<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Finally, I changed fifo for
      valet_parking and It is working. It is also working with BLF. Here
      is the code for those who want the same information:<br>
      <br>
      <extension name="parkinglot"> <br>
            <condition field="destination_number"
      expression="^(18[0-2])$"> <br>
              <action application="valet_park" data="lot $1"/> <br>
            </condition> <br>
          </extension> <br>
          <extension name="parkingkey"> <br>
            <condition field="destination_number"
      expression="^(park\+)(18[0-2])$"> <br>
              <action application="transfer" data="$2 XML
      context_1"/> <br>
            </condition> <br>
          </extension> <br>
       The parkingkey extension is important for, in my case, Granstream
      phones working with BLF. I put park+180 in multi-function key.<br>
      <br>
      Everything is working fine.<br>
      On 2012-11-01 11:44, Frederick Pruneau wrote:<br>
    </div>
    <blockquote cite="mid:509298ED.5010705@targointernet.com"
      type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      Hi all,<br>
      <br>
      I am configuring a blue.box server with freeswitch. I am tweaking
      blue.box to add fifo call park. I followed instructions from this
      wiki page <a moz-do-not-send="true"
        href="http://wiki.freeswitch.org/wiki/Park_%26_Retrieve">http://wiki.freeswitch.org/wiki/Park_%26_Retrieve</a>
      .I can park the call but cannot retrieve it. When I dial the same
      extension where I parked the call (Usually, it is supposed to pick
      up the parked call), the call is parked in another park slot. Here
      is my configuration:<br>
      <br>
          <extension name="parking_slots"><br>
              <condition field="destination_number"
      expression="^(18[0-2])$" break="on-false"><br>
              <action inline="true" application="set"
      data="slot_count=${fifo(count $1@${domain_name})}"/><br>
              <action inline="true" application="set"
      data="slot_count=${slot_count:-3:2}"/><br>
          </condition><br>
          <condition field="${slot_count}" expression="^\:0$"
      break="always"><br>
              <action application="unset" data="fifo_chime_list"/><br>
              <action application="set" data="fifo_chime_freq=0"/><br>
              <action application="fifo"
      data="${destination_number}@${domain_name} in undef
      local_stream://moh"/><br>
              <anti-action application="fifo"
      data="${destination_number}@${domain_name} out nowait"/><br>
          </condition><br>
          </extension><br>
      <br>
      I have found this in the log file:<br>
      <br>
      EXECUTE <a moz-do-not-send="true"
        class="moz-txt-link-abbreviated"
        href="mailto:sofia/sipinterface_1/ext@X.X.X.X">sofia/sipinterface_1/ext@X.X.X.X</a>
      set(<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
        href="mailto:slot_count=180@X.X.X.X:0">slot_count=180@X.X.X.X:0</a>:<b>1</b>:0:0:0)<br>
      <br>
      The number 1 is the parking slot number. It changes to the next
      available parking slot (In this case,  number 2) everytime I dial
      180.<br>
      <br>
      Am i missing something?<br>
      <br>
      Thanks for your help!<br>
      <br>
      Fred<br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Frédérick Pruneau
Administrateur réseau | Network administrator
Targo Communications
Ste-Clotilde : (450) 826-0031
Montréal : (514) 448-0773 </pre>
  </body>
</html>