[OpenSIPS-Users] issue with my XML script, b2bua

opensipslist at encambio.com opensipslist at encambio.com
Thu Feb 11 17:30:46 CET 2010


Hello Anca,

An jeu., févr 11, 2010, Anca Vamanu schrieb:
>opensipslist at encambio.com wrote:
>> An ven., févr 05, 2010, Anca Vamanu schrieb:
>>> On the other hand, I suggest for you to start playing with the
>>> simple topology hiding scenario and the go to more complicated
>>> scripts.
>>>     
>> ...but the topology hiding scenario has no associated XML file
>> which makes learning more difficult.
>>
>> What I mean is, could you please post an example XML scenario
>> file topohide.xml:
>>
>> [...]
>>
>Ok, I can write a sample scenario for the topology hiding case.
>It will have no rules, because only the default pass through rule
>is applied. It will only have an init section:
>
><?xml version="1.0"?>
><scenario id="tophiding" name="Topology hiding" 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>
></scenario>
>
>This scenario specifies that two entities must be created, a server
>on to deal with the received INVITE and a client one to start the
>dialog on the other side. The destination for this client entity
>is exactly the one from the received INVITE, so we have - value
>type="initial" and to be taken from entity server1.
>
>Hope this helps.
>
Yes it does. Thanks alot. I noticed that there is a wiki-like 'Edit'
button on the B2BUA tutorial. Should we consider building a cookbook
of scenarios with their associated XML files there? Can anyone edit
the B2BUA totorial?

Regards,
Brian



More information about the Users mailing list