sip-router
4 years agoMakefile.defs: version set to 5.0.0-dev1
Daniel-Constantin Mierla [Mon, 21 Mar 2016 09:44:01 +0000 (10:44 +0100)]
Makefile.defs: version set to 5.0.0-dev1

4 years agoMerge pull request #539 from smititelu/master
Stefan Mititelu [Mon, 21 Mar 2016 09:42:57 +0000 (11:42 +0200)]
Merge pull request #539 from smititelu/master

rtpengine: Add timestamp column to rtpengine table

4 years agotopos: added missing params to docs
Daniel-Constantin Mierla [Fri, 18 Mar 2016 17:05:02 +0000 (18:05 +0100)]
topos: added missing params to docs

4 years agotopos: don't store dialog data for message request
Daniel-Constantin Mierla [Fri, 18 Mar 2016 16:20:00 +0000 (17:20 +0100)]
topos: don't store dialog data for message request

- only branches are enough

4 years agotopos: shortcut to handle forwarded MESSAGE replies
Daniel-Constantin Mierla [Fri, 18 Mar 2016 15:52:24 +0000 (16:52 +0100)]
topos: shortcut to handle forwarded MESSAGE replies

- no dialog created there

4 years agotopos: MESSAGE may be without Contact header
Daniel-Constantin Mierla [Fri, 18 Mar 2016 15:43:14 +0000 (16:43 +0100)]
topos: MESSAGE may be without Contact header

4 years agotopos: no processing needed for 100 responses
Daniel-Constantin Mierla [Fri, 18 Mar 2016 15:05:18 +0000 (16:05 +0100)]
topos: no processing needed for 100 responses

4 years agotopos: cseq number and method linked to db
Daniel-Constantin Mierla [Fri, 18 Mar 2016 14:19:18 +0000 (15:19 +0100)]
topos: cseq number and method linked to db

4 years agokamctl: refreshed topos db scripts
Daniel-Constantin Mierla [Fri, 18 Mar 2016 14:15:57 +0000 (15:15 +0100)]
kamctl: refreshed topos db scripts

4 years agosrdb1/schema: cseq stored as string for topos
Daniel-Constantin Mierla [Fri, 18 Mar 2016 14:15:21 +0000 (15:15 +0100)]
srdb1/schema: cseq stored as string for topos

- no conversion from sip header

4 years agotopos: store method and cseq for dialogs and branches
Daniel-Constantin Mierla [Fri, 18 Mar 2016 13:58:27 +0000 (14:58 +0100)]
topos: store method and cseq for dialogs and branches

4 years agokamctl: updated scripts for topos db
Daniel-Constantin Mierla [Fri, 18 Mar 2016 13:08:53 +0000 (14:08 +0100)]
kamctl: updated scripts for topos db

4 years agolib/srdb1: topos schemas extended to store method and cseq
Daniel-Constantin Mierla [Fri, 18 Mar 2016 13:08:26 +0000 (14:08 +0100)]
lib/srdb1: topos schemas extended to store method and cseq

4 years agocore: parse content type allows '_' char
Daniel-Constantin Mierla [Fri, 18 Mar 2016 12:32:59 +0000 (13:32 +0100)]
core: parse content type allows '_' char

- reported by Fabio Margarido, GH #547

4 years agodialog: force cleanup of aged terminated dialogs
Daniel-Constantin Mierla [Fri, 18 Mar 2016 12:23:06 +0000 (13:23 +0100)]
dialog: force cleanup of aged terminated dialogs

- reported by Dmitri Savolainen, GH #545

4 years agoxhttp_rpc: added notes about how to use the module
Daniel-Constantin Mierla [Thu, 17 Mar 2016 21:56:41 +0000 (22:56 +0100)]
xhttp_rpc: added notes about how to use the module

4 years agopipelimit: set array result tipe for rpc commands
Daniel-Constantin Mierla [Thu, 17 Mar 2016 21:47:02 +0000 (22:47 +0100)]
pipelimit: set array result tipe for rpc commands

- rpc stats and get pipes can return more than one item

4 years agomodules/ims_registrar_scscf: more efficient traversal of contacts
jaybeepee [Thu, 17 Mar 2016 07:53:39 +0000 (09:53 +0200)]
modules/ims_registrar_scscf: more efficient traversal of contacts

