sip-router
4 years agoMakefile.rules: added target tags as alias for target TAGS
Daniel-Constantin Mierla [Mon, 11 Apr 2016 10:57:31 +0000 (12:57 +0200)]
Makefile.rules: added target tags as alias for target TAGS

4 years agoapp_lua: cleanup of indentation
Daniel-Constantin Mierla [Mon, 11 Apr 2016 10:53:22 +0000 (12:53 +0200)]
app_lua: cleanup of indentation

4 years agohtable Minor typo fixup
Olle E. Johansson [Fri, 8 Apr 2016 13:20:28 +0000 (15:20 +0200)]
htable Minor typo fixup

4 years agoMakefile.defs: re-enable mem join define
Daniel-Constantin Mierla [Fri, 8 Apr 2016 13:10:55 +0000 (15:10 +0200)]
Makefile.defs: re-enable mem join define

- lost when introduced the option to select the memory manager by
  command line parameter -x

4 years agortpengine: Update doku for 'unidirectional' flag
Stefan Mititelu [Fri, 8 Apr 2016 10:48:17 +0000 (13:48 +0300)]
rtpengine: Update doku for 'unidirectional' flag

Added new 'unidirectional' flag in Sipwise rtpengine.

4 years agocore: new global parameter log_prefix_mode
Daniel-Constantin Mierla [Thu, 7 Apr 2016 07:39:44 +0000 (09:39 +0200)]
core: new global parameter log_prefix_mode

- if set to 0 (default), then log_prefix is evaluated when the sip
  message is received and then reused (recommended if the log_prefix has
  only variables that have same value for same message). This is the
  current behaviour of log_prefix evaluation.
- if set to 1, then the log prefix is evaluated before/after each config
  action (needs to be set when the log_prefix has variables that are
  different based on the context of config execution, e.g., $cfg(line))

4 years agodialog: rested dialog keeplive failure counters on good reply
Daniel-Constantin Mierla [Wed, 6 Apr 2016 17:56:39 +0000 (19:56 +0200)]
dialog: rested dialog keeplive failure counters on good reply

4 years agocore: common check for ifa->ifa_addr in add_intefaces
Daniel-Constantin Mierla [Wed, 6 Apr 2016 17:22:58 +0000 (19:22 +0200)]
core: common check for ifa->ifa_addr in add_intefaces

- if no ip address associated with the network interface, it is not
  useful anyhow

4 years agocore: check if ifa_addr field is set while trying to skip AF_PACKET interfaces
Daniel-Constantin Mierla [Wed, 6 Apr 2016 16:55:57 +0000 (18:55 +0200)]
core: check if ifa_addr field is set while trying to skip AF_PACKET interfaces

- reported by Juha Heinanen

4 years agopv: readme update with pv_evalx()
Daniel-Constantin Mierla [Tue, 5 Apr 2016 05:31:29 +0000 (07:31 +0200)]
pv: readme update with pv_evalx()

4 years agopv: documentation for pv_evalx() function
Daniel-Constantin Mierla [Tue, 5 Apr 2016 05:27:15 +0000 (07:27 +0200)]
pv: documentation for pv_evalx() function

4 years agopv: new function pv_evalx(dst, fmt)
Daniel-Constantin Mierla [Tue, 5 Apr 2016 05:18:28 +0000 (07:18 +0200)]
pv: new function pv_evalx(dst, fmt)

- the fmt string is evaluated twice for exiting variables, the result is
  stored in dst variable
- example:

$var(x) = "test";
$var(y) = "$var(x)"
pv_evalx("$var(z)", "$var(y) one");

the valye of $var(z) is "test one"

4 years agohttp_client Fix formatting of source code
Olle E. Johansson [Mon, 4 Apr 2016 20:12:42 +0000 (22:12 +0200)]
http_client Fix formatting of source code

4 years agortpengine Add result code for rtpengine_offer (et al) to README and regenerate README
Olle E. Johansson [Mon, 4 Apr 2016 10:49:56 +0000 (12:49 +0200)]
rtpengine Add result code for rtpengine_offer (et al) to README and regenerate README

