[Kamailio-Users] Kamailio 3.0.1

Alex Balashov abalashov at evaristesys.com
Thu Mar 25 13:57:20 CET 2010


Sounds like $avp(s:rpid) is not set at the time that you're calling 
append_rpid_hf().

On 03/25/2010 08:46 AM, dotnetdub wrote:

> Hi List,
>
> I have Kamailio 3.0.1 running from GIT with my old 1.5.3 config file.
> Everything seems fine except the RPID.
>
> I'm not getting any RPID sent in the SIP message and if I put debug=3 I see:
>
> DEBUG: auth [rpid.c:177]: no rpid AVP
>
> My config:
>
> # auth
>
> modparam("auth", "rpid_avp", "$avp(s:rpid)")
> modparam("auth", "rpid_prefix", "<sip:")
> modparam("auth", "rpid_suffix","@asterisk.ie
> <http://asterisk.ie>;party=calling;id-type=subscriber;privacy=off;screen=yes>")
>
> # auth_db
>
> modparam("auth_db", "db_url", "mysql://openser:XSXXXX@localhost/openser")
> modparam("auth_db", "calculate_ha1", 1)
> modparam("auth_db", "password_column", "password")
> modparam("auth_db", "load_credentials", "$avp(s:rpid)=rpid")
>
> in my route:
>
> append_rpid_hf();
>
> Probably missing something very simple. Any help would be appreciated.
>
> Thanks,
> Stephen.
>
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users


-- 
Alex Balashov - Principal
Evariste Systems LLC

Tel    : +1 678-954-0670
Direct : +1 678-954-0671
Web    : http://www.evaristesys.com/



More information about the Users mailing list