sip-router
9 years agomodules_k/dialog: Enhance unref_dlg_from_cb() robustness.
Timo Reimann [Tue, 2 Nov 2010 18:06:12 +0000 (19:06 +0100)]
modules_k/dialog: Enhance unref_dlg_from_cb() robustness.

- Check parameter for NULL pointer.
- Call unreference_dlg(), thus being more wrapper-ish.
- Fix indention.

9 years agotrie API Fixed dtrie_insert OOM handling, where assert() was wrongfully used
Marius Zbihlei [Tue, 2 Nov 2010 09:45:15 +0000 (11:45 +0200)]
trie API Fixed dtrie_insert OOM handling, where assert() was wrongfully used

Now the function behaves as expected, freeing previous allocated resources, logging the OOM condition , and returning -1

9 years agomodules/lcr: fixed setting of tag_avp by next_gw() function
Juha Heinanen [Mon, 1 Nov 2010 21:00:47 +0000 (23:00 +0200)]
modules/lcr: fixed setting of tag_avp by next_gw() function

9 years agodialog: added missing parameter in example
Daniel-Constantin Mierla [Fri, 29 Oct 2010 19:41:17 +0000 (21:41 +0200)]
dialog: added missing parameter in example

9 years agodialog(k): set null value parameter for get_dlg_profile() with 2 params
Daniel-Constantin Mierla [Fri, 29 Oct 2010 18:51:16 +0000 (20:51 +0200)]
dialog(k): set null value parameter for get_dlg_profile() with 2 params

- because of using same internal function for cfg get_dlg_profile(...),
  when only 2 params were provided, the third was unpredicted and not
  null most probably, potentially resulting in a crash
- reported by Eugene Oden

9 years agodispatcher: docs updated - routing block types for functions
Daniel-Constantin Mierla [Fri, 29 Oct 2010 16:51:14 +0000 (18:51 +0200)]
dispatcher: docs updated - routing block types for functions

9 years agosanity: docs updated with autodrop parameter
Daniel-Constantin Mierla [Fri, 29 Oct 2010 15:09:39 +0000 (17:09 +0200)]
sanity: docs updated with autodrop parameter

9 years agosanity: parameter to control dropping of broken messages
Daniel-Constantin Mierla [Fri, 29 Oct 2010 14:50:42 +0000 (16:50 +0200)]
sanity: parameter to control dropping of broken messages

- new modparam autodrop to be able to return to config even when the
  message is broken
- default value is 1 - drop (return 0) - for backward compatibility
- set it to 0 to get return -1 to config - take care in config to exit
  execution. This mode is good for logging purposes
- autodrop=0 helps to get similar functionality for error_route in
  1.5.x, where such cases could be recorded to xlog
- reported by Sergey Okhapkin

9 years agodialog(k): reset the pointer value after free
Daniel-Constantin Mierla [Fri, 29 Oct 2010 09:52:59 +0000 (11:52 +0200)]
dialog(k): reset the pointer value after free

- otherwise may result in double free, reported by Alex Balashov

9 years agomodules/carrierroute Improved documentation of carrierroute reply_code field
Marius Zbihlei [Thu, 28 Oct 2010 10:37:00 +0000 (13:37 +0300)]
modules/carrierroute Improved documentation of carrierroute reply_code field

The documentation didn't make it clear that regex are _not_ supported.
Thanks go to Iñaki Baz Castillo for reporting.

9 years agoMerge remote branch 'origin/tirpi/cfg_framework_multivalue'
Miklos Tirpak [Wed, 27 Oct 2010 11:03:59 +0000 (13:03 +0200)]
Merge remote branch 'origin/tirpi/cfg_framework_multivalue'

* origin/tirpi/cfg_framework_multivalue: (33 commits)
  cfg framework: fix uninitialized group_inst pointers
  xmlrpc: scan resets the error code
  cfg_rpc: group can be specified for cfg.list
  cfg_rpc: cfg.set and cfg.set_delayed commands added
  ctl: rpc->scan does not immediately send out errors
  cfg_rpc: documentation update - group instances
  cfg framework: multiple group instances is documented
  cfg framework: timer must reset the handles more frequently
  cfg framework: cfg_select() and cfg_reset() added
  cfg framework: group handle can be moved runtime
  cfg framework: group instance support in the script
  cfg framework: apply the values in the order they are set
  cfg framework: translate_pointer bugfix
  cfg framework: apply additional var list bugfix
  cfg framework: apply the additional variable list
  cfg framework: group instance support before forking
  cfg framework: CFG_GROUP_UNKNOWN group type
  cfg framework: cfg_commit() log message fixes
  cfg_db: updated to the cfg framework changes
  cfg_db: updated to the cfg framework changes
  ...

9 years agodb_text(k): fixed db_url driver name
Daniel-Constantin Mierla [Tue, 26 Oct 2010 19:15:11 +0000 (21:15 +0200)]
db_text(k): fixed db_url driver name

- it has to be 'text' instead of 'dbtext'
- db_text should work as well, according to db driver names and module
  names
- reported by Jeremya

9 years agosanity: update docs related to return code
Daniel-Constantin Mierla [Tue, 26 Oct 2010 08:25:03 +0000 (10:25 +0200)]
sanity: update docs related to return code

- sanity_check() returns false if a test fails
- reported by Sergey Okhapkin

9 years agoauth_db(k): note about empty realm parameter
Daniel-Constantin Mierla [Sun, 24 Oct 2010 21:03:59 +0000 (23:03 +0200)]
auth_db(k): note about empty realm parameter

- empty realm is no longer allowed, use $td of $fd if you have
  multi-domain

9 years agoauth: fixe typo in docs
Daniel-Constantin Mierla [Sun, 24 Oct 2010 21:03:45 +0000 (23:03 +0200)]
auth: fixe typo in docs

9 years agohtable: updated example with www auth
Daniel-Constantin Mierla [Sun, 24 Oct 2010 18:48:56 +0000 (20:48 +0200)]
htable: updated example with www auth

- some more details about hash tables

9 years agoauth_db(k): updated return codes meaning
Daniel-Constantin Mierla [Sun, 24 Oct 2010 18:33:01 +0000 (20:33 +0200)]
auth_db(k): updated return codes meaning

- authentication functions use now auth module that was inherited from
  ser for better nonce protection and performances, therefore the return
  codes have different meanings

9 years agocfg framework: fix uninitialized group_inst pointers
Miklos Tirpak [Fri, 22 Oct 2010 12:35:33 +0000 (14:35 +0200)]
cfg framework: fix uninitialized group_inst pointers

9 years agopkg debian: Provide generic ChangeLog file
Jon Bonilla [Thu, 21 Oct 2010 08:18:39 +0000 (10:18 +0200)]
pkg debian: Provide generic ChangeLog file
  Instead of providing  debian/changelog, the system will install the generic and much more informative ./ChangeLog in /usr/share/doc/kamailio/changelog.gz.
  debian/changelog will be installed as /usr/share/doc/kamailio/changelog.Debian.gz

9 years agotm: fix possible uninit. use of cancel_reason
Andrei Pelinescu-Onciul [Wed, 20 Oct 2010 16:38:11 +0000 (18:38 +0200)]
tm: fix possible uninit. use of cancel_reason

In some cases  an uninitialized cancel_reason structure was used
(e.g. fake_reply() and relay_reply() failing).

Reported-by: Alex Balashov abalashov evaristesys com
9 years agocfg framework: segfault during exit is fixed
Miklos Tirpak [Wed, 20 Oct 2010 13:32:18 +0000 (15:32 +0200)]
cfg framework: segfault during exit is fixed

Verify that *cfg_global is not NULL when destroying the
configuration.

t_set_fr("@cfg_get.local.invite_timeout", "@cfg_get.local.gw_timeout");
caused a segfault during startup when the variable was not defined.

Reported by Juha Heinanen

9 years agotm: fixed typo in docs
Daniel-Constantin Mierla [Wed, 20 Oct 2010 10:54:40 +0000 (12:54 +0200)]
tm: fixed typo in docs

- some ingeter parameters related to control of reason header for local
  cancel were provided as string values instead of integer
- reported by Mikko Lehto