4 years agomodules/ims_registrar_scscf: protection around sending notifications - prevent races
jaybeepee [Thu, 17 Mar 2016 07:51:42 +0000 (09:51 +0200)]
modules/ims_registrar_scscf: protection around sending notifications - prevent races

4 years agomodules/ims_usrloc_scscf: removed protoype debugging code
jaybeepee [Thu, 17 Mar 2016 07:50:40 +0000 (09:50 +0200)]
modules/ims_usrloc_scscf: removed protoype debugging code

4 years agohttp_client Adding support for HTTP proxy on a connection and default level
Olle E. Johansson [Wed, 16 Mar 2016 14:01:08 +0000 (15:01 +0100)]
http_client Adding support for HTTP proxy on a connection and default level

Addresses issue #541

Documentation coming in separate commit

4 years agoims_registrar_pcscf: remove duplicate implementation and use _strnistr() from core
Daniel-Constantin Mierla [Tue, 15 Mar 2016 11:40:09 +0000 (12:40 +0100)]
ims_registrar_pcscf: remove duplicate implementation and use _strnistr() from core

4 years agosdpops: reuse _strnstr() from core instead of own implementation
Daniel-Constantin Mierla [Tue, 15 Mar 2016 11:39:45 +0000 (12:39 +0100)]
sdpops: reuse _strnstr() from core instead of own implementation

4 years agotm: _strnstr() moved to core
Daniel-Constantin Mierla [Tue, 15 Mar 2016 11:39:16 +0000 (12:39 +0100)]
tm: _strnstr() moved to core

4 years agotopos: use _strnstr() from core instead of strnstr()
Daniel-Constantin Mierla [Tue, 15 Mar 2016 11:38:46 +0000 (12:38 +0100)]
topos: use _strnstr() from core instead of strnstr()

4 years agocore: _strnstr() and _strnistr() defined in core
Daniel-Constantin Mierla [Tue, 15 Mar 2016 11:37:37 +0000 (12:37 +0100)]
core: _strnstr() and _strnistr() defined in core

- alternative to strnstr() which is not in all OSes, pluse the
  insensitive option

4 years agomodules/ims_registrar_scscf: provide protection for re-registration of implicit set
jaybeepee [Tue, 15 Mar 2016 11:40:32 +0000 (13:40 +0200)]
modules/ims_registrar_scscf: provide protection for re-registration of implicit set

4 years agomodules/topos: fix warning: variable "ptsd" set but not used [-Wunused-but-set-variable]
Ovidiu Sas [Mon, 14 Mar 2016 21:07:46 +0000 (17:07 -0400)]
modules/topos: fix warning: variable "ptsd" set but not used [-Wunused-but-set-variable]

4 years agomodules/topos: fix warning: comparison between pointer and integer [enabled by default]
Ovidiu Sas [Mon, 14 Mar 2016 21:03:30 +0000 (17:03 -0400)]
modules/topos: fix warning: comparison between pointer and integer [enabled by default]

4 years agomodules/topos: fix warning: label "ready" defined but not used [-Wunused-label]
Ovidiu Sas [Mon, 14 Mar 2016 20:59:41 +0000 (16:59 -0400)]
modules/topos: fix warning: label "ready" defined but not used [-Wunused-label]

4 years agoMerge pull request #546 from eschmidbauer/permissions-memory-leak-533
Daniel-Constantin Mierla [Mon, 14 Mar 2016 16:39:48 +0000 (17:39 +0100)]
Merge pull request #546 from eschmidbauer/permissions-memory-leak-533

Fix memory leak by freeing RURI in trusted table struct; issue #533

4 years agopermissions: fix memory leak 546/head
Emmanuel Schmidbauer [Mon, 14 Mar 2016 16:17:03 +0000 (17:17 +0100)]
permissions: fix memory leak

- free ruri_pattern from trusted struct in empty_hash_table()

4 years agouac: reset append to rr string var to avoid double free in case of error
Daniel-Constantin Mierla [Mon, 14 Mar 2016 13:37:01 +0000 (14:37 +0100)]
uac: reset append to rr string var to avoid double free in case of error

- reported by Fred Posner, GH #543

4 years agotsilo: lock before linking var to the entry in slot
Daniel-Constantin Mierla [Mon, 14 Mar 2016 10:39:55 +0000 (11:39 +0100)]
tsilo: lock before linking var to the entry in slot

- entry points to the address of first entry, which can be updated
  before aquiring the lock

