Hi
I am using homer and managing multiple SIP domains. My problem is that in
the sip_capture table, the FROM and TO domains are not logged in the FROM
and TO fields. The MSG field contains the domains, but the queries
involving domains become tricky and heavy to execute.
Is there a way I can have the domains in their respective FROM/TO columns?
Thanks
Reda
Hi,
I am trying to make an option of "route when no answer" or " route when
busy".
What I am doing is checking the reply and if "busy", for example, I use
"t_drop_replies". Then, I set the new number and route[relay] again.
On the accdb table, I get the first invite with 183 and after that the
second invite with 183 and with 200.
I would like to do exactly what i do, but would like to see on the accdb
the 486 reply from the first invite.
how do i do it?
BR,
Uri
Hi All
Can anyone direct me to some go literature/documentation on the language/functions used in the kamailio config file. E.g cfg_get(), strempty(), proxy_authorize(), sl_send_reply() etc....
Thanks
Kellon
Hi all
I am currently having to modify the kamailio config file without the benefit of log messages in /var/log/message. I am using the default configuration parameter settings of:
#!ifdef WITH_DEBUG
debug=4
log_stderror=yes
#!else
debug=2
log_stderror=no
#!endif
memdbg=5
memlog=5
log_facility=LOG_LOCAL0
Has anyone experience this issue before or have any suggestions on howto fix. Making changes to the config file line by line and restarting the daemon is killing me!!!
Hi,
I have transaction accounting to RADIUS setup and get the start and stop
events logged to file when a call is made. I want to extend this to also
get CDR logs - call duration etc. To do this I understand I need to
configure the acc module and load and configure the dialog module:
#!define FLD_DLG 4
modparam("acc", "cdr_enable", 1)
modparam("dialog", "dlg_flag", FLD_DLG)
I was expecting extra entries in the RADIUS file but they don't appear. I
think this is because I need to set and clear the dialog flag at
appropriate places in the route script (e.g. setflag(FLD_DLG)) but I'm not
sure where. Should this be done in the INVITE and BYE method handling as is
currently done for the transaction accounting, e.g.:
# account only INVITEs
if (is_method("INVITE"))
{
setflag(FLT_ACC); # do accounting
}
Thanks,
Owen Lynch
Hi,
We have a problem with the "branch" tag in the "Via" header of the ACK
message for the re-INVITE. The "branch" tag value is not a unique number so the end point thinks the ACK is belong to the previous call. This causes the active calls fail after 15 min (right after the ACK message for re-INVITE passed by kamailio proxy).
Is there a way to set the "branch" tag in the "Via" header of the ACK
message for the re-INVITE to be a unique number?
PS1: We are running kamailio v3.3.PS2: we did not have this issue with the old version of openser.
Thanks,AS
Hi,
I have simple dispatcher that is dispatching initial invites to the core
router. The question is, how can I tell kamailio to not add the Via header
in the INVITE. I mean, I want that this dispatcher will be completely
transparent to the core router, so any responses will go directly to the
original sender, not to the dispatcher. This is my request route:
request_route {
if (is_method("INVITE")) {
if (!ds_select_domain(1, 0)) {
xlog("L_INFO", "[MAIN] ERROR: Proxy1 failed");
if (!ds_select_domain(2, 0)) {
xlog("L_INFO", "[MAIN] FATAL: Proxy2 failed");
exit;
}
}
xlog("L_INFO","[MAIN] Dispatching INVITE to $rd");
forward();
}
}
1 and 2 are defined in dispatcher.list. If it can be done in kamailio,
please how. Thank you!
Mino
Hi,
when presence module is running with subs_db_mode=3 it makes an
excessive number of SQL select queries, litelly dozens per second:
> 25232 Query select presentity_uri,callid,to_tag,from_tag,event from active_watchers where updated=64 AND event<>'presence.winfo'
> 25233 Query select presentity_uri,callid,to_tag,from_tag,event from active_watchers where updated=116 AND event<>'presence.winfo'
> 25233 Query select presentity_uri,callid,to_tag,from_tag,event from active_watchers where updated=116 AND event='presence.winfo'
> 25232 Query select presentity_uri,callid,to_tag,from_tag,event from active_watchers where updated=64 AND event='presence.winfo'
> 25231 Query select presentity_uri,callid,to_tag,from_tag,event from active_watchers where updated=14 AND event<>'presence.winfo'
> 25231 Query select presentity_uri,callid,to_tag,from_tag,event from active_watchers where updated=14 AND event='presence.winfo'
> 25233 Query select presentity_uri,callid,to_tag,from_tag,event from active_watchers where updated=118 AND event<>'presence.winfo'
> 25232 Query select presentity_uri,callid,to_tag,from_tag,event from active_watchers where updated=66 AND event<>'presence.winfo'
> 25233 Query select presentity_uri,callid,to_tag,from_tag,event from active_watchers where updated=118 AND event='presence.winfo'
> 25232 Query select presentity_uri,callid,to_tag,from_tag,event from active_watchers where updated=66 AND event='presence.winfo'
> 25231 Query select presentity_uri,callid,to_tag,from_tag,event from active_watchers where updated=16 AND event<>'presence.winfo'
> 25231 Query select presentity_uri,callid,to_tag,from_tag,event from active_watchers where updated=16 AND event='presence.winfo'
Steps to reproduce: registers two subscribers in jitsi and add them to
contact lists of each other.
The kamailio version is 3.3.2. I'm not doing anything special
configuration-wise:
loadmodule "presence.so"
modparam("presence", "db_url", "mysql://kamailio:snbF93@localhost/kamailio")
# in 3.3 the fallback2db change to subs_db_mode
modparam("presence", "subs_db_mode", 3)
modparam("presence", "notifier_processes", 3)
loadmodule "presence_xml.so"
modparam("presence_xml", "db_url",
"mysql://kamailio:snbF93@localhost/kamailio")
modparam("presence_xml", "force_active", 0)
modparam("presence_xml", "integrated_xcap_server", 1)
# retry-after 5 minutes
modparam("presence_xml", "xcapauth_userdel_reason",
"probation;retry-after=300")
Q: it is a bug of a feature? :)
Thanks.
Andrew
Hi all,
I have an kamailio 3.3.2 server deployed with dialog awareness.
When call dlg.end_dlg over xmlrpc I get an 200 OK response but the dialog
is not ended.
What I can do;
call dlg.list (xmlrpc) and get the active dialog list, xmlrpc interface
working.
call dlg.dlg_list (xmlrpc) and get description of one dialog, xmlrpx method
call with parameters working.
call dlg_end_dlg (kamctl) and successfully end the dialog.
so my questions are...
Is the xmlrpc method dlg.end_dlg known to work?
and if, what have I missed?
thanks
./Kristofer Signer
$ /usr/local/kamailio-3.3/sbin/kamailio -V
version: kamailio 3.3.2 (x86_64/freebsd)
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,
F_MALLOC, 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, DEFAULT PKG_SIZE 4MB
poll method support: poll, select, kqueue.
id: unknown
compiled on 09:53:26 Nov 2 2012 with gcc 4.2.1
Friends,
Dispatcher has a mode 8 - "use first destination" which makes sense for a textfile driven dispatcher configuration.
Now if I use a database - will dispatcher first sort on priority, then take the first?
It seems so from the documentation of the text file:
priority: sets the priority in destination list (based on it is done the initial ordering inside the set)
Which one is top priority - lowest or highest value?
I can update the docs to clarify if someone helps me with the answer :-)
/O