9 years agopdbt: add another possible data source for german carrier directory
Henning Westerholt [Wed, 20 Oct 2010 07:30:46 +0000 (09:30 +0200)]
pdbt: add another possible data source for german carrier directory

9 years agoavpops: doc fixes
Henning Westerholt [Mon, 18 Oct 2010 15:53:06 +0000 (17:53 +0200)]
avpops: doc fixes

- remove obselete TM reference, rephrase text a bit
- reported from Andrew Pogrebennyk, andrew dot pogrebennyk at portaone dot com

9 years agomodules/utils: added is_int() function
Juha Heinanen [Sat, 16 Oct 2010 13:42:44 +0000 (16:42 +0300)]
modules/utils: added is_int() function
- added is_int() function that checks if its pvar argument contains
  integer value.  better place would be core, but that is out of my
  reach.

9 years agoauth: doc - auth_checks_* warning and better example
Andrei Pelinescu-Onciul [Fri, 15 Oct 2010 09:51:37 +0000 (11:51 +0200)]
auth: doc - auth_checks_* warning and better example

- warn about using from_tag check for REGISTERs and out-of-dialog
  messages
- better auth_checks_* examples (taken from sip-router-oob.cfg)
- xml fixes

9 years agoauth: minor log messages, comments and sanity fixes
Andrei Pelinescu-Onciul [Fri, 15 Oct 2010 09:47:51 +0000 (11:47 +0200)]
auth: minor log messages, comments and sanity fixes

- use sizeof(nc_t) when initializing a nonce count tracking entry
 (do not assume nc_t is char). This does not affect existing code.
- removed a debugging ERR message
- various minor comment fixes

9 years agocore: apply all subst pre-processor directives
Daniel-Constantin Mierla [Fri, 15 Oct 2010 09:19:18 +0000 (11:19 +0200)]
core: apply all subst pre-processor directives

- previously first applied subst stopped the processes
- reported by Alex Balashov

9 years agoauth: fix pool no. when both nc and otn are enabled
Andrei Pelinescu-Onciul [Fri, 15 Oct 2010 08:09:03 +0000 (10:09 +0200)]
auth: fix pool no. when both nc and otn are enabled

When both nonce_count and one_time_nonce are enabled in the same
time, the pool number was corrupted leading to crashes.

Reported-by: Alex Balashov abalashov evaristesys com
9 years agopkg: Move ser related packaging files to pkg/ser
Jon Bonilla [Thu, 14 Oct 2010 19:56:36 +0000 (21:56 +0200)]
pkg: Move ser related packaging files to pkg/ser

9 years agomodules/lcr: replaced lcr_upgrade_from_3.0.sh with lcr_upgrade_from_3.1.sh
Juha Heinanen [Thu, 14 Oct 2010 14:15:06 +0000 (17:15 +0300)]
modules/lcr: replaced lcr_upgrade_from_3.0.sh with lcr_upgrade_from_3.1.sh

9 years agomodules/lcr: [from|to][any]_gw functions now check also transport protocol
Juha Heinanen [Thu, 14 Oct 2010 13:42:59 +0000 (16:42 +0300)]
modules/lcr: [from|to][any]_gw functions now check also transport protocol

9 years agomodules_k/userblacklist: Fixed alphanum checking if number had trailing non-digit...
Marius Zbihlei [Thu, 14 Oct 2010 08:53:11 +0000 (11:53 +0300)]
modules_k/userblacklist: Fixed alphanum checking if number had trailing non-digit char

9 years agotest/unit/25.cfg: Forgot to set match mode in test
Marius Zbihlei [Thu, 14 Oct 2010 08:13:03 +0000 (11:13 +0300)]
test/unit/25.cfg: Forgot to set match mode in test

Match mode is set to alphanumerical now.

9 years agosiptrace: don't attempt to get reply reason for ack
Daniel-Constantin Mierla [Wed, 13 Oct 2010 11:04:14 +0000 (13:04 +0200)]
siptrace: don't attempt to get reply reason for ack

- for sl filtered ack, execution of sl callback attempted to set the len
  of reply reason, which does not exist in this case
- reported by MÉSZÁROS Mihály

