Stefan Sayer
e122bdbca1
removed orphan code
15 years ago
Stefan Sayer
7435ec7cf7
removed orphan code
15 years ago
Stefan Sayer
cc8d1cff04
b/f: reINVITEs failing once PRACK is in use
...
fixes issue SEMS - 55 https://bugtracker.iptel.org/view.php?id=55
patch by Thomas Gelf
15 years ago
Stefan Sayer
17b60aac52
grammatical correction in dbg message
15 years ago
Stefan Sayer
b99ea58303
correct type for printf
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
81ad850759
make the compiler happy on 64 bits
15 years ago
Stefan Sayer
5bd17750ec
b2b: return value of relayEvent
...
return -1 if the other leg doesn't exist
15 years ago
Stefan Sayer
bdc30b757a
b/f: unsigned int2str function save for big ones
15 years ago
Stefan Sayer
dab65232ec
sst: b/f: timers headers only in 2xx reply
15 years ago
Stefan Sayer
35f091aeec
b2b b/f: only handle replies with same CSeq as INV
15 years ago
Stefan Sayer
4b0a6d07a6
threadpool: b/f: process events in queue at start
...
b/f: process events that are in session event queue at startup
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
Stefan Sayer
aee8585091
DSM: adds onBeforeDestroy event handler to modules
15 years ago
Stefan Sayer
c2bbb3f709
DSM: param() function, access param named by a var
...
like #($paramname)
patch by Matthew Williams
15 years ago
Stefan Sayer
f3e1cc8b7e
b/f: compile fix for threadpool
15 years ago
Stefan Sayer
8121d6d99d
sbc: doc: added note about md5 hash
15 years ago
Stefan Sayer
623e480bf6
sbc: doc for profile reload
15 years ago
Stefan Sayer
4d9c139696
initialize all rseq related values (for safety)
15 years ago
Stefan Sayer
1af9f3c008
b/f: ignore rel100OnRequestOut if rel1xx_ignored
15 years ago
Stefan Sayer
527d48f87e
sbc: active profile reload; control scripts (py)
15 years ago
Stefan Sayer
93a5978f38
add MD5 hash generation of file to configreader
15 years ago
Stefan Sayer
b987d4c48c
optimization: save SDP only if refresh_method!=UPD
15 years ago
Stefan Sayer
3b01cbca32
dsm: fix typo in doc
...
thanks to matthew williams for spotting this
15 years ago
Stefan Sayer
e29a757c16
setCalleeStatus function
15 years ago
Stefan Sayer
932510b94a
str2int, str2long and long2str methods
...
str2int is str2i with proper return code
str2long and long2str work on long
15 years ago
Stefan Sayer
500d79d2ff
removed leftover debug msg
15 years ago
Stefan Sayer
252e4659e0
fix int2str for negative numbers
15 years ago
Stefan Sayer
65a06dc656
user AmSession timer functions in session_timer
15 years ago
Stefan Sayer
e471726afe
moved timers API into AmSession
...
app level timers can now be used easily with the AmSession functions:
setTimer(int id, unsigned timeout)
removeTimer(int id)
removeTimers()
timersSupported()
15 years ago
Stefan Sayer
0159ea10c1
make only mod_* mod dirs
15 years ago
Stefan Sayer
2e91a52066
b2b: constructor for 2nd leg with other_id
15 years ago
Stefan Sayer
96addf36be
sbc: moved get user timer/prepaid interface
15 years ago
Stefan Sayer
c3bbfd23ca
b2b: some more functions virtual
15 years ago
Stefan Sayer
a876d1d52c
sbc: b/f: enable sdpfilter on 2nd leg if active
15 years ago
Stefan Sayer
ad5a16a528
sbc call profile: print / ==
15 years ago
Stefan Sayer
88789eb124
transparent 100rel mode for SBC app
...
- add reliable_1xx REL100_IGNORED, where all rel100 stuff is ignored
- set B2B sessions as reliable_1xx=REL100_IGNORED
- translate RAck Cseq
- for this: adds rack_method and rack_cseq to sip request (should possibly be reworked to use some dynamic field)
- relay Rseq (if exist)
15 years ago
bpintea
ec5fb74b45
100rel fix: 420 reject only if Require present, not Supported
...
b/f: don't reject INVITEs featuring 100rel if Supported is present, but
Require (c&p err)
15 years ago
bpintea
d4a17dd659
Merge branch 'master' of ssh://git.sip-router.org/sems
15 years ago
bpintea
9e1ec3433c
100rel enhancements
...
- change the way RSeq accounting is done: changed signed data type to
unsigned, at expense of adding two more vars to AmSipDialog; this
should make AmSipDialog more replication friendly.
- b/f: if 100rel is disabled and an inbound request asks support for it,
reply with 420.
15 years ago
bpintea
07d01660a3
100rel b/f
...
b/f: if '100rel' string already present in the right header
(Require/Supported), don't add it again.
The fix should help in B2B cases.
15 years ago
bpintea
3deaa15255
100rel bug fix
...
b/f: check for broken PRACKs, missing the RSeq header.
Bug spotted by Stefan Sayer.
15 years ago
Stefan Sayer
a643451c18
add standard REFER as option to pin_collect
15 years ago
Stefan Sayer
7fee6a1743
fixed missing CRLF in transfer header
15 years ago
Stefan Sayer
2785f913df
Merge commit 'origin/master'
...
* commit 'origin/master':
rework of 100rel support
15 years ago