Is anybody working on implementation of geoip2 module for kamailio? The
advantage of the new API is a seamless support of both ipv4 and ipv6
addresses. If there is no work in progress, I'm goild to take the duty to
implement module geoip2 based on the existing geoip module. I don't think it
worth to extend geoip module to support both maxmind database formats.
Hi,
I'm trying to use a custom table for the permissions module and run into
a issue with the tag field, all other fields seem to work fine.
Here is my config:
modparam("permissions", "db_url", DBURL)
modparam("permissions", "db_mode", 1)
modparam("permissions", "peer_tag_avp", "$avp(permissions_tag)")
modparam("permissions", "trusted_table", "trunks")
modparam("permissions", "source_col", "ip")
modparam("permissions", "proto_col", "transport")
modparam("permissions", "from_col", "from_pattern")
modparam("permissions", "tag_col", "trunk_uuid")
When i start kamailio i see the following error in the log:
Jan 6 21:49:57 sip /usr/sbin/kamailio[24327]: ERROR: db_mysql
[km_dbase.c:123]: db_mysql_submit_query(): driver error on query:
Unknown column 'trunk_uuid' in 'field list'
Jan 6 21:49:57 sip /usr/sbin/kamailio[24327]: ERROR: <core>
[db_query.c:132]: db_do_query_internal(): error while submitting query
Jan 6 21:49:57 sip /usr/sbin/kamailio[24327]: ERROR: permissions
[address.c:112]: reload_address_table(): failed to query database
Jan 6 21:49:57 sip /usr/sbin/kamailio[24327]: CRITICAL: permissions
[address.c:363]: init_addresses(): reload of address table failed
Jan 6 21:49:57 sip /usr/sbin/kamailio[24327]: ERROR: permissions
[permissions.c:631]: mod_init(): failed to initialize the allow_address
function
Jan 6 21:49:57 sip /usr/sbin/kamailio[24327]: ERROR: <core>
[sr_module.c:968]: init_mod(): Error while initializing module
permissions (/usr/lib/x86_64-linux-gnu/kamailio/modules/permissions.so)
Jan 6 21:49:58 sip kamailio: ERROR: <core> [daemonize.c:315]:
daemonize(): Main process exited before writing to pipe
If i change the tag_col to tag it works fine, both fields are
varchar(64). And the field trunk_uuid exists in the trunks table.
I'm running kamailio 4.2.1
Thanks,
Jan Hazenberg
Hello,
I just installed Kamailio for the first time 4.2 on Debian Wheezy. Everything went alright, I created two users, both can register and make calls, but with no audio.
So the problems are:
1. No audio
2. I want to setup Kamailio as Outbound Proxy
3. I wish to have this proxy with TLS support.
Please suggest solution
Maq Khan
Happy new year everyone! :)
I have stumbled into a case where a switch would send a reinvite to my
kamailio server every 15 minutes.
I am setting dialog timeout using avp for prepaid purposes. now i think it
resets the timer upon processing of the reinvite. what is the best way to
work around this?
HI All.
I know that kamailio support listen on an interface with port (listen =
eth0:5060).
Does it support listen on an interface with ip, port, transport?
For example
listen=eth0: udp:10.10.10.10:5060
Thanks
Jijo
I would like to know if there's a way to do parallel forking via lua code.
So specifically, I'd like to be able to do something like this:
seturi("sip:a@example.com");
append_branch("sip:b@example.com");
append_branch("sip:c@example.com");
append_branch("sip:d@example.com");
t_relay();
except via lua, because the list of branches is dynamic. I've tried
the following:
sr.modf("append_branch","sip:10.x.x.x")
but the error message I'm getting is:
/usr/sbin/kamailio[7437]: ERROR: app_lua [app_lua_sr.c:177]:
lua_sr_modf(): function 'append_branch' is not available
Just wondering if I "should" be able to do this.
I've been reading
http://www.kamailio.org/wiki/embeddedapi/devel/lua#srtm_package but
haven't seen any references to append_branch.
The other alternative I'm looking at is to just use lua to generate
the list of destinations and pass back a hashtable of sorts to
the cfg file. Then from there I will try to loop through the hashtable
and do the append_branch command for each entry
in the table.
If you have other suggestions, I'd appreciate it.
Thanks.
Hello,
Kamailio SIP Server v4.2.2 stable release is out.
This is a maintenance release of the latest stable branch, 4.2, that
includes fixes since release of v4.2.1. There is no change to database
schema or configuration language structure that you have to do on
installations of v4.2.x. Deployments running previous v4.x.x versions
are strongly recommended to be upgraded to v4.2.2.
For more details about version 4.2.2 (including links and guidelines to
download the tarball or from GIT repository), visit:
* http://www.kamailio.org/w/2015/01/kamailio-v4-2-2-released/
RPM, Debian/Ubuntu packages will be available soon as well.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Hello,
I am considering to release next patch update in 4.2 series next week,
most probably on Thursday, January 8, 2015.
Given the winter holidays, if there are issues not being taking care of,
send a reminder to mailing list or, even better (less chances to be
forgotten), open a case on Github issue tracker:
- https://github.com/kamailio/kamailio/issues
Wishing everyone a great 2015!
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda