Hi All,<br>Is it possible in freeswitch to read headers in 200 OK response. What I am trying to do is route all calls to an opensips server from my freeswitch and when a call answers; opensips sends a header in 200 response, for eg: X-Record: Yes or X-Record. So I was checking if I can read this header in freeswitch and call record_session to record that call inside freeswitch? I was trying something similar, can this work?:<br>
            <br>            &lt;extension name=&quot;call_routing&quot;&gt;<br>            &lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d+)$&quot;&gt;<br>                &lt;action application=&quot;export&quot; data=&quot;execute_on_answer=set_record_status ${sip_h_X-Record}&quot;/&gt;<br>
                &lt;action application=&quot;set&quot; data=&quot;execute_on_answer=execute_extension check_recording&quot;/&gt;<br>                &lt;action application=&quot;bridge&quot; data=&quot;{sip_invite_domain=${sip_from_host},ignore_display_updates=true}sofia/${context}/$1@$mydomain&quot;/&gt;<br>
            &lt;/condition&gt;<br>            &lt;/extension&gt;<br><br>           &lt;extension name=&quot;check_recording&quot;&gt;<br>               &lt;condition field=&quot;${record_status}&quot; expression=&quot;Yes&quot;&gt;<br>
                    &lt;action application=&quot;record_session&quot; data=&quot;/usr/local/freeswitch/recordings/extensions/123456.mp3&quot;/&gt;                <br>               &lt;/condition&gt;<br>           &lt;/extension&gt;<br>
<br>Can someone help me in understanding if this is possible with freeswitch.<br><br>Thanks,<br><br>--- Jayesh<br>           <br>