4 years agondb_redis: regenerated text readme
Daniel-Constantin Mierla [Mon, 4 Apr 2016 07:25:15 +0000 (09:25 +0200)]
ndb_redis: regenerated text readme

4 years agondb_redis: added parameters to control connect and command timeouts
Morten Isaksen [Mon, 4 Apr 2016 07:24:13 +0000 (09:24 +0200)]
ndb_redis: added parameters to control connect and command timeouts

4 years agodialog: option to set the limit for failed keepalive to end the dialog
Daniel-Constantin Mierla [Mon, 4 Apr 2016 07:02:43 +0000 (09:02 +0200)]
dialog: option to set the limit for failed keepalive to end the dialog

- new parameter ka_failed_limit, default value is 1

4 years agocore: declare function parameter type to get rid of compile warning
Daniel-Constantin Mierla [Mon, 4 Apr 2016 06:53:12 +0000 (08:53 +0200)]
core: declare function parameter type to get rid of compile warning

4 years agodialog: counters for keep alive tracking
Daniel-Constantin Mierla [Mon, 4 Apr 2016 04:05:55 +0000 (06:05 +0200)]
dialog: counters for keep alive tracking

4 years agohttp_client Remove function definitions not used
Olle E. Johansson [Sun, 3 Apr 2016 19:33:07 +0000 (21:33 +0200)]
http_client Remove function definitions not used

4 years agopdb Change sip-router to "Kamailio"
Olle E. Johansson [Sun, 3 Apr 2016 18:14:14 +0000 (20:14 +0200)]
pdb Change sip-router to "Kamailio"

4 years agoatomic Remove history from source code
Olle E. Johansson [Sun, 3 Apr 2016 18:09:15 +0000 (20:09 +0200)]
atomic Remove history from source code

4 years agomem Change SIP-router to Kamailio
Olle E. Johansson [Sun, 3 Apr 2016 18:05:12 +0000 (20:05 +0200)]
mem  Change SIP-router to Kamailio

4 years agohttp_client Update TODO.
Olle E. Johansson [Sun, 3 Apr 2016 08:18:35 +0000 (10:18 +0200)]
http_client Update TODO.

4 years agohttp_client Update README for config file settings
Olle E. Johansson [Sun, 3 Apr 2016 08:13:04 +0000 (10:13 +0200)]
http_client Update README for config file settings

4 years agohttp_client Add documentation
Olle E. Johansson [Sun, 3 Apr 2016 08:11:12 +0000 (10:11 +0200)]
http_client Add documentation

4 years agohttp_client Make keep_connections work
Olle E. Johansson [Sun, 3 Apr 2016 08:06:02 +0000 (10:06 +0200)]
http_client Make keep_connections work

4 years agohttp_client Enable a keep_connection option
Olle E. Johansson [Sat, 2 Apr 2016 19:44:48 +0000 (21:44 +0200)]
http_client Enable a keep_connection option

4 years agohttp_client update TODO
Olle E. Johansson [Sat, 2 Apr 2016 06:36:55 +0000 (08:36 +0200)]
http_client update TODO

4 years agohttp_client Add documentation of new command
Olle E. Johansson [Sat, 2 Apr 2016 06:35:33 +0000 (08:35 +0200)]
http_client Add documentation of new command

4 years agohttp_client Add some debugging
Olle E. Johansson [Sat, 2 Apr 2016 06:28:22 +0000 (08:28 +0200)]
http_client Add some debugging

4 years agohttp_client Try to get redirect URL
Olle E. Johansson [Fri, 1 Apr 2016 20:17:13 +0000 (22:17 +0200)]
http_client Try to get redirect URL

4 years agoMerge branch 'master' into http_client_pkgtricks
Olle E. Johansson [Fri, 1 Apr 2016 18:41:35 +0000 (20:41 +0200)]
Merge branch 'master' into http_client_pkgtricks