4 years agopkg/kamailio/deb: update version to 5.0.0~dev0
Victor Seva [Fri, 11 Mar 2016 08:17:45 +0000 (09:17 +0100)]
pkg/kamailio/deb: update version to 5.0.0~dev0

4 years agowebsocket: added $ws_conid pseudo variable
Juha Heinanen [Fri, 11 Mar 2016 07:51:38 +0000 (09:51 +0200)]
websocket: added $ws_conid pseudo variable
- gives id of closed connection in websocket:closed event route

4 years agoMakefile.defs: version set to 5.0.0-dev0
Daniel-Constantin Mierla [Fri, 11 Mar 2016 07:38:26 +0000 (08:38 +0100)]
Makefile.defs: version set to 5.0.0-dev0

- development for next major release 5.0.0 is open

4 years agoMakefile.defs: version set to 4.4.0-pre3
Daniel-Constantin Mierla [Fri, 11 Mar 2016 07:24:29 +0000 (08:24 +0100)]
Makefile.defs: version set to 4.4.0-pre3

4 years agoMerge pull request #540 from linuxmaniac/vseva/mysql_warning
Daniel-Constantin Mierla [Fri, 11 Mar 2016 00:26:40 +0000 (01:26 +0100)]
Merge pull request #540 from linuxmaniac/vseva/mysql_warning

db_mysql: change log level from WARN to INFO for ping checks

4 years agotopos: restore headers on receiving response
Daniel-Constantin Mierla [Fri, 11 Mar 2016 00:18:46 +0000 (01:18 +0100)]
topos: restore headers on receiving response

4 years agotopos: load and pack db dialog data
Daniel-Constantin Mierla [Thu, 10 Mar 2016 22:39:47 +0000 (23:39 +0100)]
topos: load and pack db dialog data

4 years agotopos: load and pack db branch data
Daniel-Constantin Mierla [Thu, 10 Mar 2016 22:27:05 +0000 (23:27 +0100)]
topos: load and pack db branch data

4 years agokamctl: refresh of db creation scripts
Daniel-Constantin Mierla [Thu, 10 Mar 2016 20:46:03 +0000 (21:46 +0100)]
kamctl: refresh of db creation scripts

4 years agolib/srdb1: dbschema - keep branch side rr and uri for topos
Daniel-Constantin Mierla [Thu, 10 Mar 2016 20:45:15 +0000 (21:45 +0100)]
lib/srdb1: dbschema - keep branch side rr and uri for topos

4 years agotopos: clean expired records on timer
Daniel-Constantin Mierla [Thu, 10 Mar 2016 20:00:57 +0000 (21:00 +0100)]
topos: clean expired records on timer

4 years agotopos: keep branch of new new via in dedicated field
Daniel-Constantin Mierla [Thu, 10 Mar 2016 19:24:50 +0000 (20:24 +0100)]
topos: keep branch of new new via in dedicated field

4 years agokamctl: regenerated db script files
Daniel-Constantin Mierla [Thu, 10 Mar 2016 19:20:16 +0000 (20:20 +0100)]
kamctl: regenerated db script files

4 years agolib/srdb1: dbschema - split via branch in own column for topos
Daniel-Constantin Mierla [Thu, 10 Mar 2016 19:19:16 +0000 (20:19 +0100)]
lib/srdb1: dbschema - split via branch in own column for topos

4 years agotopos: link tags and contacts in msg
Daniel-Constantin Mierla [Thu, 10 Mar 2016 18:15:06 +0000 (19:15 +0100)]
topos: link tags and contacts in msg

4 years agotopos: expire values for branches and dialogs can be set via params
Daniel-Constantin Mierla [Thu, 10 Mar 2016 16:51:30 +0000 (17:51 +0100)]
topos: expire values for branches and dialogs can be set via params

4 years agotopos: cleanup expired dialog records
Daniel-Constantin Mierla [Thu, 10 Mar 2016 16:48:14 +0000 (17:48 +0100)]
topos: cleanup expired dialog records

4 years agotopos: cleanup expired branch records
Daniel-Constantin Mierla [Thu, 10 Mar 2016 16:46:19 +0000 (17:46 +0100)]
topos: cleanup expired branch records

4 years agotopos: use datetime db type for record timestamp
Daniel-Constantin Mierla [Thu, 10 Mar 2016 16:32:43 +0000 (17:32 +0100)]
topos: use datetime db type for record timestamp

