<html><head><style type='text/css'>p { margin: 0; }</style></head><body><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" <bogdan@opensips.org><br><b>A: </b>"OpenSIPS users mailling list" <users@lists.opensips.org>, "g cardone" <g.cardone@unidata.it><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 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 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 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 class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a 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></body></html>