<div dir="ltr">Hi,<div>I'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)='sip:+'+$var(cid)+'@<a href="http://54.76.30.63">54.76.30.63</a>';</div><div><br></div><div><div> $var(from)='sip:+'+$var(cid)+'@<a href="http://54.76.30.63">54.76.30.63</a>';</div></div><div><br></div><div><div>route[PAID]{</div><div> if (is_present_hf("Remote-Party-ID")) {</div><div> remove_hf("Remote-Party-ID");</div><div> }</div><div> if (is_present_hf("P-Asserted-Identity")) {</div><div> remove_hf("P-Asserted-Identity");</div><div> }</div><div> if (is_present_hf("Privacy")) {</div><div> remove_hf("Privacy");</div><div> }</div><div> append_hf("P-Asserted-Identity: <+$var(from)>\r\n");</div><div>}</div></div><div><br></div><div>However, unless the CID is set with a + it doesn't seem to automatically prefix the "+" sign.</div><div><br></div>-- <br><div class="gmail_signature">Thanks,<div>Sahil</div></div>
</div></div>