<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"><tt>Perfect Giuseppe ! I will do a
        backport only to 1.11 (current LTS) to be sure no one else will
        hit this problem in the future.<br>
        <br>
        Thanks and regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 26.06.2014 10:31, Giuseppe Cardone wrote:<br>
    </div>
    <blockquote
      cite="mid:386805647.2335185.1403767903129.JavaMail.root@unidata.it"
      type="cite">
      <style type="text/css">p { margin: 0; }</style>
      <div style="font-family: times new roman,new york,times,serif;
        font-size: 12pt; color: #000000">
        <div>Hi Bogdan,</div>
        <div id="956e4f19-49f6-4bbc-bdd4-c56101d702d8"><br>
        </div>
        <div id="956e4f19-49f6-4bbc-bdd4-c56101d702d8">Many thanks for
          the fast patching. I just tried it and it did exactly what I
          wanted :-)</div>
        <div id="956e4f19-49f6-4bbc-bdd4-c56101d702d8"><br>
        </div>
        <div id="956e4f19-49f6-4bbc-bdd4-c56101d702d8">I look forward to
          using OpenSIPs more !</div>
        <div id="956e4f19-49f6-4bbc-bdd4-c56101d702d8"><br>
        </div>
        <div id="956e4f19-49f6-4bbc-bdd4-c56101d702d8">Rgds,</div>
        <div id="956e4f19-49f6-4bbc-bdd4-c56101d702d8">Giuseppe</div>
        <hr id="zwchr">
        <blockquote style="border-left:2px solid
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>Da:
          </b>"Bogdan-Andrei Iancu" <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a><br>
          <b>A: </b>"OpenSIPS users mailling list"
          <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a>, "g cardone"
          <a class="moz-txt-link-rfc2396E" href="mailto:g.cardone@unidata.it"><g.cardone@unidata.it></a><br>
          <b>Inviato: </b>Mercoledì, 25 giugno 2014 11:32:34<br>
          <b>Oggetto: </b>Re: [OpenSIPS-Users] B2BUA scenario not
          loading with SIP Update request rule<br>
          <br>
          <div class="moz-cite-prefix"><tt>Hi Giuseppe,<br>
              <br>
              It looks like UPDATE is not one of the supported methods
              in B2B (for the rules). I made an extension on OpenSIPS
              trunk - see :<br>
                 
              <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/OpenSIPS/opensips/commit/35f9d98eab84b2ac90aa83f9ba85511058316ab5"
                target="_blank">https://github.com/OpenSIPS/opensips/commit/35f9d98eab84b2ac90aa83f9ba85511058316ab5</a><br>
              Change is available only on trunk for the moment. If you
              need the patch, use:<br>
                 
              <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/OpenSIPS/opensips/commit/35f9d98eab84b2ac90aa83f9ba85511058316ab5.patch"
                target="_blank">https://github.com/OpenSIPS/opensips/commit/35f9d98eab84b2ac90aa83f9ba85511058316ab5.patch</a><br>
              <br>
              Please test it and let me know if solves your issue.<br>
              <br>
              Regards,<br>
            </tt>
            <pre class="moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
            On 24.06.2014 12:32, Giuseppe Cardone wrote:<br>
          </div>
          <blockquote
            cite="mid:586431908.1861473.1403602337404.JavaMail.root@unidata.it">
            <style>p { margin: 0; }</style>
            <div style="font-family: times new roman,new
              york,times,serif; font-size: 12pt; color: #000000">Hello,<br>
              <br>
              I am new to OpenSIPs but I am interested in trying out the
              B2BUA functionality.<br>
              <br>
              In particular, I'm testing the possibility to handle sip
              UPDATE requests but I've hit an issue<br>
              with the simple scenario I have created and pasted below.<br>
              <br>
              As soon as I try to launch opensips I get this error:<br>
              <br>
              Jun 23 14:34:29 [20171] DBG:b2b_logic:load_scenario:
              Loaded scenario with id = [update]<br>
              Jun 23 14:34:29 [20171] ERROR:b2b_logic:load_scenario: Bad
              scenario document. A rule defined for a not supported
              request type [update]<br>
              <br>
              <br>
              Have I misunderstood the scenario syntax or is this a
              limitation of opensips ?<br>
              I'm running v1.11<br>
              <br>
              Many thanks,<br>
              Giuseppe<br>
              <br>
              <br>
              *******************************<br>
              <?xml version="1.0"?><br>
              <scenario id="update" name="update test" param="0"
              type="script"><br>
                   <init><br>
                       <bridge><br>
                          <server><br>
                              <id>server1</id><br>
                          </server><br>
                          <client><br>
                              <id>client1</id><br>
                              <type>message</type><br>
                              <destination><br>
                                  <value
              type="initial">server1</value><br>
                              </destination><br>
                          </client><br>
                       </bridge><br>
                   </init><br>
              <br>
                   <rules><br>
                       <request><br>
                           <update><br>
                               <rule id="1"><br>
                                   <condition><br>
                                       <state>1</state><br>
                                       <sender><br>
                                          
              <type>client</type><br>
                                           <id>client1</id><br>
                                       </sender><br>
                                   </condition><br>
                                   <action><br>
                                       <send_reply><br>
                                           <code>200</code><br>
                                          
              <reason>OK</reason><br>
                                       </send_reply><br>
                                       <delete_entity/><br>
                                   </action><br>
                               </rule><br>
                         </update><br>
                      </request><br>
                  </rules><br>
              </scenario><br>
******************************************************************<br>
            </div>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
          </blockquote>
          <br>
        </blockquote>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>