<br>Hi Julian.<br><br>Are you using the syntax you pasted for modparam?<br><br>Try the following syntax:<br><br>modparam(&quot;auth|lcr&quot;, &quot;rpid_avp&quot;, &quot;$avp(i:302)&quot;)<br><br>Regards.<br><br>Sergio G.<br>
<br><br><div class="gmail_quote">On Sun, Feb 22, 2009 at 7:36 AM, Julian Yap <span dir="ltr">&lt;<a href="mailto:julianokyap@gmail.com">julianokyap@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
I&#39;m intending on loading rpid_avp from auth. &nbsp;This will be used with a<br>
P-Asserted-Identity header. &nbsp;I am storing the RPID in the &#39;rpid&#39; of<br>
the subscriber column of my database.<br>
<br>
I believe that s:rpid should then get loaded during authentication but<br>
I think I&#39;m missing something.<br>
<br>
Here is my module load line:<br>
modparam(&quot;^auth$|lcr&quot;, &quot;rpid_avp&quot;, &quot;$avp(i:302)&quot;)<br>
<br>
Then later on, setting the $avp(i:302) manually works:<br>
$avp(i:302) = &quot;&lt;<a href="mailto:sip%3A8085331000@mysip.server.com">sip:8085331000@mysip.server.com</a>&gt;&quot;;<br>
append_hf(&quot;P-Asserted-Identity: $avp(i:302)\r\n&quot;);<br>
<br>
Any clues here? &nbsp;Basically I want to eliminate the line where I&#39;m<br>
hard-coding in the $avp(i:302) value. &nbsp;I&#39;m kinda confused with the<br>
documentation and haven&#39;t found any examples.<br>
<br>
Thanks,<br>
Julian<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Sergio Gutiérrez<br>