4 years agotopos: force use of db table always
Daniel-Constantin Mierla [Thu, 10 Mar 2016 16:30:49 +0000 (17:30 +0100)]
topos: force use of db table always

4 years agotopos: wrap for empty fields to db
Daniel-Constantin Mierla [Thu, 10 Mar 2016 16:24:52 +0000 (17:24 +0100)]
topos: wrap for empty fields to db

4 years agotopos: persistent branch data storage
Daniel-Constantin Mierla [Thu, 10 Mar 2016 16:05:47 +0000 (17:05 +0100)]
topos: persistent branch data storage

4 years agotopos: proper storage of dlg data for persistence
Daniel-Constantin Mierla [Thu, 10 Mar 2016 15:53:35 +0000 (16:53 +0100)]
topos: proper storage of dlg data for persistence

4 years agodb_mysql: change log level from WARN to INFO for ping checks 540/head
Victor Seva [Thu, 10 Mar 2016 16:00:56 +0000 (17:00 +0100)]
db_mysql: change log level from WARN to INFO for ping checks

4 years agopkg/kamailio/deb: version set to 4.4.0-pre2
Victor Seva [Thu, 10 Mar 2016 11:39:45 +0000 (12:39 +0100)]
pkg/kamailio/deb: version set to 4.4.0-pre2

4 years agotls: enclose debug messages for tls locking in EXTRA_DEBUG defines
Daniel-Constantin Mierla [Thu, 10 Mar 2016 11:30:42 +0000 (12:30 +0100)]
tls: enclose debug messages for tls locking in EXTRA_DEBUG defines

- it can be too verbose for normal debugging

4 years agousrloc: improve TCP close on expire
Camille Oudot [Thu, 10 Mar 2016 10:24:05 +0000 (11:24 +0100)]
usrloc: improve TCP close on expire

this prevents the dramatic `F_TCPCONN connection marked as bad` message from
appearing in the logs when usrloc force-closes a TCP connection

4 years agoMakefile.defs: version set to 4.4.0-pre2
Daniel-Constantin Mierla [Thu, 10 Mar 2016 10:46:19 +0000 (11:46 +0100)]
Makefile.defs: version set to 4.4.0-pre2

4 years agortpengine: Add timestamp column to rtpengine table 539/head
Stefan Mititelu [Thu, 10 Mar 2016 10:45:14 +0000 (12:45 +0200)]
rtpengine: Add timestamp column to rtpengine table

The rtpengine module is not affected by this change as it currently ignores the new column.
Updated db scripts and documentations.

4 years agorr: append_fromtag on upstream in-dialog requests
schoberw [Wed, 9 Mar 2016 10:04:30 +0000 (11:04 +0100)]
rr: append_fromtag on upstream in-dialog requests

Record-Routing for in-dialog request are not needed by RFC 3162. But
there are many clients out there not sending initial route-set in
in-dialog requests. To provided them with the initial route-set together
with UAC modified requests the ;ftag parameter must be the to-tag on
upstream requests.

append_fromtag parameter added the tag value from "from" header  always,
even on upstream. This is fixed here.

It is not done on record_route_preset(). This should not be called on
record routing anyway.

4 years agoMerge pull request #535 from wdoekes/wjd-typo-connectons
Daniel-Constantin Mierla [Wed, 9 Mar 2016 10:02:05 +0000 (11:02 +0100)]
Merge pull request #535 from wdoekes/wjd-typo-connectons

websocket: Fix stats "connectons" typo's.

4 years agomodules/ims_usrloc_scscf: fix synchronize argument count
jaybeepee [Wed, 9 Mar 2016 09:09:20 +0000 (11:09 +0200)]
modules/ims_usrloc_scscf: fix synchronize argument count

4 years agowebsocket: Fix stats "connectons" typo's. 535/head
Walter Doekes [Wed, 9 Mar 2016 07:58:53 +0000 (08:58 +0100)]
websocket: Fix stats "connectons" typo's.

The stats now list:

    ws_sip_max_concurrent_connections
    ws_msrp_max_concurrent_connections

Instead of:

    ws_sip_max_concurrent_connectons
    ws_msrp_max_concurrent_connectons

Note that the latter still exist as aliases to the corrected values for
a while.