* master:
  db_flatstore Edit source code headers - change product name to Kamailio etc
  db_flatstore Rename core module file to match module name
  registrar Rename core file to match module name
  db_postgres Rename core files to match module name, rename SER to Kamailio and remove svn ID's
  db_text Change core source code file name to match module name
  permissions remove svn ID's and history from source code
  websocket Rename core module name for consistensy
  auth_radius Rename module core file
  auth_radius Remove SVN ID's and history comments
  auth_identity Remove SVN ID's
  mediaproxy Rename SIP-router to Kamailio
  Dispatcher Minor edit to have proper name in source code file
  lcr Change name of software, remove SVN ID and history
  auth_identity Change product name
  db_mysql Rename core source code file to match module name

4 years agodb_flatstore Edit source code headers - change product name to Kamailio etc
Olle E. Johansson [Fri, 1 Apr 2016 16:25:42 +0000 (18:25 +0200)]
db_flatstore Edit source code headers - change product name to Kamailio etc

4 years agodb_flatstore Rename core module file to match module name
Olle E. Johansson [Fri, 1 Apr 2016 16:22:39 +0000 (18:22 +0200)]
db_flatstore Rename core module file to match module name

Issue #82

4 years agoregistrar Rename core file to match module name
Olle E. Johansson [Fri, 1 Apr 2016 16:17:06 +0000 (18:17 +0200)]
registrar Rename core file to match module name

Issue #82

4 years agodb_postgres Rename core files to match module name, rename SER to Kamailio and remove...
Olle E. Johansson [Fri, 1 Apr 2016 16:14:04 +0000 (18:14 +0200)]
db_postgres Rename core files to match module name, rename SER to Kamailio and remove svn ID's

Issue #82

4 years agodb_text Change core source code file name to match module name
Olle E. Johansson [Fri, 1 Apr 2016 16:05:33 +0000 (18:05 +0200)]
db_text Change core source code file name to match module name

Issue #82

4 years agopermissions remove svn ID's and history from source code
Olle E. Johansson [Fri, 1 Apr 2016 15:36:39 +0000 (17:36 +0200)]
permissions remove svn ID's and history from source code

4 years agowebsocket Rename core module name for consistensy
Olle E. Johansson [Fri, 1 Apr 2016 15:42:31 +0000 (17:42 +0200)]
websocket Rename core module name for consistensy

Issue #82

4 years agoauth_radius Rename module core file
Olle E. Johansson [Fri, 1 Apr 2016 15:46:36 +0000 (17:46 +0200)]
auth_radius Rename module core file

Issue #82

4 years agoauth_radius Remove SVN ID's and history comments
Olle E. Johansson [Fri, 1 Apr 2016 15:47:59 +0000 (17:47 +0200)]
auth_radius Remove SVN ID's and history comments

4 years agoauth_identity Remove SVN ID's
Olle E. Johansson [Fri, 1 Apr 2016 15:51:52 +0000 (17:51 +0200)]
auth_identity Remove SVN ID's

4 years agomediaproxy Rename SIP-router to Kamailio
Olle E. Johansson [Fri, 1 Apr 2016 15:53:04 +0000 (17:53 +0200)]
mediaproxy Rename SIP-router to Kamailio

4 years agoDispatcher Minor edit to have proper name in source code file
Olle E. Johansson [Fri, 1 Apr 2016 15:54:48 +0000 (17:54 +0200)]
Dispatcher Minor edit to have proper name in source code file

4 years agolcr Change name of software, remove SVN ID and history
Olle E. Johansson [Fri, 1 Apr 2016 15:58:38 +0000 (17:58 +0200)]
lcr Change name of software, remove SVN ID and history

4 years agoauth_identity Change product name
Olle E. Johansson [Fri, 1 Apr 2016 15:59:59 +0000 (17:59 +0200)]
auth_identity Change product name

4 years agodb_mysql Rename core source code file to match module name
Olle E. Johansson [Fri, 1 Apr 2016 16:03:10 +0000 (18:03 +0200)]
db_mysql Rename core source code file to match module name

Issue #82

4 years agohttp_client try to implement local storage for status messages on a per connection...
Olle E. Johansson [Fri, 1 Apr 2016 18:12:28 +0000 (20:12 +0200)]
http_client try to implement local storage for status messages on a per connection basis

