Hi All,<div>I have a scenario to do parellel forking between the user found in location and towards a PSTN gateway. The requirement here is, I have unique manipulations to be done before routing the call which I believe can be done using branch routes, but I&#39;m just wondering how. </div>
<div>For eg: The branch that goes to the user found from location should have no FROM Header manipulation and the branch that goes out to PSTN gateway needs a uac_replace_from(&quot;<a href="mailto:sip%3A123456789@1.2.3.4">sip:123456789@1.2.3.4</a>&quot;), and insert_hf(&quot;P-Asserted_Identity: <a href="mailto:sip%3A123456789@1.2.3.4">sip:123456789@1.2.3.4</a>\r\n&quot;) before calling t_relay(). There are many other manipulations like this.</div>
<div>How do I take the script logic to individual branch routes before calling t_relay, because whats happening with me is once the location is looked up, I go ahead for manipulations that is supposed to be done for the gateway branch, but it gets applicable for the branch that goes out to the user as well !!</div>
<div><br></div><div>Probably I am missing something on my understanding on how to call branch_routes while doing parallel forking.</div><div><br></div><div>Thanks for any help.</div><div><br></div><div>--- Jayesh</div>