<div dir="ltr">Hi,<div>I&#39;m trying to add P-Asserted-ID by default on one of our OpenSIPS deployments.</div><div><br></div><div>In my config file I have:</div><div><div>                $var(from)=&#39;sip:+&#39;+$var(cid)+&#39;@<a href="http://54.76.30.63">54.76.30.63</a>&#39;;</div><div><br></div><div><div>                $var(from)=&#39;sip:+&#39;+$var(cid)+&#39;@<a href="http://54.76.30.63">54.76.30.63</a>&#39;;</div></div><div><br></div><div><div>route[PAID]{</div><div> if (is_present_hf(&quot;Remote-Party-ID&quot;)) {</div><div>    remove_hf(&quot;Remote-Party-ID&quot;);</div><div> }</div><div> if (is_present_hf(&quot;P-Asserted-Identity&quot;)) {</div><div>    remove_hf(&quot;P-Asserted-Identity&quot;);</div><div> }</div><div> if (is_present_hf(&quot;Privacy&quot;)) {</div><div>    remove_hf(&quot;Privacy&quot;);</div><div> }</div><div> append_hf(&quot;P-Asserted-Identity: &lt;+$var(from)&gt;\r\n&quot;);</div><div>}</div></div><div><br></div><div>However, unless the CID is set with a + it doesn&#39;t seem to automatically prefix the &quot;+&quot; sign.</div><div><br></div>-- <br><div class="gmail_signature">Thanks,<div>Sahil</div></div>
</div></div>