Raphael Coeffic
35cc7601a5
removed reference to LocalIP.
15 years ago
Raphael Coeffic
aafc7ba080
Wip: adds multiple interface to config reader
15 years ago
Peter Lemenkov
5ff20f5bfc
Install sbc helper scripts
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
15 years ago
Peter Lemenkov
849fa92c44
More sbc modules to compile
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
15 years ago
Peter Lemenkov
2b414a60bd
Install more config files
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
15 years ago
Peter Lemenkov
ca6e3190c4
Sync cmake templates for conf-files
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
15 years ago
Peter Lemenkov
61c95cb1f3
Drop outdated modules
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
15 years ago
Stefan Sayer
1d35fc7af0
b/f: remove call timer timer if set on end of call
15 years ago
Stefan Sayer
87ca57ee10
removed obsolete b2b apps. updated sbc doc
15 years ago
Stefan Sayer
a533fdcb5e
Merge branch 'dsm_lang'
...
* dsm_lang:
DSM: support variables in range, e.g. range($myvar)
DSM: size($arrayname, $dst) action
added [] to chars not allowed in var names
DSM: fix for ($bar in array) for structs
DSM: parsing of "else", if conditions without []
DSM: implement for ($x in range(2, 5))
DSM: "for (x in array)" and "for (k,v in struct)"
dsm: execution reordered (small optimization)
reindent
reindent
implementation of functions in DSM
initial support for if blocks (no else)
15 years ago
Stefan Sayer
5026ab7f50
DSM: support variables in range, e.g. range($myvar)
...
Example:
set($a=0);
set($b=-5);
for ($x in range($a, $b)) {
log(1, $x);
};
15 years ago
Stefan Sayer
dd467a96ef
DSM: size($arrayname, $dst) action
...
size($arrayname, $dst);
set variable $dst to size of array
(e.g. $arrayname[0], $arrayname[1] set, $dst set to 2)
15 years ago
Mathew Williams
721f6ecf73
added [] to chars not allowed in var names
15 years ago
Stefan Sayer
d5ebf27e02
DSM: fix for ($bar in array) for structs
...
Example:
set($foo[0].a="a0");
set($foo[0].b="b0");
set($foo[1].a="a1");
set($foo[1].b="b1");
for ($bar in $foo) {
log(1, $bar);
}
15 years ago
Stefan Sayer
a32ab56dcf
removed unused 'separator' define
15 years ago
Stefan Sayer
b2b11301ff
webconference: participant ID / findParticipant
15 years ago
Stefan Sayer
c7c96a2f5e
DSM: parsing of "else", if conditions without []
15 years ago
Stefan Sayer
26db3fae33
DSM: implement for ($x in range(2, 5))
...
Development sponsored by TelTech Systems Inc.
15 years ago
Stefan Sayer
d90e76a7d3
DSM: "for (x in array)" and "for (k,v in struct)"
...
Development sponsored by TelTech Systems Inc.
15 years ago
Stefan Sayer
b12da91f64
dsm: execution reordered (small optimization)
15 years ago
Stefan Sayer
3e563d335d
reindent
15 years ago
Stefan Sayer
3b67569f69
reindent
15 years ago
Stefan Sayer
677e31237d
sbc: make next_hop_for_replies dynamic
15 years ago
Stefan Sayer
660f23aa83
sbc: next_hop_for_replies option
...
making use of next hop for replies configurable
15 years ago
Stefan Sayer
f9439a1dd4
dsm: adds utils.playRingTone() function
...
development of this sponsored by TelTech Systems Inc.
15 years ago
Stefan Sayer
ea20cfa4da
xmlrpc2di: server_ip option to bind specific
15 years ago
Stefan Sayer
0f59e352f1
sbc: a little more sample options
15 years ago
Stefan Sayer
8a9bca719a
sbc: regex maps, flexible active profile selection
...
- regex maps are files with regex=>value entries which,
once loaded, can be used with $M(key=>mapname) pattern replacement
- it is now possible to use replacements in active_profile, and
also a list of profiles can be specified here - the first matching
will be used
15 years ago
Stefan Sayer
ace0355f20
removed extra debug message
15 years ago
Stefan Sayer
c2f1b6ecb7
sbc: using INTERNAL_ERROR define everywhere
15 years ago
Stefan Sayer
74926f7a13
sbc: adds the refuse_with option
...
if refuse_with is set, all calls in this profile are refused with
the specified response code and reason. pattern replacement is
enabled on both code and reason. append_headers option, too.
15 years ago
Stefan Sayer
83bc717316
sbc: append_headers profile option
15 years ago
Stefan Sayer
d5773dfd7c
sbc: add \r, \n, \t replacement
15 years ago
Stefan Sayer
bc9f92b9f4
added (c) notice
15 years ago
Stefan Sayer
b691f988e0
sbc: add $si/$sp and $Ri/Rp source/rcvd IP/port
...
- adds replacements for source/received IP/port
15 years ago
Stefan Sayer
73dc076d84
fix the proper type (int)
15 years ago
Stefan Sayer
870f6e10a7
more int2str type correctness fixing
15 years ago
Peter Lemenkov
778dde4055
Install email template
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
15 years ago
Peter Lemenkov
5fc37d6e9d
Fix gateway module's version passing in CMake
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
15 years ago
Stefan Sayer
7435ec7cf7
removed orphan code
15 years ago
Stefan Sayer
6a7d84bf04
fix more size_t->unsigned casting for int2str
15 years ago
Stefan Sayer
e4ef548166
even more more size_t->unsigned casting
15 years ago
Stefan Sayer
123de09868
fix more size_t->unsigned casting for int2str
15 years ago
Stefan Sayer
5bd17750ec
b2b: return value of relayEvent
...
return -1 if the other leg doesn't exist
15 years ago
Matthew Williams
be62fe1ca5
implementation of functions in DSM
15 years ago
Matthew Williams
f4b8287436
initial support for if blocks (no else)
15 years ago
Stefan Sayer
6337394b55
simplified module interface
...
// ---------------- simplified SEMS plug-in interface --------------------------
// - export module as basic SEMS plugin with EXPORT_MODULE_FUNC
// - in onLoad, register the capabilities you provide,
// e.g. AmPlugIn::registerApplication(...), AmPlugIn::registerDIInterface(...) etc
15 years ago
Stefan Sayer
d18b49b5ad
fix loading of sbc mod after session timer
...
reported by David J
15 years ago
Stefan Sayer
63d5b66d31
DSM: sys.getTimestamp() and sys.subTimestamp()
...
development of this was sponsored by TelTech Systems Inc
15 years ago
Stefan Sayer
cad6589d67
DSM: groups module
...
Development of this module was sponsored by TelTech Systems Inc.
The groups module implements a group event broadcast system. DSM calls can
join and leave groups, and post events to groups. Events are passed to all
members of the group that the event is posted to. Events can, just like the
`postEvent` function of DSM, contain either some variables, or all variables.
If a call ends, it is automatically removed from all groups it belongs to.
Actions:
groups.join(groupname) - Join a group
groups.leave(groupname) - Leave a group
groups.leaveAll() - Leave all groups
groups.postEvent(groupname, var1;var2) - post event to groupname with var1 and var2
groups.postEvent(groupname, var) - post event to groupname with all variables
15 years ago