Hello all,
I have been reading the tutorial regarding conditional branching, and I
have not been able to design an scenario properly.
The scenario is as follows: I receive presence notifications (NOTIFY's)
and I want to go to different parts of my xml file depending on the
value of the Subscription-State header. I have something like this in
the xml file, but I don't think this is correct:
<recv request="NOTIFY" crlf="true" rrs="true" next="16" test="1"
next="17" test="2" next="18" test="3">
<action>
<ereg regexp="active"
search_in="hdr"
header="Subscription-State: "
check_it="false"
assign_to="1"/>
<ereg regexp="timeout"
search_in="hdr"
header="Subscription-State: "
check_it="false"
assign_to="2"/>
<ereg regexp="probation"
search_in="hdr"
header="Subscription-State: "
check_it="false"
assign_to="3"/>
</action>
</recv>
Is this possible? Any help would be appreciated!! Thanks in advance,
Santi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users