<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>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">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">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" 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 24.06.2014 12:32, Giuseppe Cardone wrote:<br>
</div>
<blockquote
cite="mid:586431908.1861473.1403602337404.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">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 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>