4 years agocore: test if AF_PACKET is defined at compile time
Daniel-Constantin Mierla [Fri, 1 Apr 2016 09:10:46 +0000 (11:10 +0200)]
core: test if AF_PACKET is defined at compile time

- mac os x (and perhaps *BSDs) doesn't have it

4 years agoMerge pull request #558 from schoberw/patch-2
Daniel-Constantin Mierla [Fri, 1 Apr 2016 09:06:47 +0000 (11:06 +0200)]
Merge pull request #558 from schoberw/patch-2

core: skip address family AF_PACKET on -l iface_name

4 years agocore: skip address family AF_PACKET on -l iface_name 558/head
schoberw [Fri, 1 Apr 2016 08:34:11 +0000 (10:34 +0200)]
core: skip address family AF_PACKET on -l iface_name

- socket_info.c: getifaddrs() returns AF_PACKET, AF_INET and AF_INET6 addressed of an interface.
  AF_PACKET are of no use and breaks startup with an -l eth0:5060 cmd line param

4 years agodialog: refreshed README content with rpc dlg.terminate_dlg
Daniel-Constantin Mierla [Fri, 1 Apr 2016 07:57:59 +0000 (09:57 +0200)]
dialog: refreshed README content with rpc dlg.terminate_dlg

4 years agodialog: documentation for rpc command dlg.terminate_dlg
Yasin CANER [Fri, 1 Apr 2016 07:57:24 +0000 (09:57 +0200)]
dialog: documentation for rpc command dlg.terminate_dlg

4 years agodialog: new rpc function to terminate by sip ids
Yasin CANER [Fri, 1 Apr 2016 07:52:55 +0000 (09:52 +0200)]
dialog: new rpc function to terminate by sip ids

- end established dialog by matching callid, from and to tags

4 years agoMerge pull request #553 from adubovikov/master
Daniel-Constantin Mierla [Fri, 1 Apr 2016 07:20:56 +0000 (09:20 +0200)]
Merge pull request #553 from adubovikov/master

modules/sipcapture: fixed correlation_id pointer for HEPv2/v1

4 years agoREADME.md: coherent title formats
Daniel-Constantin Mierla [Thu, 31 Mar 2016 10:07:24 +0000 (12:07 +0200)]
README.md: coherent title formats

4 years agohttp_client Add debug and some notes in TODO
Olle E. Johansson [Wed, 30 Mar 2016 20:00:29 +0000 (22:00 +0200)]
http_client Add debug and some notes in TODO

4 years agokex Remove svn id and history from source code headers
Olle E. Johansson [Wed, 30 Mar 2016 19:45:21 +0000 (21:45 +0200)]
kex Remove svn id and history from source code headers

4 years agohttp_client Update TODO.txt with new ideas for coming release
Olle E. Johansson [Wed, 30 Mar 2016 19:06:32 +0000 (21:06 +0200)]
http_client Update TODO.txt with new ideas for coming release

Open invitation to anyone who wants to contribute. I think a major one is the "mirror list"
of httpcon objects in pkg - per process - memory for tracking status and keeping connections
open. This would be very beneficial both for speed and functionality.

4 years agoChangeLog: refreshed the content for latest stable version 4.4.0
Daniel-Constantin Mierla [Wed, 30 Mar 2016 14:34:35 +0000 (16:34 +0200)]
ChangeLog: refreshed the content for latest stable version 4.4.0

4 years agoauth_xkeys: init var to get rid of compile warnings
Daniel-Constantin Mierla [Wed, 30 Mar 2016 13:27:20 +0000 (15:27 +0200)]
auth_xkeys: init var to get rid of compile warnings

4 years agohttp_client Remove not-implemented parameter from README
Olle E. Johansson [Wed, 30 Mar 2016 13:06:01 +0000 (15:06 +0200)]
http_client Remove not-implemented parameter from README

4 years agocnxcc: incude stdlib.h to get rid of compile warnings for malloc/free
Daniel-Constantin Mierla [Wed, 30 Mar 2016 13:03:47 +0000 (15:03 +0200)]
cnxcc: incude stdlib.h to get rid of compile warnings for malloc/free

