URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8fb8b26…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Jan 8 19:09:48 2013 +0100
core: make database version table name configurable from script
When kamailio is part of a bigger project and is sharing its database with
it, it is nice to have a less generic table name than "version".
Also usefull when upgrading kamailio, where the new version has (backwards
compatibel) changes in the database definition. If each kamailio version uses
its own version table, they can all use the same database.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=89a9db5…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Nov 5 13:33:27 2012 +0100
modules_k/kex: call pkg_proc_stats_destroy in module destroy function to free memory
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2628e12…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Oct 29 15:25:21 2012 +0100
modules_k/tmx: Add $T_reply_last, returning last reply code
Make the last/previous reply on a branch available to the script via
$T_reply_last. Only available in TM_ONREPLY_ROUTE.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a2d09db…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Oct 11 18:43:07 2012 +0200
modules/rtpproxy: Add 'b' flag to add a branch specific string tot the call-id
In a forking call, sometimes it is needed that each branch uses different
options to the rtpproxy. This patch adds a parameter that makes each
rtpproxy session unique to a branch by appending the value of a PV to the
call-id rtpproxy parameter.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f11f350…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Jul 4 17:33:50 2011 +0200
modules/avpops: avp_db_query: treat BIGINT result as INT, disregarding the most significant 32 bits.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=457d075…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Oct 11 18:28:34 2012 +0200
modules/tm: Remember per-branch onreply_route and onfailure_route settings
The onreply and onfailure routes were set only per transaction. This means
that when the onreply and/or failure route is changed in failure route (serial
forking), late replies to earlier branches would use the new onreply and
failure route instead of the routes set for them.
This commit copies the transaction's onreply and failure routes to the branch,
so the route set when the request is sent out is always chosen, no matter
how late the reply arrives.
Because the per-branch setting is copied after running onbranch_route, it is
now also possible to set the routes per-branch instead of per-transaction.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0b9f845…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Aug 29 18:44:20 2011 +0200
modules/tm: add option to check callid when matching transactions
Use this if you don't want replies/requests from broken clients, which
send a mangled Call-ID, to match the transaction. For example when
the UAC won't recognise the response anyway because of changed
Call-ID, this setting will prevent accounting records to be created
or failure_route to be skipped.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9ff6a40…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Aug 25 11:16:18 2011 +0200
modules_k/trusted: no not open DB connections if db_mode==1.
For cached operation, childs (except MI) do not need DB access
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d1a85fb…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Fri Aug 26 11:16:45 2011 +0200
modules_k/nathelper: add return value 2 to fix_nated_sdp() indicating no ip's have been replaced
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=358f0b8…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Fri Aug 26 13:08:39 2011 +0200
modules_k/pv: make individial flags accessible via $Mf(idx), $Bf(idx) and $Sf(idx)
The parameter is the flag number (or registered name). If present
allows setting and reading the corresponding flag. As each flag is
now available as separate PV, it can be used in logging, transformations
and, last but not least, in loading/storing individual flags
from/to a database with sql_pvquery().
When setting, any value != =0 will set the flag, 0 will clear it. When reading
a set flag returns 1, cleared flag 0.
example:
xlog("flags: 0x$mF / $Mf(15) / $Mf(16)");
setflag(15);
xlog("flags: 0x$mF / $Mf(15) / $Mf(16)");
$Mf(16) = 1;
xlog("flags: 0x$mF / $Mf(15) / $Mf(16)");
$Mf(15) = 0;
xlog("flags: 0x$mF / $Mf(15) / $Mf(16)");
output:
flags: 0x00000000 / 0 / 0
flags: 0x00008000 / 1 / 0
flags: 0x00018000 / 1 / 1
flags: 0x00010000 / 0 / 1
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=847ea5b…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Aug 30 13:35:55 2011 +0200
modules_k/trusted: Free memory of old trusted list when the list has been reloaded
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1411a57…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Fri Sep 16 13:48:59 2011 +0200
modules/mtree: Do not log an error when prefix not found.
A not found prefix is already represented as a negative return code.
No need to log an error, as it may be perfectly valid that a prefix does not
exists.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=58e81b6…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Sep 22 15:59:23 2011 +0200
lib/srdb1: store BIGINT result also as 32-bit integer if it fits
BIGINT is always converted to string. Additionally it is now stored as INT too.
MySQL (at least on 64-bit) is returning BIGINT for all "generated" INT values,
like COUNT(*). By storing thee results as INT (if possible), the config script
will be compatible with both 32-bit and 64-bit column values.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d589851…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Oct 3 15:55:42 2011 +0200
modules_k/tmx: Add active_transactions statistics
An active transaction is a transaction that is still waiting for a reply.
If it has seen a reply but is existing just to collect retransmissions,
it is not counted (in contrast to inuse_transactions).
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=74c1a62…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Mar 27 16:44:23 2012 +0200
modules_k/dialog: Allow unset_dlg_profile also in REQUEST_ROUTE
even if the function has no use in normal REQUEST_ROUTE, the route block
may be called from other route blocks like failure_route.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1109a4f…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Jan 7 15:35:46 2013 +0100
modules_k/sqlops: eleminate string copy in sql_exec_xquery()
xavp api will make a copy in shmem, no need to make a private copy first.
Thanks to Juha heinanen and Daniel-Constantin Mierla for finding this
inefficiency.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9b3d4e1…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Nov 29 11:47:10 2012 +0100
modules/pv: Fix $snd(ip) for IPv6
Result was always an empty string surrounded by []. Converted to use ip_addr2a().
This also prevents the surrounding [], which are not part of an IPv6 address.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0ba54b5…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Feb 23 23:48:16 2012 +0100
modules_k/htable: don't return expired values
If an item has expired, it will be treated as non-existent.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=87d10dc…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Feb 27 14:14:44 2012 +0100
modules_k/perl: Fix resetting of flags in sv2int_str
According to the functions comments and its usages in the same file, the flags would only be or'red, not reset
This fixes setting an string named avp with an integer value:
OpenSER::AVP::add("string", 12345);
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=dfe3f66…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Feb 28 11:39:10 2012 +0100
modules/sanity: Fail if request uri can't be parsed
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1be860e…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Jun 7 14:20:01 2012 +0200
modules_k/pua_mi: when checking for 0-length string, check s.len, not s.s
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1e1202d…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Jul 16 15:24:37 2012 +0200
modules/auth: replace ser_time() wih time()
The values returned by ser_time() deviate so much from time() (and thus
system time) that the module was creating expired nonces in challenges
and rejected valid nonces as being "from the future".
See also FS#243
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bf7c1ee…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue May 15 12:29:14 2012 +0200
modules/rtpproxy: return -3 when no more rtpproxy nodes can be found
Provide a unique error code for the case when no (more) proxy nodes
are availave in the set. This allows the script recognize it from
the more general errors (all -1) and do special processing (failover
to another set)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d0d17a8…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Jan 7 15:16:27 2013 +0100
modules_k/uac: regenerate README
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f310fd1…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Jul 10 12:41:45 2012 +0200
modules_k/uac: uac_reg: add reg_retry_interval parameter
The new parameter allows to retry failed registration attempts.
Instead of unconditionally marking the entry as disabled, the
registration will be retried after the set interval. Setting it
to 0 (default) retains the old behaviour.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7432aa5…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Feb 28 15:23:17 2012 +0100
modules_k/uac: uac_reg: skip realm checking if realm is empty
When realm is the empty string, do not check the realm, but accept anything
the UAS throws at us.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0507b84…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Feb 28 13:10:23 2012 +0100
modules_k/uac: skip realm matching when realm pv for uac_auth is empty or null
This can be used if the realm used by the upsteam UAS isn't known in advance.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=eb1abe6…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Feb 21 12:35:18 2012 +0100
modules_k/uac: Add reg_db_table parameter to specify table name for registrations
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d2bdfd3…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Fri Sep 2 09:36:43 2011 +0200
modules_k/tmx: add t_is_reply_route()
Function to determine if the top executed route block is a reply.
In line with t_is_failure_route() and t_is_branch_route().
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=87bce89…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Sep 1 17:18:03 2011 +0200
modules_k/tmx: add $T_reply_reason PV
Especially for internally generated (faked) replies it was hard to
get the reason phrase. This PV provides just that.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=43533b4…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Jan 7 17:10:18 2013 +0100
Makefile: add corex module to kstandard group
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=14ef60c…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Jan 7 14:04:57 2013 +0100
modules/tmx: set $T_branch_idx to sane values for more route types
$T_branch_idx will now return a branch number (0-based) in more route types.
BRANCH_ROUTE and TM_ON_REPLY_ROUTE: currently handled branch number
REQUEST_ROUTE and FAILURE_ROUTE: next branch number, will be increased by
every append_branch
In FAILURE_ROUTE, the branch number of the winning reply can be retreived
with $T_rpl($T_branch_idx)
All other route types will result in (the invalid) branch number -1.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=397ef36…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Fri Oct 12 14:06:33 2012 +0200
modules/tm: Set branch_index to T_BR_UNDEFINED when outside BRANCH_ROUTE or TM_ONREPLY_ROUTE.
The inconsistent value of $T_branch_idx between BRANCH_ROUTE and
TM_ON_REPLY_ROUTE was fixed in an earlier commit, but now the value 0 has a
double meaning (branch 0 or invalid branch). This patch makes the invalid
branch distinguishable by setting it to -1.
Now $T_branch_idx will return the branch number (0-based) in BRANCH_ROUTE
and TM_ON_REPLY_ROUTE and -1 in other route types or if the message is not
part of a transaction.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e23e51e…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Oct 11 16:53:55 2012 +0200
modules/tm: Make branch_index consistent in all route types
The branch index was set one to high in BRANCH_ROUTE, leading to
inconsistent branch numbers in reply routes.
Hi!
I have a strange issue with the domain module in git HEAD.
It fails to read db_url for some reason, always using the default MYSQL one.
With the attached configuration i get this messages (I added a debug printout of db_url)
0(63776) DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: domain
0(63776) DEBUG: domain [domain_mod.c:184]: initializing
0(63776) DEBUG: domain [domain_mod.c:211]: **** DB_URL mysql://kamailio:kamailiorw@localhost/okamailio
0(63776) DEBUG: domain [domain_mod.c:212]: **** register_myself 1
0(63776) DEBUG: <core> [sr_module.c:674]: find_export_record: found <db_bind_api> in module db_mysql [/usr/local/lib64/kamailio/modules/db_mysql.so]
0(63776) DEBUG: <core> [db.c:212]: using db bind api for db_mysql
0(63776) DEBUG: <core> [db.c:317]: connection 0x106831940 not found in pool
0(63776) DEBUG: db_mysql [km_my_con.c:94]: opening connection: mysql://xxxx:xxxx@localhost/okamailio
-----------------
I fail to find out why this particular module fails to read the config. It seems to read the register_myself value,
but not db_url.
/O
------------------------- CUT HERE --------------------
debug=2
log_stderror=yes
fork=no
# ------------------ module loading ----------------------------------
mpath="/usr/local/lib64/kamailio/modules:/usr/local/lib64/kamailio/modules_k"
loadmodule "usrloc.so" # The user locaion database
loadmodule "sl.so"
loadmodule "registrar.so" # The registrar that manage the usrloc
loadmodule "db_mysql.so" # Handle record-routing
loadmodule "domain.so" # Domains module
modparam("domain", "db_url", "mysql://ser:pass@db_host/ser")
modparam("domain", "domain_table", "domain")
modparam("domain", "domain_attrs_table", "domain_attrs")
modparam("domain", "register_myself", 1)
# ------------------------- request routing logic -------------------
route {
;
}
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7aba696…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Aug 25 11:16:18 2011 +0200
modules_k/trusted: no not open DB connections if db_mode==1.
For cached operation, childs (except MI) do not need DB access
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1e19741…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Fri Aug 26 11:16:45 2011 +0200
modules_k/nathelper: add return value 2 to fix_nated_sdp() indicating no ip's have been replaced
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=118679a…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Fri Aug 26 13:08:39 2011 +0200
modules_k/pv: make individial flags accessible via $Mf(idx), $Bf(idx) and $Sf(idx)
The parameter is the flag number (or registered name). If present
allows setting and reading the corresponding flag. As each flag is
now available as separate PV, it can be used in logging, transformations
and, last but not least, in loading/storing individual flags
from/to a database with sql_pvquery().
When setting, any value != =0 will set the flag, 0 will clear it. When reading
a set flag returns 1, cleared flag 0.
example:
xlog("flags: 0x$mF / $Mf(15) / $Mf(16)");
setflag(15);
xlog("flags: 0x$mF / $Mf(15) / $Mf(16)");
$Mf(16) = 1;
xlog("flags: 0x$mF / $Mf(15) / $Mf(16)");
$Mf(15) = 0;
xlog("flags: 0x$mF / $Mf(15) / $Mf(16)");
output:
flags: 0x00000000 / 0 / 0
flags: 0x00008000 / 1 / 0
flags: 0x00018000 / 1 / 1
flags: 0x00010000 / 0 / 1
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e8e6224…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Aug 30 13:35:55 2011 +0200
modules_k/trusted: Free memory of old trusted list when the list has been reloaded
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=45102b1…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Fri Sep 16 13:48:59 2011 +0200
modules/mtree: Do not log an error when prefix not found.
A not found prefix is already represented as a negative return code.
No need to log an error, as it may be perfectly valid that a prefix does not
exists.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=374cf63…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Sep 22 15:59:23 2011 +0200
lib/srdb1: store BIGINT result also as 32-bit integer if it fits
BIGINT is always converted to string. Additionally it is now stored as INT too.
MySQL (at least on 64-bit) is returning BIGINT for all "generated" INT values,
like COUNT(*). By storing thee results as INT (if possible), the config script
will be compatible with both 32-bit and 64-bit column values.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=05658bd…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Oct 3 15:55:42 2011 +0200
modules_k/tmx: Add active_transactions statistics
An active transaction is a transaction that is still waiting for a reply.
If it has seen a reply but is existing just to collect retransmissions,
it is not counted (in contrast to inuse_transactions).
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f3a2a57…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Mar 27 16:44:23 2012 +0200
modules_k/dialog: Allow unset_dlg_profile also in REQUEST_ROUTE
even if the function has no use in normal REQUEST_ROUTE, the route block
may be called from other route blocks like failure_route.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=280e4b7…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Jan 7 15:35:46 2013 +0100
modules_k/sqlops: eleminate string copy in sql_exec_xquery()
xavp api will make a copy in shmem, no need to make a private copy first.
Thanks to Juha heinanen and Daniel-Constantin Mierla for finding this
inefficiency.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=affe0b6…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Nov 29 11:47:10 2012 +0100
modules/pv: Fix $snd(ip) for IPv6
Result was always an empty string surrounded by []. Converted to use ip_addr2a().
This also prevents the surrounding [], which are not part of an IPv6 address.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0f8d3df…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Feb 23 23:48:16 2012 +0100
modules_k/htable: don't return expired values
If an item has expired, it will be treated as non-existent.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=db28003…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Feb 27 14:14:44 2012 +0100
modules_k/perl: Fix resetting of flags in sv2int_str
According to the functions comments and its usages in the same file, the flags would only be or'red, not reset
This fixes setting an string named avp with an integer value:
OpenSER::AVP::add("string", 12345);
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d56288b…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Feb 28 11:39:10 2012 +0100
modules/sanity: Fail if request uri can't be parsed
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f8af32d…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Jun 7 14:20:01 2012 +0200
modules_k/pua_mi: when checking for 0-length string, check s.len, not s.s
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7b13706…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Jul 16 15:24:37 2012 +0200
modules/auth: replace ser_time() wih time()
The values returned by ser_time() deviate so much from time() (and thus
system time) that the module was creating expired nonces in challenges
and rejected valid nonces as being "from the future".
See also FS#243
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=750b562…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue May 15 12:29:14 2012 +0200
modules/rtpproxy: return -3 when no more rtpproxy nodes can be found
Provide a unique error code for the case when no (more) proxy nodes
are availave in the set. This allows the script recognize it from
the more general errors (all -1) and do special processing (failover
to another set)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c491b0d…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Jan 7 15:16:27 2013 +0100
modules_k/uac: regenerate README
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b9abcc5…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Jul 10 12:41:45 2012 +0200
modules_k/uac: uac_reg: add reg_retry_interval parameter
The new parameter allows to retry failed registration attempts.
Instead of unconditionally marking the entry as disabled, the
registration will be retried after the set interval. Setting it
to 0 (default) retains the old behaviour.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=709ba2d…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Feb 28 15:23:17 2012 +0100
modules_k/uac: uac_reg: skip realm checking if realm is empty
When realm is the empty string, do not check the realm, but accept anything
the UAS throws at us.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1e8ef3b…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Feb 28 13:10:23 2012 +0100
modules_k/uac: skip realm matching when realm pv for uac_auth is empty or null
This can be used if the realm used by the upsteam UAS isn't known in advance.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1dc9aa9…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Tue Feb 21 12:35:18 2012 +0100
modules_k/uac: Add reg_db_table parameter to specify table name for registrations
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=169f576…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Fri Sep 2 09:36:43 2011 +0200
modules_k/tmx: add t_is_reply_route()
Function to determine if the top executed route block is a reply.
In line with t_is_failure_route() and t_is_branch_route().
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2c9f44f…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Sep 1 17:18:03 2011 +0200
modules_k/tmx: add $T_reply_reason PV
Especially for internally generated (faked) replies it was hard to
get the reason phrase. This PV provides just that.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f406882…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Jan 7 17:10:18 2013 +0100
Makefile: add corex module to kstandard group
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4870d66…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Mon Jan 7 14:04:57 2013 +0100
modules/tmx: set $T_branch_idx to sane values for more route types
$T_branch_idx will now return a branch number (0-based) in more route types.
BRANCH_ROUTE and TM_ON_REPLY_ROUTE: currently handled branch number
REQUEST_ROUTE and FAILURE_ROUTE: next branch number, will be increased by
every append_branch
In FAILURE_ROUTE, the branch number of the winning reply can be retreived
with $T_rpl($T_branch_idx)
All other route types will result in (the invalid) branch number -1.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4b6f222…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Fri Oct 12 14:06:33 2012 +0200
modules/tm: Set branch_index to T_BR_UNDEFINED when outside BRANCH_ROUTE or TM_ONREPLY_ROUTE.
The inconsistent value of $T_branch_idx between BRANCH_ROUTE and
TM_ON_REPLY_ROUTE was fixed in an earlier commit, but now the value 0 has a
double meaning (branch 0 or invalid branch). This patch makes the invalid
branch distinguishable by setting it to -1.
Now $T_branch_idx will return the branch number (0-based) in BRANCH_ROUTE
and TM_ON_REPLY_ROUTE and -1 in other route types or if the message is not
part of a transaction.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1a1ce20…
Author: Alex Hermann <alex(a)speakup.nl>
Date: Thu Oct 11 16:53:55 2012 +0200
modules/tm: Make branch_index consistent in all route types
The branch index was set one to high in BRANCH_ROUTE, leading to
inconsistent branch numbers in reply routes.
Hello,
a (26-hours before) reminder that development for next major release
v4.0.0 will be frozen tomorrow, Thursday, January 10, 2013, at 23.59 GMT.
If any developer has new features to push in the git master branch,
please do it before. After that, for a while, the master should get only
bug fixes and improvements to documentation and addition tools (e.g.,
bringing kamctl up to date). New features have to be kept in personal
branches until the master branch is open again.
The focus should be on testing from the day after tomorrow on, I hope
the users community will help us here as well.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Module: sip-router
Branch: master
Commit: c79c33f14d9cf15444cdd024551c788679cf71bb
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c79c33f…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: Wed Jan 9 20:42:12 2013 +0100
avp Documentation typo fix and update (SER => Kamailio)
---
modules/avp/README | 12 ++++++------
modules/avp/doc/avp.xml | 8 ++++----
modules/avp/doc/avp_functions.xml | 9 ++++-----
3 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/modules/avp/README b/modules/avp/README
index 3f83d64..0f059fb 100644
--- a/modules/avp/README
+++ b/modules/avp/README
@@ -35,11 +35,11 @@ Michal Matyska
the contents of AVPs (Attribute-Value pairs). The AVPs are variables
attached to the SIP message being processed. Each variable has its name
and value. AVPs can be used to store arbitrary data or as a means of
- inter-module comminication.
+ inter-module communication.
You may also want to check the avpops module which is more flexible and
- contains more functions. In future SER releases the avp module will be
- probably deprecated in favor of avpops module.
+ contains more functions. In future Kamailio releases the avp module
+ will be probably deprecated in favor of avpops module.
2. Functions
@@ -84,7 +84,7 @@ set_iattr("fr_inv_timer", "60")
2.2. flags2attr("$avp")
- Store the current state of SER flags into the sepcified avp.
+ Store the current state of Kamailio flags into the specified AVP.
Example 2. flags2attr usage
...
@@ -140,9 +140,9 @@ set_sattr("called_number", "1234")
Example 4. attr_exists usage
...
if (attr_exists("saved_ruri")) {
- attr2uri("saved_uri");
+ attr2uri("saved_uri");
} else {
- rewriteuri("sip:a@iptel.org");
+ rewriteuri("sip:a@iptel.org");
};
...
diff --git a/modules/avp/doc/avp.xml b/modules/avp/doc/avp.xml
index 4887335..0f876a2 100644
--- a/modules/avp/doc/avp.xml
+++ b/modules/avp/doc/avp.xml
@@ -28,7 +28,7 @@
</copyright>
</bookinfo>
- <title>Avp Module</title>
+ <title>The AVP Module</title>
<section>
<title>Overview</title>
@@ -37,11 +37,11 @@
manipulate the contents of AVPs (Attribute-Value pairs). The AVPs
are variables attached to the SIP message being processed. Each
variable has its name and value. AVPs can be used to store
- arbitrary data or as a means of inter-module comminication.
+ arbitrary data or as a means of inter-module communication.
</para>
<para>
- You may also want to check the avpops module which is more flexible
- and contains more functions. In future SER releases the avp module
+ You may also want to check the <emphasis>avpops</emphasis> module which is more flexible
+ and contains more functions. In future &kamailio; releases the avp module
will be probably deprecated in favor of avpops module.
</para>
</section>
diff --git a/modules/avp/doc/avp_functions.xml b/modules/avp/doc/avp_functions.xml
index b8f900e..72e7a87 100644
--- a/modules/avp/doc/avp_functions.xml
+++ b/modules/avp/doc/avp_functions.xml
@@ -41,7 +41,7 @@ set_iattr("fr_inv_timer", "60")
<section id="flags2attr">
<title><function>flags2attr("$avp")</function></title>
<para>
- Store the current state of SER flags into the sepcified avp.
+ Store the current state of &kamailio; flags into the specified AVP.
</para>
<example>
<title><function>flags2attr</function> usage</title>
@@ -89,8 +89,7 @@ set_sattr("called_number", "1234")
<para>Meaning of the parameter is as follows:</para>
<itemizedlist>
<listitem>
- <para><emphasis>attribute</emphasis> - The name of the
- AVP.
+ <para><emphasis>attribute</emphasis> - The name of the AVP.
</para>
</listitem>
</itemizedlist>
@@ -144,9 +143,9 @@ set_sattr("called_number", "1234")
<programlisting>
...
if (attr_exists("saved_ruri")) {
- attr2uri("saved_uri");
+ attr2uri("saved_uri");
} else {
- rewriteuri("sip:a@iptel.org");
+ rewriteuri("sip:a@iptel.org");
};
...
</programlisting>