9 years agoauth: restore deleted nid_pool_no parameter
Andrei Pelinescu-Onciul [Wed, 13 Oct 2010 06:13:51 +0000 (08:13 +0200)]
auth: restore deleted nid_pool_no parameter

In commit c53bc97968e4ac2ddf5b8a23af44942e8d50e7b3 the nid_pool_no
parameter was removed by mistake.

Reported-by: Alex Balashov abalashov evaristesys com
9 years agodebian: fix radius build depends
Andrei Pelinescu-Onciul [Wed, 13 Oct 2010 06:06:10 +0000 (08:06 +0200)]
debian: fix radius build depends

9 years agoregistrar(s): doc - fix reply_reason_attr name
Andrei Pelinescu-Onciul [Tue, 12 Oct 2010 17:31:07 +0000 (19:31 +0200)]
registrar(s): doc - fix reply_reason_attr name

The docs used reply_code_reason_attr instead of reply_reason_attr.

9 years agoregistrar(s): support for disabled code, reason and contact AVPs
Andrei Pelinescu-Onciul [Wed, 6 Oct 2010 17:06:42 +0000 (19:06 +0200)]
registrar(s): support for disabled code, reason and contact AVPs

reply_code_attr, reply_reason_attr and contact_attr modparams can
now be set to "" to disable setting the corresponding AVPs when
a save*_noreply() is used (speed-up if not needed).

9 years agoregistrar(s): support for disabled aor_attr and server_id_attr
Andrei Pelinescu-Onciul [Wed, 6 Oct 2010 16:53:14 +0000 (18:53 +0200)]
registrar(s): support for disabled aor_attr and server_id_attr

If aor_attr or server_id_attr are empty ("") don't try to use
them.

9 years agoINSTALL: updates to reflect flavour switching
Daniel-Constantin Mierla [Tue, 12 Oct 2010 20:50:28 +0000 (22:50 +0200)]
INSTALL: updates to reflect flavour switching

9 years agopv: new PV $timef(format)
Daniel-Constantin Mierla [Tue, 12 Oct 2010 17:16:08 +0000 (19:16 +0200)]
pv: new PV $timef(format)

- print strftime() formatted time
- e.g.,: $timef(%Y%m%d%H%M) => 201010121920
- max internal buf for printed value is 64
- it uses a static buffer, so clone the value if you use the PV many
  times with different formats

9 years agomodules_k/rr: record_route_preset enahancement
Ovidiu Sas [Tue, 12 Oct 2010 16:59:13 +0000 (12:59 -0400)]
modules_k/rr: record_route_preset enahancement

 - record_route_preset takes a second parameter allowing
   the setting of a second Record-Route header
 - new rr param 'enable_socket_mismatch_warning': enables or
   disables a warning log

 - closes FS#91 - record_route_preset enhancement

9 years agoacc(k): update of documentation
Daniel-Constantin Mierla [Tue, 12 Oct 2010 12:59:23 +0000 (14:59 +0200)]
acc(k): update of documentation

9 years agoacc(k): table name for db acc can be dynamic
Daniel-Constantin Mierla [Tue, 12 Oct 2010 12:52:07 +0000 (14:52 +0200)]
acc(k): table name for db acc can be dynamic

- you can include variables in table name and will be evaluated at
  runtime:
    modparam("acc", "db_table_acc", "acc_$time(year)_$time(mon)")
  will write now to table acc_2010_10
- same can be done for missed_calls table name
- second parameter of acc_db_request() supports as well config variables

9 years agoMakefile.defs: version set to 3.2.0-dev1
Daniel-Constantin Mierla [Tue, 12 Oct 2010 11:16:17 +0000 (13:16 +0200)]
Makefile.defs: version set to 3.2.0-dev1

9 years agomodules/lcr: forgot to increase lcr_gw table version
Juha Heinanen [Tue, 12 Oct 2010 08:41:32 +0000 (11:41 +0300)]
modules/lcr: forgot to increase lcr_gw table version

9 years agomodules/lcr: changes and new features
Juha Heinanen [Mon, 11 Oct 2010 18:16:28 +0000 (21:16 +0300)]
modules/lcr: changes and new features
- New module parameter tag_avp.
- Renamed lcr_gw table's tag field to prefix field.
- Renamed dont_strip_or_tag_flag module parameter to
  dont_strip_or_prefix_flag.
