hello,
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:

---------------------

<include>                                                                                                
<extension name="public_test1">                                                                   
        <condition regex="all">                                                                          
        <regex  field="destination_number" expression="^provider1$"/>                              
        <regex  field="${sip_h_To}" expression="43717072377"/>                                           
                                                                                                         
                <action application="set" data="effective_caller_id_number=7021"/>                       
                <action application="set" data="effective_caller_id_name=thomas"/>             
                <action application="answer"/>                                                           
                <action application="transfer" data="6011 XML inbound1 "/>                             
        </condition>                                                                                     
</extension>

----------------

the To field in the SIP header looks like this:

To: <sip:43717072377@193.43.148.37>

thanks a lot for help!

best regards,
thomas