4 years agomodules/cdp: fixed typo in len check
jaybeepee [Wed, 9 Mar 2016 05:59:29 +0000 (07:59 +0200)]
modules/cdp: fixed typo in len check

4 years agoRevert "modules/cdp: fixed typo in len check"
jaybeepee [Wed, 9 Mar 2016 05:58:41 +0000 (07:58 +0200)]
Revert "modules/cdp: fixed typo in len check"

This reverts commit 5dfdfd84761d061615addd30b4c59af5ca32e907.

4 years agomodules/cdp: fixed typo in len check
jaybeepee [Tue, 8 Mar 2016 11:09:17 +0000 (13:09 +0200)]
modules/cdp: fixed typo in len check

4 years agomodules/cdp: print diameter session-id for slow diameter responses (useful for debug)
jaybeepee [Tue, 8 Mar 2016 09:08:15 +0000 (11:08 +0200)]
modules/cdp: print diameter session-id for slow diameter responses (useful for debug)

4 years agomodules/ims_usrloc_scscf: improved mysql efficiency
jaybeepee [Tue, 8 Mar 2016 09:03:15 +0000 (11:03 +0200)]
modules/ims_usrloc_scscf: improved mysql efficiency
    - added transaction instead of autocomitting each statement
    - changed query to more efficient join for many-to-many mapping deletion

4 years agomodules/ims_usrloc_scscf: multiprocess local timer support added
jaybeepee [Tue, 8 Mar 2016 09:00:01 +0000 (11:00 +0200)]
modules/ims_usrloc_scscf: multiprocess local timer support added

4 years agoMerge pull request #534 from athonet-open/fix_tel2sip
Daniel-Constantin Mierla [Mon, 7 Mar 2016 15:46:28 +0000 (16:46 +0100)]
Merge pull request #534 from athonet-open/fix_tel2sip

siputils: tel2sip(): fix 'off by one' when allocating memory

4 years agosiputils: tel2sip(): fix 'off by one' when allocating memory 534/head
Dragos Oancea [Mon, 7 Mar 2016 14:10:32 +0000 (15:10 +0100)]
siputils: tel2sip(): fix 'off by one' when allocating memory

4 years agoMerge pull request #527 from fredposner/master
Daniel-Constantin Mierla [Fri, 4 Mar 2016 08:01:19 +0000 (09:01 +0100)]
Merge pull request #527 from fredposner/master

permissions: very minor spelling changes

4 years agopermissions: very minor spelling changes 527/head
qxork [Thu, 3 Mar 2016 17:13:29 +0000 (12:13 -0500)]
permissions: very minor spelling changes

4 years agopermissions: very minor spelling changes
qxork [Thu, 3 Mar 2016 16:51:02 +0000 (11:51 -0500)]
permissions: very minor spelling changes

4 years agopresence: use unsigned int for expires limits min and max
Daniel-Constantin Mierla [Thu, 3 Mar 2016 08:41:45 +0000 (09:41 +0100)]
presence: use unsigned int for expires limits min and max

- reported by GH #521
- coherent indentation and spacing

4 years agopkg/kamailio/deb: fix typo at erlang short description
Victor Seva [Thu, 3 Mar 2016 08:35:33 +0000 (09:35 +0100)]
pkg/kamailio/deb: fix typo at erlang short description

4 years agoMerge pull request #525 from mslehto/uacdoc
Daniel-Constantin Mierla [Tue, 1 Mar 2016 22:32:23 +0000 (23:32 +0100)]
Merge pull request #525 from mslehto/uacdoc

modules/uac: document new uacreg table entries

4 years agoMerge pull request #524 from aphistic/fix-siptrace-aliasing
Daniel-Constantin Mierla [Tue, 1 Mar 2016 22:32:02 +0000 (23:32 +0100)]
Merge pull request #524 from aphistic/fix-siptrace-aliasing

siptrace: Use the trace_local_ip setting in sip_trace()

4 years agomodules/uac: refresh content of README 525/head
Mikko Lehto [Tue, 1 Mar 2016 20:35:08 +0000 (22:35 +0200)]
modules/uac: refresh content of README

4 years agosiptrace: Use the trace_local_ip setting in sip_trace() 524/head
Erik Davidson [Tue, 1 Mar 2016 20:36:02 +0000 (14:36 -0600)]
siptrace: Use the trace_local_ip setting in sip_trace()