- Added optional tag_avp module parameter and made lcr_flags module
  parameter optional.
- Added tag field to lcr_gw table whose value is assigned to possible
  tag_avp by next_gw() and from_gw() functions.
- Increased lc_gw tables version number to 2.
- load_gws() can take uri_user param, value of which is used instead of
  Request URI user part by load_gws() function.
- Parameters of load_gw() function must be given without quotes.

9 years agopkg debian generic
Jon Bonilla [Mon, 11 Oct 2010 16:56:52 +0000 (18:56 +0200)]
pkg debian generic
   geoip modules added to the debian generic folder
(cherry picked from commit 21a3752bf31a8e6cc488d26e43a48dae11b90575)

9 years agopkg debian
Jon Bonilla [Mon, 11 Oct 2010 16:54:09 +0000 (18:54 +0200)]
pkg debian
   change path of different debian folders under pkg/kamailio to a generic pkg/kamailio/deb
   lenny and lucid are no longer symlinks
(cherry picked from commit 55178d48a2fdfb3f468a4a9afa00a11ca47beba7)

9 years agomodules_k/rtpproxy: fix rtpproxy_offer/answer when called with a second parameter
Ovidiu Sas [Fri, 8 Oct 2010 16:02:30 +0000 (12:02 -0400)]
modules_k/rtpproxy: fix rtpproxy_offer/answer when called with a second parameter

 - closes FS#69
   - nathelper.c: rtpproxy_offer / rtpproxy_answer (str2 parameter ignored)
   - reported by Marc Villacorta

9 years agomodules_k/rtpproxy: remove obsolete force_rtp_proxy and swap flag
Ovidiu Sas [Fri, 8 Oct 2010 15:41:24 +0000 (11:41 -0400)]
modules_k/rtpproxy: remove obsolete force_rtp_proxy and swap flag

9 years agosiptrace: print error message if trace flag is invalid
Daniel-Constantin Mierla [Mon, 11 Oct 2010 15:06:36 +0000 (17:06 +0200)]
siptrace: print error message if trace flag is invalid

9 years agosl: init register_cb in SL API
Daniel-Constantin Mierla [Mon, 11 Oct 2010 15:05:19 +0000 (17:05 +0200)]
sl: init register_cb in SL API

- used by siptrace, discovered while investigating issue reported by
  MÉSZÁROS Mihály

9 years agomqueue: free items removed because of exceeding queue size
Elena-Ramona Modroiu [Mon, 11 Oct 2010 13:27:37 +0000 (15:27 +0200)]
mqueue: free items removed because of exceeding queue size

9 years agomqueue: return false if queue is empty
Elena-Ramona Modroiu [Mon, 11 Oct 2010 10:20:24 +0000 (12:20 +0200)]
mqueue: return false if queue is empty

- return code -2
- reported by Alex Balashov

9 years agomodules_k/userblacklist : extended userblacklist module so also alphanumerical matche...
Marius Zbihlei [Mon, 11 Oct 2010 09:45:57 +0000 (12:45 +0300)]
modules_k/userblacklist : extended userblacklist module so also alphanumerical matches are possible

Also updated doc and test.

9 years agoStill hating git
Jon Bonilla [Sat, 9 Oct 2010 23:41:12 +0000 (01:41 +0200)]
Still hating git

9 years agopkg debian
Jon Bonilla [Sat, 9 Oct 2010 23:37:15 +0000 (01:37 +0200)]
pkg debian

  * Use libreadline-dev generic instead of libreadline5-dev as dependency
(cherry picked from commit b532368d655fb7b08c44120c85eb09ff545bab44)

Conflicts:

pkg/kamailio/debian-squeeze/control
pkg/kamailio/debian/control

9 years ago* kamailio packaging changes for 3.1 branch
Jon Bonilla [Wed, 6 Oct 2010 22:26:23 +0000 (00:26 +0200)]
* kamailio packaging changes for 3.1 branch
  * changelog version update with proper date
  * debian-etch support dropped
  * kamailio-xmlrpc transitional package created (to proper handling of upgrades)
  * new module package creation and dependency tracking
