Hi Timo.
I'm using the kamailio versión 3.1.0.
kamailio -V
version: kamailio 3.1.0 (x86_64/linux) f2ab4d
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535, PKG_SIZE 4MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: f2ab4d
compiled on 12:57:14 Nov 25 2010 with gcc 4.5.1
The profile gws is a "profile with_values"
# ---- dialog params ------
modparam("dialog", "dlg_flag", 4)
modparam("dialog", "profiles_with_value", "gws")
I'm not using the last two parameters that you mention. Could you guide
me on how to use them?
Regards,
Ricardo.-
-----Mensaje original-----
De: Timo Reimann [mailto:timo.reimann@1und1.de]
Enviado el: miércoles, 12 de enero de 2011 7:41
Para: Ricardo Martinez
CC: sr-users(a)lists.sip-router.org
Asunto: Re: [SR-Users] set_dlg_profile not working?
Hi Ricardo,
first of all: What version of Kamailio are you using?
On 11.01.2011 22:17, Ricardo Martinez wrote:
I’m trying to count the calls to a specific gateway.
So I’m using the
dialog module. This route is done before the final relay.
* if (
set_dlg_profile("gws","$rd") ) {*
* xlog("L_INFO","set_dlg_profile
exitoso");*
What could be happening?
Have you set up the profile named "gws" using modparam and
"profiles_with_values"?
Have you enabled dialog tracking, either by specifying "dlg_flag"
generally or calling dlg_manage() specifically on calls that matter?
Cheers,
--Timo