<option [% IF tsrc.protocol == 'TCP' %]selected="selected"[% END %]>TCP</option>
<option [% IF tsrc.protocol == 'UDP' %]selected="selected"[% END %]>UDP</option>
@ -37,7 +37,8 @@
<option [% IF tsrc.protocol == 'ANY' %]selected="selected"[% END %]>ANY</option>
</select>
</div>
<div class="span-6"> <input type="text" name="from_pattern" title="A regex including the leading '^sip:' (eg: '^sip:user@domain.com$')" size="5" value="[% tsrc.from_pattern %]"/></div>
<div class="span-6"> <input type="text" name="from_pattern" title="A regex including the leading 'sip:' if matching from the beginning (eg: '^sip:user@example\.org$')" size="5" value="[% tsrc.from_pattern %]" style="width:120px"/></div>
<option [% IF protocol == 'TCP' %]selected="selected"[% END %]>TCP</option>
<option [% IF protocol == 'UDP' %]selected="selected"[% END %]>UDP</option>
@ -93,7 +94,7 @@
<option [% IF protocol == 'ANY' %]selected="selected"[% END %]>ANY</option>
</select>
</div>
<div class="span-6"> <input type="text" name="from_pattern" title="A regex including the leading '^sip:' (eg: '^sip:user@domain.com$')" size="5" value="[% from_pattern IF from_pattern.defined %]"/></div>
<div class="span-6"> <input type="text" name="from_pattern" title="A regex including the leading 'sip:' if matching from the beginning (eg: '^sip:user@example\.org$')" size="5" value="[% from_pattern IF from_pattern.defined %]" style="width:120px"/></div>