(cherry picked from commit 9781988041b0da8cd2ee25147c2a2ace8a42fb1b)

9 years agopermissions(k): better hint for db load problem
Daniel-Constantin Mierla [Sat, 9 Oct 2010 09:21:26 +0000 (11:21 +0200)]
permissions(k): better hint for db load problem

- tell that the record is invalid
- some identations to reveal the inner blocks

9 years agoAdded editor attribution to myself as non-trivial content was added by
Alex Balashov [Sat, 9 Oct 2010 09:08:29 +0000 (05:08 -0400)]
Added editor attribution to myself as non-trivial content was added by
me to GeoIP docs.

9 years agomodules/auth: fixed sending of [www|proxy]_challenge reply
Juha Heinanen [Thu, 7 Oct 2010 14:59:27 +0000 (17:59 +0300)]
modules/auth: fixed sending of [www|proxy]_challenge reply
- By default, [www|proxy]_challenge functions now send reply statefully
  if transaction exists and statelessly otherwise.
- Added force_stateless_reply module param that can be used to change
  the default behavior.
- Credits to Andrei Pelinescu-Onciul.

9 years agomodules/auth: fixed comment in nonce_count example
Juha Heinanen [Thu, 7 Oct 2010 12:57:27 +0000 (15:57 +0300)]
modules/auth: fixed comment in nonce_count example

9 years agoxmlrpc: scan resets the error code
Miklos Tirpak [Thu, 7 Oct 2010 11:32:30 +0000 (13:32 +0200)]
xmlrpc: scan resets the error code

This way, the scan can be retried, and RPC functions
with multi-type parameters can be supported:

if (rpc->scan(c, "d",&i) == 1)
/* int parameter */
else if (rpc->scan(c, "s",&ch) == 1)
/* char* parameter */
else
return /* error */

9 years agokamctl: exit 1 in case of lcr commands
Daniel-Constantin Mierla [Wed, 6 Oct 2010 13:28:18 +0000 (15:28 +0200)]
kamctl: exit 1 in case of lcr commands

- reported by Inaki Baz Castillo
(cherry picked from commit 738646b73246062196939b0105230d744ff326e7)

9 years agokamctl: lcr commands disabled
Daniel-Constantin Mierla [Wed, 6 Oct 2010 10:27:28 +0000 (12:27 +0200)]
kamctl: lcr commands disabled

- only left enabled is the one related to weights
- the commands were not using latest db schema
- Juha suggested handling lcr via kamctl is too complex to scale, so
  commands are disabled until new code is contributed
(cherry picked from commit 252fcd963637e92727e58f6c1b84bf06200eee12)

9 years agoapp_lua: fix finding lua libs
Daniel-Constantin Mierla [Tue, 5 Oct 2010 21:38:20 +0000 (23:38 +0200)]
app_lua: fix finding lua libs

- if pkg-config fails to find lua libs, use default values
(cherry picked from commit 6e65634bb10568767700d999437ee5194765d6e8)

9 years agoauth: fix unparsed from header usage
Andrei Pelinescu-Onciul [Thu, 7 Oct 2010 08:06:20 +0000 (10:06 +0200)]
auth: fix unparsed from header usage

The from parsing check did not parse also the from body.

9 years agomodules_k/rtpproxy/examples: update examples to use rtpproxy_offer/rtpproxy_answer...
Ovidiu Sas [Wed, 6 Oct 2010 23:24:43 +0000 (19:24 -0400)]
modules_k/rtpproxy/examples: update examples to use rtpproxy_offer/rtpproxy_answer functions

9 years agoregistrar(s): doc - updated parameters
Andrei Pelinescu-Onciul [Wed, 6 Oct 2010 16:29:06 +0000 (18:29 +0200)]
registrar(s): doc - updated parameters

Added documentation for save_nat_flag, load_nat_flag,
trust_received_flag, received_to_uri, reply_code_attr,
reply_code_reason, contact_attr, aor_attr and server_id_attr.
README regenerated.