4 years agomodules/uac: add flags and reg_delay to uacreg table documentation
Mikko Lehto [Tue, 1 Mar 2016 20:21:48 +0000 (22:21 +0200)]
modules/uac: add flags and reg_delay to uacreg table documentation

4 years agocore: coherent indentation and spacing
Daniel-Constantin Mierla [Tue, 1 Mar 2016 10:45:05 +0000 (11:45 +0100)]
core: coherent indentation and spacing

4 years agotsilo: don't execute tm callback for TMCB_DESTROY if server shutdowns
Daniel-Constantin Mierla [Tue, 1 Mar 2016 10:35:41 +0000 (11:35 +0100)]
tsilo: don't execute tm callback for TMCB_DESTROY if server shutdowns

- tsilo mod_destroy will clean up, otherwise may end up in deadlock at
  shutdown, when a slot lock is already aquired and the callback will
  try to aquire again

4 years agocore: option to check if server is in destroy modules phase
Daniel-Constantin Mierla [Tue, 1 Mar 2016 10:32:59 +0000 (11:32 +0100)]
core: option to check if server is in destroy modules phase

4 years agomodules/ims_usrloc_scscf: new mod param contact_delete_delay
Richard Good [Tue, 1 Mar 2016 08:17:40 +0000 (10:17 +0200)]
modules/ims_usrloc_scscf: new mod param contact_delete_delay
contact_delete_delay: length of time to delay before deleting contact in state delay delete

4 years agomodules/ims_qos: modified log line to be ERROR
Richard Good [Tue, 1 Mar 2016 08:17:17 +0000 (10:17 +0200)]
modules/ims_qos: modified log line to be ERROR

4 years agomodules/ims_charging: added additional log line
Richard Good [Tue, 1 Mar 2016 08:16:57 +0000 (10:16 +0200)]
modules/ims_charging: added additional log line

4 years agoMerge branch 'master' of https://github.com/kamailio/kamailio
Juha Heinanen [Tue, 1 Mar 2016 07:50:18 +0000 (09:50 +0200)]
Merge branch 'master' of https://github.com/kamailio/kamailio

4 years agoMerge pull request #523 from sippy/master_rtpp_ip6_fix
Daniel-Constantin Mierla [Tue, 1 Mar 2016 07:49:31 +0000 (08:49 +0100)]
Merge pull request #523 from sippy/master_rtpp_ip6_fix

Fix an issue with IPv6 in the rtpproxy module

4 years agoMerge pull request #519 from phil-lavin/tls-threshold-logging
Daniel-Constantin Mierla [Tue, 1 Mar 2016 07:47:23 +0000 (08:47 +0100)]
Merge pull request #519 from phil-lavin/tls-threshold-logging

tls: enhance the logging of ssl bug #1491 workaround

4 years agosrdb1/schema: added connection_idx index to location table
Juha Heinanen [Tue, 1 Mar 2016 07:46:52 +0000 (09:46 +0200)]
srdb1/schema: added connection_idx index to location table

4 years agoMerge pull request #520 from kamailio/tsearle-futex-try
Daniel-Constantin Mierla [Tue, 1 Mar 2016 07:46:37 +0000 (08:46 +0100)]
Merge pull request #520 from kamailio/tsearle-futex-try

core/futex: fix bug in futex_try

4 years agoMerge pull request #522 from mslehto/sdpops
Daniel-Constantin Mierla [Tue, 1 Mar 2016 07:45:16 +0000 (08:45 +0100)]
Merge pull request #522 from mslehto/sdpops

sdpops improvements and tests

4 years agoFix IPv6 handling with the default setup. With the current code, 523/head
Maksym Sobolyev [Mon, 29 Feb 2016 21:28:53 +0000 (13:28 -0800)]
Fix IPv6 handling with the default setup. With the current code,
it's possible for it to pit IPv6 address, but set adress family
to the IP4.

4 years agotest/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 522/head
Mikko Lehto [Mon, 29 Feb 2016 14:21:25 +0000 (16:21 +0200)]
test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix()

4 years agomodules/sdpops: reimplement sdp_remove_line_by_prefix() to fix shortcomings
Mikko Lehto [Mon, 29 Feb 2016 13:35:41 +0000 (15:35 +0200)]
modules/sdpops: reimplement sdp_remove_line_by_prefix() to fix shortcomings

- single line match was not removed
- multiline match with non-related lines between was not removed