[OpenSIPS-Users] B2BUA scenario not loading with SIP Update request rule

Giuseppe Cardone g.cardone at unidata.it
Tue Jun 24 11:32:17 CEST 2014


Hello, 

I am new to OpenSIPs but I am interested in trying out the B2BUA functionality. 

In particular, I'm testing the possibility to handle sip UPDATE requests but I've hit an issue 
with the simple scenario I have created and pasted below. 

As soon as I try to launch opensips I get this error: 

Jun 23 14:34:29 [20171] DBG:b2b_logic:load_scenario: Loaded scenario with id = [update] 
Jun 23 14:34:29 [20171] ERROR:b2b_logic:load_scenario: Bad scenario document. A rule defined for a not supported request type [update] 


Have I misunderstood the scenario syntax or is this a limitation of opensips ? 
I'm running v1.11 

Many thanks, 
Giuseppe 


******************************* 
<?xml version="1.0"?> 
<scenario id="update" name="update test" param="0" type="script"> 
<init> 
<bridge> 
<server> 
<id>server1</id> 
</server> 
<client> 
<id>client1</id> 
<type>message</type> 
<destination> 
<value type="initial">server1</value> 
</destination> 
</client> 
</bridge> 
</init> 

<rules> 
<request> 
<update> 
<rule id="1"> 
<condition> 
<state>1</state> 
<sender> 
<type>client</type> 
<id>client1</id> 
</sender> 
</condition> 
<action> 
<send_reply> 
<code>200</code> 
<reason>OK</reason> 
</send_reply> 
<delete_entity/> 
</action> 
</rule> 
</update> 
</request> 
</rules> 
</scenario> 
****************************************************************** 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140624/a3c94429/attachment-0001.htm>


More information about the Users mailing list