9 years agoxmlops: regenerate README after doc change
Henning Westerholt [Wed, 6 Oct 2010 09:30:44 +0000 (11:30 +0200)]
xmlops: regenerate README after doc change

9 years agoAdded note on latent operations to xhttp docs in order to help
Alex Balashov [Wed, 6 Oct 2010 09:19:11 +0000 (05:19 -0400)]
Added note on latent operations to xhttp docs in order to help
educate users preemptively about a common pitfall that many
implementors of web service interfaces inside Kamailio/sip-router
are likely to make.

9 years agoOne more fix to xhttp documentation.
Alex Balashov [Wed, 6 Oct 2010 07:15:26 +0000 (03:15 -0400)]
One more fix to xhttp documentation.

9 years agoSome typo fixes and minor tweaks to xmlops docs.
Alex Balashov [Wed, 6 Oct 2010 07:10:47 +0000 (03:10 -0400)]
Some typo fixes and minor tweaks to xmlops docs.

9 years agoFixed some typos in xhttp module docs.
Alex Balashov [Wed, 6 Oct 2010 07:08:05 +0000 (03:08 -0400)]
Fixed some typos in xhttp module docs.

9 years agoSome minor tweaks to documentation for textopsx.
Alex Balashov [Wed, 6 Oct 2010 07:04:09 +0000 (03:04 -0400)]
Some minor tweaks to documentation for textopsx.

9 years agoAdded some clarifications and additional information to the 'geoip' docs.
Alex Balashov [Wed, 6 Oct 2010 06:51:23 +0000 (02:51 -0400)]
Added some clarifications and additional information to the 'geoip' docs.

9 years agoAdded regenerated README for 'debugger' as well, because that seems to
Alex Balashov [Wed, 6 Oct 2010 06:33:44 +0000 (02:33 -0400)]
Added regenerated README for 'debugger' as well, because that seems to
be the convention for doc changes.  Is it?

9 years agoSome clarification and cleanup to 'debugger' module docs.
Alex Balashov [Wed, 6 Oct 2010 06:32:23 +0000 (02:32 -0400)]
Some clarification and cleanup to 'debugger' module docs.

9 years agoCleaned up some grammatical errors and added some clarification to
Alex Balashov [Wed, 6 Oct 2010 06:22:08 +0000 (02:22 -0400)]
Cleaned up some grammatical errors and added some clarification to
blst module documentation.

9 years agoFixed typo in 'xhttp' module documentation.
Alex Balashov [Wed, 6 Oct 2010 00:28:28 +0000 (20:28 -0400)]
Fixed typo in 'xhttp' module documentation.

9 years agoFixed a typo in 'matrix' module documentation.
Alex Balashov [Wed, 6 Oct 2010 00:27:10 +0000 (20:27 -0400)]
Fixed a typo in 'matrix' module documentation.

9 years agoversion set to 3.1.0-rc1
Andrei Pelinescu-Onciul [Tue, 5 Oct 2010 18:09:20 +0000 (20:09 +0200)]
version set to 3.1.0-rc1

9 years agonathelper(k): 64 bit warning fix
Andrei Pelinescu-Onciul [Tue, 5 Oct 2010 18:05:42 +0000 (20:05 +0200)]
nathelper(k): 64 bit warning fix

- "%d" in format and long arg.

9 years agortpproxy(k): 64 bit warning fixes
Andrei Pelinescu-Onciul [Tue, 5 Oct 2010 18:04:50 +0000 (20:04 +0200)]
rtpproxy(k): 64 bit warning fixes

- "%d" in format and long arg.
- int to pointer conversion

9 years agosiputils(k): pointer to int conversion warning fix
Andrei Pelinescu-Onciul [Tue, 5 Oct 2010 18:03:22 +0000 (20:03 +0200)]
siputils(k): pointer to int conversion warning fix

9 years agomake: exclude seas if -DWITH_AS_SUPPORT was not set
Andrei Pelinescu-Onciul [Tue, 5 Oct 2010 17:23:17 +0000 (19:23 +0200)]
make: exclude seas if -DWITH_AS_SUPPORT was not set

9 years agoregistrar(s): marked obsoleted params
Andrei Pelinescu-Onciul [Tue, 5 Oct 2010 17:20:03 +0000 (19:20 +0200)]
registrar(s): marked obsoleted params

