<p dir="ltr">hello,<br>
i have a sip provider with multiple DID´s and they send me all calls with the same invite, only the To field in the SIP header is different. how can i read the To field in the SIP header to be able to make a call routing based on the To field? i tried the following rule but it doesnt work:</p>
<p dir="ltr">---------------------</p>
<p dir="ltr">&lt;include&gt;                                                                                                 <br>
&lt;extension name=&quot;public_test1&quot;&gt;                                                                    <br>
        &lt;condition regex=&quot;all&quot;&gt;                                                                           <br>
        &lt;regex  field=&quot;destination_number&quot; expression=&quot;^provider1$&quot;/&gt;                               <br>
        &lt;regex  field=&quot;${sip_h_To}&quot; expression=&quot;43717072377&quot;/&gt;                                            <br>
                                                                                                          <br>
                &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=7021&quot;/&gt;                        <br>
                &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=thomas&quot;/&gt;              <br>
                &lt;action application=&quot;answer&quot;/&gt;                                                            <br>
                &lt;action application=&quot;transfer&quot; data=&quot;6011 XML inbound1 &quot;/&gt;                              <br>
        &lt;/condition&gt;                                                                                      <br>
&lt;/extension&gt;</p>
<p dir="ltr">----------------</p>
<p dir="ltr">the To field in the SIP header looks like this:</p>
<p dir="ltr">To: &lt;<a href="mailto:sip%3A43717072377@193.43.148.37">sip:43717072377@193.43.148.37</a>&gt; </p>
<p dir="ltr">thanks a lot for help!</p>
<p dir="ltr">best regards,<br>
thomas</p>