<HTML><BODY>Hi<BR><BR>I want to record all sessions, except calls to group numbers and to IVR. So I need something like:<BR>&nbsp;&lt;!-- eavesdrop --&gt;<BR>&nbsp;&lt;extension name="record_3..16_digits" continue="true"&gt;<BR>&nbsp;&nbsp; &lt;condition field="${is_already_recording}" expression="^$"/&gt;<BR>&nbsp;&nbsp; &lt;condition field="destination_number" expression!="^(400)$"/&gt;&nbsp;&nbsp;&lt;!--NOT EQUAL--&gt;&lt;!-- IVR --&gt;<BR>&nbsp;&nbsp; &lt;condition field="destination_number" expression!="^(399)$"/&gt;&nbsp;&nbsp;&lt;!--NOT EQUAL--&gt;&lt;!-- Group number --&gt;<BR>&nbsp;&nbsp; &lt;condition field="destination_number" expression="^(\d{3,16})$"&gt;<BR>&nbsp;&lt;action application="set" data="RECORD_TITLE=Recording ${caller_id_name} ${caller_id_number} to ${destination_number} at ${strftime(%Y-%m-%d %H:%M)}"/&gt;<BR>&nbsp;&lt;action application="set" data="RECORD_STEREO=true"/&gt;<BR>&nbsp;&lt;action application="export" data="ignore_early_media=true"/&gt;<BR>&nbsp;&lt;action application="set" data="media_bug_answer_req=true"/&gt;<BR>&nbsp;&lt;action application="record_session" data="$${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${caller_id_name}_${caller_id_number}_2_${destination_number}.mp3"/&gt;<BR>&nbsp;&lt;action application="export" data="is_already_recording=true"/&gt;<BR>&nbsp;&nbsp; &lt;/condition&gt;<BR>&nbsp;&lt;/extension&gt;<BR>. <SPAN class=hps>But the syntax</SPAN> <SPAN class=hps>of condition </SPAN><SPAN class=hps>does not allow the</SPAN> <SPAN class="hps atn">operator "</SPAN><SPAN>not equal" or "!=". What should I do?<BR><BR><BR>With best regards, Shumaev DA, KBR Ltd.</SPAN></BODY></HTML>