- removed use_domain (not present since ser 0.9.0)
- marked as removed & obsolete case_sensitive and desc_time_order
- minor fixes
- regenerated README

9 years agoregistrar(s): fix compilation with old gccs
Andrei Pelinescu-Onciul [Tue, 5 Oct 2010 16:46:14 +0000 (18:46 +0200)]
registrar(s): fix compilation with old gccs

Older gcc do no accept conditionals (#if) in macro arguments.

9 years agocore: no function name in logs for gcc 2.95
Andrei Pelinescu-Onciul [Tue, 5 Oct 2010 16:43:54 +0000 (18:43 +0200)]
core: no function name in logs for gcc 2.95

For old gccs check if __FUNCTION__ is defined before enabling
logging of the function name. This fixes compilation with gcc
2.95.

9 years agocfg_rpc: group can be specified for cfg.list
Miklos Tirpak [Tue, 5 Oct 2010 14:50:51 +0000 (16:50 +0200)]
cfg_rpc: group can be specified for cfg.list

- cfg.list without any parameter lists all the cfg variables.
- cfg.list <group name> lists only the variables of the specific group.

9 years agocfg_rpc: cfg.set and cfg.set_delayed commands added
Miklos Tirpak [Tue, 5 Oct 2010 14:15:44 +0000 (16:15 +0200)]
cfg_rpc: cfg.set and cfg.set_delayed commands added

cfg.set is a shortcut to cfg.set_now_int and cfg.set_now_string
depending on the parameter type, i.e the syntax is:

cfg.set <group> <var> <int/string value>
or
cfg.set <group>[id] <var> <int/string value>

Similarly, cfg.set_delayed is a shortcut to cfg.set_delayed_int/string

9 years agoctl: rpc->scan does not immediately send out errors
Miklos Tirpak [Tue, 5 Oct 2010 14:09:27 +0000 (16:09 +0200)]
ctl: rpc->scan does not immediately send out errors

When the rpc scan function cannot read a parameter because of
a type mismatch, the function only prepares the error reply but
does not send it out immediately. The scan can be retried with
different parameter specification which resets the prepared
error message.

This allows variable types of parameters of the same rpc function,
for example:

if (rpc->scan(c, "d", &i) == 1)
/* int parameter */
else if (rpc->scan(c, "s", &ch) == 1)
/* char* parameter */
else
return /* error */

9 years agocfg_rpc: documentation update - group instances
Miklos Tirpak [Tue, 5 Oct 2010 09:40:38 +0000 (11:40 +0200)]
cfg_rpc: documentation update - group instances

The module documentation is updated with the following changes:
- group parameter can be in the form of group[id].
- "cfg_rpc" -> "cfg" command prefix is corrected.
- cfg.add_group_inst and cfg.del_group_inst command are added.

9 years agokamailio/rpm/kamailio.spec.CenOS: enable ldap modules
Ovidiu Sas [Tue, 5 Oct 2010 09:36:08 +0000 (05:36 -0400)]
kamailio/rpm/kamailio.spec.CenOS: enable ldap modules

9 years agopkg/kamailio/rpm/kamailio.spec.CenOS: enable app_lua
Ovidiu Sas [Tue, 5 Oct 2010 07:29:02 +0000 (03:29 -0400)]
pkg/kamailio/rpm/kamailio.spec.CenOS: enable app_lua

9 years agomodules/carrierroute: update linking flags on CentOS systems
Ovidiu Sas [Tue, 5 Oct 2010 07:25:59 +0000 (03:25 -0400)]
modules/carrierroute: update linking flags on CentOS systems

9 years agomodules/app_lua: fix linking flags
Ovidiu Sas [Tue, 5 Oct 2010 07:25:05 +0000 (03:25 -0400)]
modules/app_lua: fix linking flags

9 years agoapp_python: include dset.h
Daniel-Constantin Mierla [Tue, 5 Oct 2010 07:29:54 +0000 (09:29 +0200)]
app_python: include dset.h

- get rid of compile warning for ruri_mark_new()
- reported by Ovidiu Sas