Hi all
I'm trying to set a dialog timeout when a call is established:
event_route[dialog:start] {
if(dlg_set_timeout("10")) {
xinfo("10 secs");
}
}
But when the time expired I obtain this error:
Jan 3 11:24:20 test /usr/sbin/kamailio[18436]: CRITICAL: dialog
[dlg_timer.c:199]: update_dlg_timer(): Trying to update a bogus dlg
tl=0x93947b30 tl->next=(nil) tl->prev=(nil)
Jan 3 11:24:20 test /usr/sbin/kamailio[18436]: ERROR: dialog
[dlg_hash.c:1267]: update_dlg_timeout(): failed to update dialog lifetime
# kamailio -v
version: kamailio 5.3.1 (i386/linux)
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE,
USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC,
TLSF_MALLOC, DBG_SR_MEMORY, 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_URI_SIZE 1024,
BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled with gcc 6.3.0
Any idea?
Thanks and Happy New Year
Dear friends,
I am working on a program on Kamailio and rtpengine proxy. I am wondering whether can I set Kamailio and rtpengine daemon on different physical machines. For example, I set Kamailio on a machine with IP address:10.109.247.80, and launch rtpengine daemon on another machine with interface parameter as 10.109.247.90 and ng port 7723. I set parameter in Kamailio.cfg with modparam(“rtpengine”, “rtpengine_sock”, “udp:10.109.247.90:7723”).
Unfortunately I got debug message like this:
ERROR: rtpengine [rtpengine.c:1710]: send_rtpp_command(): can't send command to a RTP proxy
ERROR: rtpengine [rtpengine.c:1746]: send_rtpp_command(): proxy <udp:10.109.247.90:7723> does not respond, disable it
ERROR: rtpengine [rtpengine.c:1616]: rtpp_test(): proxy did not respond to ping
And, I also tried to set Kamailio and rtpengine daemon in a same machine,and use modparam(“rtpengine”, “rtpengine_sock”, “udp:localhost:7723”). And Kamailio can work functionally under this situation. rtpengine daemon can receive ping message from Kamailio and rtpengine daemon can work as suspected. So for the later case, is it supposed that Kamailio be in the same machine with same localhost address? Otherwise, what’s the reason for my ERROR?
------------------------------------
北京邮电大学网络技术研究院
网络与交换技术国家重点实验室
田军
+86 18810315790
mozillafire(a)bupt.edu.cn
------------------------------------
Hi,
I am using rtjson module to do some call routing, as part of that I've added an additional section to the document to include authentication information.
I am using the uac_auth function from within failure_route to send authentication on to the uri. This works fine... however.
When the initial invite is sent, the To/From headers are updated as per the rtjson document. This isn't the case however when the uac_auth function re-sends the invite with the digest header. The original to/from are being sent.
I am using the dialog module
restore_mode = auto
restore_dlg = 1
I assume there is something I need to call, but none of the RTJSON functions seem to be available within failure_route. Any pointers as to where I am going wrong would be greatly appreciated.
Thanks in advance.
Ben
failure_route[TRUNKAUTH] {
if (t_is_canceled()) {
exit;
}
if(t_check_status("401|407")) {
$avp(auser) = $avp(s:authUser);
$avp(apass) = $avp(s:authPass);
uac_auth();
t_relay();
exit;
}
}