Hi, 

I've read both docs and done the necessary changes to the prefix in the lcr rule.

(I've created a second subscriber and tried calling from user1 to user2 and that works fine)

Back to the topic, $avp(i:500) refers to the AVP variable with integer ID 500, but would be the value? And for 709?

I've tried listing the AVPs with kamctl:

root@proxysip:~# kamctl avp list
Dumping AVPs

root@proxysip:~# 


Do I have to enable and set up avp module in kamailio.cfg first like I had to with lcr module?

Thanks again.

Regards, 
Joel.

On Sun, Sep 16, 2012 at 7:55 AM, Juha Heinanen <jh@tutpro.com> wrote:
Joel Smith | VOZELIA writes:

> And now I see LCR module being loaded at startup. But, I don't understand
> what gw_uri_avp, ruri_user_avp or tag_avp mean. Where can I find some
> doc/manual to understand what AVP means and does? (For example the
> $avp(i:709), etc.)

see http://www.kamailio.org/wiki/cookbooks/3.3.x/pseudovariables and
http://kamailio.org/docs/modules/3.3.x/modules/avpops.html.

> mysql> select * from lcr_rule;
> +----+--------+--------+----------+-------------+---------+---------+
> | id | lcr_id | prefix | from_uri | request_uri | stopper | enabled |
> +----+--------+--------+----------+-------------+---------+---------+
> |  1 |      1 | .*     |          |             |       0 |       1 |
> +----+--------+--------+----------+-------------+---------+---------+

'prefix' value cannot be regular expression.  see lcr README.

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users