applyline fragment #
Demo
Two different user id setting with and without applyline fragment.
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../minibrowser_test.xsd">
<MenuItem name="set id4 without applyline">
<Url>snom://mb_nop#set:user_name4=random_one&set:user_host4=10.110.22.37</Url>
</MenuItem>
<MenuItem name="unregister id4">
<Url>snom://mb_nop#unregister=3</Url>
</MenuItem>
<MenuItem name="set id5 with applyline">
<Url>snom://mb_nop#set:user_name4=random_one&set:user_host4=10.110.22.37&applyline</Url>
</MenuItem>
<MenuItem name="unregister id5">
<Url>snom://mb_nop#unregister=4</Url>
</MenuItem>
</SnomIPPhoneMenu>
If option with 'applyline' fragment is chosen, phone got following log:
Mar 18 07:28:32 [INFO ] PHN: Xpath applies: *[@name="set id5 with applyline"]
Mar 18 07:28:32 [INFO ] PHN: Xpath applies: @name="set id5 with applyline"]
Mar 18 07:28:32 [INFO ] SIP: Registered at registrar as random_one@10.110.22.37 (Expires: 3600 secs)