Hi Alex, Do I need to do something different in the script to 1.5.3 ? As you can see from my first mail I am loading the avp from the DB as before.
I just did this in my route: xlog("L_INFO", "[ROUTE-4 ->] rpid test: $avp(s:rpid) "); Result: INFO: <script>: [ROUTE-4 ->] rpid test: <null> Not sure what I'm missing here: # auth modparam("auth", "rpid_avp", "$avp(s:rpid)") My subscriber table has column rpid and value is valid for this subscriber. Thanks, Stephen On 25 March 2010 12:57, Alex Balashov <abalas...@evaristesys.com> wrote: > 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:xsx...@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@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/ > > _______________________________________________ > Kamailio (OpenSER) - Users mailing list > Users@lists.kamailio.org > http://lists.kamailio.org/cgi-bin/mailman/listinfo/users > http://lists.openser-project.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users