Hi, <div><br></div><div>I&#39;ve read both docs and done the necessary changes to the prefix in the lcr rule.</div><div><br></div><div>(I&#39;ve created a second subscriber and tried calling from user1 to user2 and that works fine)</div>
<div><br></div><div>Back to the topic, $avp(i:500) refers to the AVP variable with integer ID 500, but would be the value? And for 709?</div><div><br></div><div>I&#39;ve tried listing the AVPs with kamctl:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><div><br></div></div><div><div><font face="courier new, monospace">root@proxysip:~# kamctl avp list</font></div></div><div><div><font face="courier new, monospace">Dumping AVPs</font></div></div><div><div><font face="courier new, monospace"><br>
</font></div></div><div><div><font face="courier new, monospace">root@proxysip:~# </font></div></div></blockquote><div><br></div><div><br></div><div>Do I have to enable and set up avp module in kamailio.cfg first like I had to with lcr module?</div>
<div><br></div><div>Thanks again.</div><div><br></div><div>Regards, </div><div>Joel.<br><br><div class="gmail_quote">On Sun, Sep 16, 2012 at 7:55 AM, Juha Heinanen <span dir="ltr">&lt;<a href="mailto:jh@tutpro.com" target="_blank">jh@tutpro.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Joel Smith | VOZELIA writes:<br>
<br>
&gt; And now I see LCR module being loaded at startup. But, I don&#39;t understand<br>
&gt; what gw_uri_avp, ruri_user_avp or tag_avp mean. Where can I find some<br>
&gt; doc/manual to understand what AVP means and does? (For example the<br>
&gt; $avp(i:709), etc.)<br>
<br>
</div>see <a href="http://www.kamailio.org/wiki/cookbooks/3.3.x/pseudovariables" target="_blank">http://www.kamailio.org/wiki/cookbooks/3.3.x/pseudovariables</a> and<br>
<a href="http://kamailio.org/docs/modules/3.3.x/modules/avpops.html" target="_blank">http://kamailio.org/docs/modules/3.3.x/modules/avpops.html</a>.<br>
<div class="im"><br>
&gt; mysql&gt; select * from lcr_rule;<br>
&gt; +----+--------+--------+----------+-------------+---------+---------+<br>
&gt; | id | lcr_id | prefix | from_uri | request_uri | stopper | enabled |<br>
&gt; +----+--------+--------+----------+-------------+---------+---------+<br>
&gt; |  1 |      1 | .*     |          |             |       0 |       1 |<br>
&gt; +----+--------+--------+----------+-------------+---------+---------+<br>
<br>
</div>&#39;prefix&#39; value cannot be regular expression.  see lcr README.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- juha<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br></div>