4 years agotopos: remove unused variables
Daniel-Constantin Mierla [Wed, 30 Mar 2016 12:37:45 +0000 (14:37 +0200)]
topos: remove unused variables

4 years agotopos: swapping direction handling for contact in response
Daniel-Constantin Mierla [Wed, 30 Mar 2016 12:28:27 +0000 (14:28 +0200)]
topos: swapping direction handling for contact in response

4 years agotopos: reset the flags of dlg storage record on bye
Daniel-Constantin Mierla [Wed, 30 Mar 2016 11:41:40 +0000 (13:41 +0200)]
topos: reset the flags of dlg storage record on bye

4 years agotopos: clean not confrmed dialogs from db storage based on branch expires
Daniel-Constantin Mierla [Wed, 30 Mar 2016 11:26:17 +0000 (13:26 +0200)]
topos: clean not confrmed dialogs from db storage based on branch expires

4 years agotopos: update the db storeage for confirmed dialogs
Daniel-Constantin Mierla [Wed, 30 Mar 2016 11:19:01 +0000 (13:19 +0200)]
topos: update the db storeage for confirmed dialogs

4 years agotopos: use headers to pass dlg id between receive and send of dlg requests
Daniel-Constantin Mierla [Wed, 30 Mar 2016 10:41:00 +0000 (12:41 +0200)]
topos: use headers to pass dlg id between receive and send of dlg requests

- it is no longer in the context to be used directly

4 years agotopos: restore stripped headers when receiving a dlg request
Daniel-Constantin Mierla [Tue, 29 Mar 2016 22:30:57 +0000 (00:30 +0200)]
topos: restore stripped headers when receiving a dlg request

4 years agoauth_radius Update documentation to be more clear about the different libraries supported
Olle E. Johansson [Wed, 30 Mar 2016 09:12:20 +0000 (11:12 +0200)]
auth_radius Update documentation to be more clear about the different libraries supported

4 years agohttp_client Update README with explanation of how an httpcon definition use default...
Olle E. Johansson [Wed, 30 Mar 2016 07:21:14 +0000 (09:21 +0200)]
http_client Update README with explanation of how an httpcon definition use default settings in the config file

Based on feedback from filipix in issue #541

4 years agohttp_client update TODO based on feedback from filipix in issue #541
Olle E. Johansson [Wed, 30 Mar 2016 07:17:54 +0000 (09:17 +0200)]
http_client update TODO based on feedback from filipix in issue #541

4 years agogeoip2: Improve detection of addresses used by anonymous proxies
Sergey Okhapkin [Tue, 29 Mar 2016 21:21:46 +0000 (23:21 +0200)]
geoip2: Improve detection of addresses used by anonymous proxies

4 years agopv: fix compile warning for shm_initialized() test
Daniel-Constantin Mierla [Tue, 29 Mar 2016 21:12:44 +0000 (23:12 +0200)]
pv: fix compile warning for shm_initialized() test

- coherent whitepacing across the file

4 years agopv: coherent indentation and whitespacing
Daniel-Constantin Mierla [Tue, 29 Mar 2016 21:07:19 +0000 (23:07 +0200)]
pv: coherent indentation and whitespacing

4 years agomodules/ims_dialog: improved printing of dialogs via RPC
jaybeepee [Tue, 29 Mar 2016 13:54:10 +0000 (15:54 +0200)]
modules/ims_dialog: improved printing of dialogs via RPC

4 years agomodules/ims_dialog: only create dlg_out on response codes < 299
jaybeepee [Tue, 29 Mar 2016 13:53:06 +0000 (15:53 +0200)]
modules/ims_dialog: only create dlg_out on response codes < 299

4 years agomodules/ims_dialog: extra error condition logging
jaybeepee [Tue, 29 Mar 2016 13:52:34 +0000 (15:52 +0200)]
modules/ims_dialog: extra error condition logging

4 years agomodules/ims_dialog: end all active calls
jaybeepee [Tue, 29 Mar 2016 13:49:14 +0000 (15:49 +0200)]
modules/ims_dialog: end all active calls

4 years agoUpdate hep.c 553/head
Alexandr Dubovikov [Tue, 29 Mar 2016 11:53:19 +0000 (13:53 +0200)]
Update hep.c

