[SR-Users] Dispatcher: ds_is_from_list does not longer populate grp_avp

DanB danb.lists at gmail.com
Wed Aug 15 11:30:52 CEST 2012


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




More information about the sr-users mailing list