[OpenSIPS-Users] issue with my XML script, b2bua
Anca Vamanu
anca at opensips.org
Fri Feb 5 11:35:23 CET 2010
Hi Marie,
You are saying that the initial call setup does not happen? Are you
using the latest code? Please update from svn, branch 1.6, it contains
many fixes.
Your script has a few problems:
1.
<client>
<type>client</type>
<id>server1</id>
Don't put type client here, it is in fact of type server, but the type
is not needed here. If you put the wrong type though it will confuse the
analyzer.
2. When you create the second call - connecting the caller to its
desired destination, you specify that a new client entity must be
created but you put the same id:
<client>
<id>client1</id>
<destination>
<value type="initial">server1</value>
</destination>
</client>
Please use another id.
On the other hand, I suggest for you to start playing with the simple
topology hiding scenario and the go to more complicated scripts.
Regards,
--
Anca Vamanu
www.voice-system.ro
marie.gremillot wrote:
>
> hello,
> I've written a XML script that should do that :
>
> opensips b2bua
> AS
> -----(forward
> INVITE)----->
> <-----(200 OK)
> ------------
> <----(forward INVITE) -----
>
> Here is the script :
>
> <?xml version="1.0"?>
> <scenario id="as_forward" name="MS start and end" param="0" type="script">
> <init>
> <bridge>
> <server>
> <id>server1</id>
> </server>
> <client>
> <id>client1</id>
> <type>message</type>
> <destination>
> <value type="param">0</value>
> </destination>
> </client>
> </bridge>
> <state>1</state>
> </init>
> <rules>
> <request>
> <bye>
> <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/>
> <bridge>
> <client>
> <type>client</type>
> <id>server1</id>
> </client>
> <client>
> <id>client1</id>
> <destination>
> <value type="initial">server1</value>
> </destination>
> </client>
> </bridge>
> </action>
> </rule>
>
> </bye>
> </request>
> </rules>
> </scenario>
>
>
>
>
> When I do the call, I can see that:
> - the invite is forwarded to the AS
> - the AS answer a "200 OK"
> - but the phone call, but the callee doesn't receive the call
>
> thanks !
>
>
>
> Pieddemail
> <https://compte.laposte.net/inscription/index.do?jeux=201001FOOTER>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list