Hello,
there was no change in dispatcher module related to this function since
3.3.0. The value of the group id is set to the variable specified by the
parameter setid_pvar:
http://kamailio.org/docs/modules/stable/modules_k/dispatcher.html#id2495800
Very likely you are using the wrong variable which you set as grp_avp
parameter, based your config snippets.
Cheers,
Daniel
On 8/15/12 11:30 AM, DanB wrote:
Hey Guys,
Something I noticed after upgrading Kamailio from 3.3.0 to 3.3.1.
Having the following code:
"""
if ds_is_from_list() {
xlog("Request coming from SCloud");
xlog("Checking grp_internal, having: $avp(s:dsgrp)");
}
"""
will produce the following output to syslog (dsgrp null instead of
group id):
"""
Aug 15 11:24:28 PrxyDev /usr/sbin/kamailio[2818]: ERROR: <script>:
Request coming from SCloud
Aug 15 11:24:28 PrxyDev /usr/sbin/kamailio[2818]: ERROR: <script>:
Checking grp_internal, having: <null>
"""
I have in dispatcher set:
modparam("dispatcher", "grp_avp", "$avp(dsgrp)")
and I am loading the rules from file.
I should mention that this block was working fine before upgrade.
Am I doing something wrong?
Thanks in advance!
DanB
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 -
http://asipto.com/u/katu
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 -
http://asipto.com/u/kpw