4 years agomodules/ims_registrar_scscf: fix to include contacts in NOTIFY on explicit dereg
Richard Good [Tue, 29 Mar 2016 08:18:11 +0000 (10:18 +0200)]
modules/ims_registrar_scscf: fix to include contacts in NOTIFY on explicit dereg

4 years agoauth_radius Remove svn id's
Olle E. Johansson [Tue, 29 Mar 2016 07:31:40 +0000 (09:31 +0200)]
auth_radius Remove svn id's

4 years agohttp_client TODO update
Olle E. Johansson [Tue, 29 Mar 2016 07:29:55 +0000 (09:29 +0200)]
http_client TODO update

4 years agohttp_client Document limitation to http and https protocols
Olle E. Johansson [Mon, 28 Mar 2016 19:08:05 +0000 (21:08 +0200)]
http_client Document limitation to http and https protocols

4 years agohttp_client Restrict protocols for redirects
Olle E. Johansson [Mon, 28 Mar 2016 19:06:16 +0000 (21:06 +0200)]
http_client Restrict protocols for redirects

4 years agohttp_client Limit protocols to HTTP and HTTPS
Olle E. Johansson [Mon, 28 Mar 2016 18:54:17 +0000 (20:54 +0200)]
http_client Limit protocols to HTTP and HTTPS

4 years agohttp_client Update TODO - remove done items
Olle E. Johansson [Mon, 28 Mar 2016 18:48:50 +0000 (20:48 +0200)]
http_client Update TODO - remove done items

4 years agohttp_client Add note about empty string in configuration file
Olle E. Johansson [Mon, 28 Mar 2016 18:42:37 +0000 (20:42 +0200)]
http_client Add note about empty string in configuration file

4 years agohttp_client Return CURL error code on CURL failures, like "can't resolve DNS"
Olle E. Johansson [Mon, 28 Mar 2016 18:21:15 +0000 (20:21 +0200)]
http_client Return CURL error code on CURL failures, like "can't resolve DNS"

4 years agoMakefile.defs: restore enabling pkg memory manager
Daniel-Constantin Mierla [Mon, 28 Mar 2016 18:17:21 +0000 (20:17 +0200)]
Makefile.defs: restore enabling pkg memory manager

- it was disabled for compiling with system malloc

4 years agohttp_client Fix typo
Olle E. Johansson [Mon, 28 Mar 2016 17:56:36 +0000 (19:56 +0200)]
http_client Fix typo

...and compile before commit...

4 years agohttp_client Adding default value of authmetod to README
Olle E. Johansson [Mon, 28 Mar 2016 17:49:50 +0000 (19:49 +0200)]
http_client Adding default value of authmetod to README

4 years agohttp_client Update README with new options (authmethod, httpproxy, httpproxyport)
Olle E. Johansson [Mon, 28 Mar 2016 17:18:09 +0000 (19:18 +0200)]
http_client Update README with new options (authmethod, httpproxy, httpproxyport)

4 years agohttp_client Add configurable authentication methods
Olle E. Johansson [Mon, 28 Mar 2016 17:09:21 +0000 (19:09 +0200)]
http_client Add configurable authentication methods

Attempt to fix issue #515

4 years agocore: mem - updated defines to pkg mod stats
Daniel-Constantin Mierla [Mon, 28 Mar 2016 12:37:59 +0000 (14:37 +0200)]
core: mem - updated defines to pkg mod stats

4 years agomodules/ims_charging: fix for incorrectly adding duplicate host and realm AVP
Richard Good [Mon, 28 Mar 2016 10:24:12 +0000 (12:24 +0200)]
modules/ims_charging: fix for incorrectly adding duplicate host and realm AVP

4 years agohttp_client Improve curl error handling
Olle E. Johansson [Mon, 28 Mar 2016 10:21:23 +0000 (12:21 +0200)]
http_client Improve curl error handling

4 years agohttp_client Add a note to TODO list
Olle E. Johansson [Mon, 28 Mar 2016 10:12:20 +0000 (12:12 +0200)]
http_client Add a note to TODO list