<div dir="ltr">Currently i have UAC_AUTH working with single gateway and configuration look like following, How do i configure multiple gateway trunk account? what would be the best way to make it happen, also i am worried about  &quot;uac_replace_from&quot; address, in multiple gateway account won&#39;t be same so i how i map that name with gateway IPs.. Please suggest me best way to handle this kind of scenario, also what happen if i use drouting module instead of rewritehostport <br><br>loadmodule &quot;uac_auth.so&quot;<br><br>modparam(&quot;uac_auth&quot;,&quot;auth_username_avp&quot;, &quot;$avp(user)&quot;)<br>modparam(&quot;uac_auth&quot;,&quot;auth_password_avp&quot;, &quot;$avp(pass)&quot;)<br>modparam(&quot;uac_auth&quot;,&quot;auth_realm_avp&quot;, &quot;$avp(realm)&quot;)<br><br><br>route{<br><br>        $avp(user) := &quot;1000&quot;;<br>        $avp(pass) :=&quot;1000&quot;;<br>        $avp(realm) := &quot;freeswitch&quot;;<br>...<br>...<br>         # PSTN Outside dialiing code<br>        if (is_method(&quot;INVITE&quot;) &amp;&amp; (src_ip==xxx.xxx.xxx.xxx)) {<br>        if  ( uri=~&quot;^sip:[1-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]*@.*&quot;) {<br>        uac_replace_from(&quot;sip:1000@xx.xxx.xxx.xxx:5060&quot;);<br>        rewritehostport(&quot;xxx.xxx.xxx.xxx:5060&quot;);<br><br><br><br><br></div>