It's possible that the b2bua doesn't yet support what I'm trying to do with it but I find I have some basic questions about the XML layout as a result of trying. If I want to handle two different types of request within a scenario does it require two <request> blocks or a single <request> block containing the two methods?<div>
<br></div><div><rules></div><div><request></div><div><invite></div><div><rule></div><div><div><condition/></div><div><action/></div><div></rule></div></div><div></invite></div>
<div><bye></div><div><rule></div><div><div><condition/></div><div><action/></div><div></rule></div></div><div></bye></div><div></request></div><div></rules></div><div><br></div>
<div>or </div><div><br></div><div><div><rules></div><div><request></div><div><invite></div><div><rule></div><div><div><condition/></div><div><action/></div><div></rule></div></div>
<div></invite></div><div></request></div><div><request></div><div><bye></div><div><rule></div><div><div><condition/></div><div><action/></div><div></rule></div></div><div></bye></div>
<div></request></div><div></rules></div></div><div><br></div><div>Next, request blocks defined as invite seem to handle reinvite ok but I'm having trouble getting two <bridge> sections to work in the same re<invite> block. I can see where that would get complicated pretty quick if it was allowed. Just wondering if it's possible to send both legs of a call to a new location. I've also tried having the b2bua send a 200 to the side that originated the reinvite and bridging the other side to a media prompt. That works fine (although I'm wondering how many clients will ACK a 200 with no SDP) but when the far side comes back from the media prompt (BYE) I am unable to bridge the two original legs back together with my current layout. The BYE gets passed all the way back to the media peer and the original side is left hanging.</div>
<div><br></div><div>Finally, is it possible to compare the contents of a message X-header as part of the <condition> for a block? </div><div><br></div><div>I've pasted my xml file with that second layout. Sorry in advance for whatever format mangling various mail clients may do on this.</div>
<div><br></div><div><div><?xml version="1.0"?></div><div><scenario id="catch-hold" name="when i lose the mic let caller know" param="2" type="script"></div><div>
<span class="Apple-tab-span" style="white-space:pre">        </span><init></div><div><span class="Apple-tab-span" style="white-space:pre">                </span><bridge></div><div><span class="Apple-tab-span" style="white-space:pre">                        </span><server></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span><id>server1</id></div><div><span class="Apple-tab-span" style="white-space:pre">                        </span></server></div><div><span class="Apple-tab-span" style="white-space:pre">                        </span><client></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span><id>client1</id></div><div><span class="Apple-tab-span" style="white-space:pre">                                </span><type>message</type></div><div><span class="Apple-tab-span" style="white-space:pre">                                </span><destination></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span><value type="initial">server1</value></div><div><span class="Apple-tab-span" style="white-space:pre">                                </span></destination></div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span></client></div><div><span class="Apple-tab-span" style="white-space:pre">                </span></bridge></div><div><span class="Apple-tab-span" style="white-space:pre">                </span><state>1</state></div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span></init></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><rules></div><div><span class="Apple-tab-span" style="white-space:pre">                </span><request></div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span><invite></div><div><span class="Apple-tab-span" style="white-space:pre">                                </span><rule id="1"></div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span><condition></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                </span><state>1</state></div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span><sender></div><div><span class="Apple-tab-span" style="white-space:pre">                                                        </span><type>client</type></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                        </span><id>client1</id></div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span></sender></div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span></condition></div>
<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span><action></div><div> <send_reply></div><div> <code>200</code></div>
<div> <reason>Hang Out For a While</reason></div><div> </send_reply></div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span><bridge></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                        </span><client></div><div><span class="Apple-tab-span" style="white-space:pre">                                                                </span><id>server1</id></div><div><span class="Apple-tab-span" style="white-space:pre">                                                        </span></client></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                        </span><client></div><div><span class="Apple-tab-span" style="white-space:pre">                                                                </span><id>client2</id></div><div><span class="Apple-tab-span" style="white-space:pre">                                                                </span><destination></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                                        </span><value type="param">1</value></div><div><span class="Apple-tab-span" style="white-space:pre">                                                                </span></destination></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                        </span></client></div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span></bridge></div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span><state>2</state></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span></action></div><div><span class="Apple-tab-span" style="white-space:pre">                                </span></rule></div><div><span class="Apple-tab-span" style="white-space:pre">                        </span></invite></div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span></request></div><div><span class="Apple-tab-span" style="white-space:pre">                </span><request></div><div><span class="Apple-tab-span" style="white-space:pre">                        </span><bye></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span><rule id="3"></div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span><condition></div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span><sender></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                        </span><type>client</type></div><div><span class="Apple-tab-span" style="white-space:pre">                                                        </span><id>client2</id></div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span></sender></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span></condition></div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span><action></div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span><send_reply></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                        </span><code>200</code></div><div><span class="Apple-tab-span" style="white-space:pre">                                                        </span><reason>OK</reason></div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span></send_reply></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                </span><delete_entity/></div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span><bridge></div><div><span class="Apple-tab-span" style="white-space:pre">                                                        </span><client></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                                </span><id>server1</id></div><div><span class="Apple-tab-span" style="white-space:pre">                                                        </span></client></div><div><span class="Apple-tab-span" style="white-space:pre">                                                        </span><client></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                                </span><id>client1</id></div><div><span class="Apple-tab-span" style="white-space:pre">                                                        </span></client></div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span></bridge></div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                </span><state>1</state></div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span></action></div><div><span class="Apple-tab-span" style="white-space:pre">                                </span></rule></div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span></bye><span class="Apple-tab-span" style="white-space:pre">                </span></div><div><span class="Apple-tab-span" style="white-space:pre">                </span></request></div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span></rules></div><div></scenario></div></div><div><br></div>