Stefan Sayer
7eb35d41c3
handling session timeout in onSessionTimeout evh
...
created new event handler onSessionTimeout, where
session timeout is handled. implemented for b2bua calls
16 years ago
Stefan Sayer
471fc519bf
sst_b2b: added proper sample config for sst
16 years ago
Stefan Sayer
a4c7a7ab62
b/f: session refresh method in pure b2b app
16 years ago
Stefan Sayer
617f07d2c5
b/f: relay SDP in SDP only for INVITE method
16 years ago
Stefan Sayer
c0e61aa35c
dded notes about session timer support in apps
16 years ago
Stefan Sayer
6acd834aa6
Session Timer support for DSM
...
configurable in dsm.conf, by default off
16 years ago
Stefan Sayer
dd841fbf75
Session Timer support for webconference app
...
configurable in webconference.conf, by default off
16 years ago
Stefan Sayer
24b6f5163f
small sample config clarification
16 years ago
Stefan Sayer
2f36762bd9
UPDATE support for Session Timer
...
- configured via app config file
- so far only for one-legged calls (no sst_b2b support)
16 years ago
Stefan Sayer
6e503d4112
a bit more verbosity when configured 100rel wrong
16 years ago
Stefan Sayer
50056f4279
configuration for 100rel in sample config
16 years ago
Stefan Sayer
c21949a3d8
b/f: fix configuration return value
16 years ago
Stefan Sayer
feb02617f4
DSM: utils.splitStringCR splits string on \n
...
example:
sys.popen($myresult="/bin/ls wav/*");
utils.splitStringCR($myresult);
16 years ago
Stefan Sayer
042b073780
DSM: sys.popen function to exec external program
...
example:
sys.popen($myresult="/bin/ls wav/*");
logVars(2);
16 years ago
Stefan Sayer
46242169a3
voicemail: WARN if tmp file could not be unlinked
...
thanks to andrey for reporting
16 years ago
Stefan Sayer
ee229de02c
b/f: send autheticated BYE with To-tag
...
closes https://bugtracker.iptel.org/view.php?id=44
Summary: authenticated BYE does not work (to-tag missing)
Description:
When authentication is requested by a proxy for a BYE request sent by SEMS,
the second BYE request (with authentication info) does not contain a
to-tag. This causes the proxy to reject the request with a 481 reply.
Thanks to <samusenko at msm dot ru> for reporting this bug.
16 years ago
Stefan Sayer
b0c6f35cc4
DSM: enable literal @ (e.g. set($var=@); )
16 years ago
Stefan Sayer
d6dd0e6e4a
added authentication credentials for outgoing calls
16 years ago
Peter Lemenkov
4838586bbb
Fix for old python 2.4
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
16 years ago
Peter Lemenkov
dd2a283f73
Add missing LDFLAGS for linking new DNS code
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
16 years ago
Peter Lemenkov
fe586a666f
Fix CMake build of renamed md5.{c => cpp}
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
16 years ago
Stefan Sayer
f480d65e03
DSM: fix #include path for recursive #include
...
if in absolute path, script path will be the path of the included
script
16 years ago
Stefan Sayer
a3292d8b68
DSM: support for #include "script.dsm"
16 years ago
Stefan Sayer
d9aaac69f6
DSM: support $var in jumpFSM($var)/callFSM($var)
...
support $var or @select or #param in jumpFSM/callFSM
16 years ago
Raphael Coeffic
5d1ba1e5ce
small changes in debug messages
16 years ago
Raphael
70469dea2d
small fixes
16 years ago
Raphael Coeffic
7e65eccab8
added onw functions for parsing DNS reply
...
as it seems, several functions declared in arpa/nameser.h are not present in libresolv.so on Linux. those functions are considered to be internal to libresolv.
16 years ago
Raphael Coeffic
2eeef30fbb
fix bug introduced with f5bfad916c
16 years ago
Raphael Coeffic
9eecb79ab3
fixes port number for A record lookups
16 years ago
Raphael Coeffic
248bc3e11a
corrected some bugs
16 years ago
Raphael Coeffic
a2d39c5c09
remember which SRV entries have already been used (stored in dns_handle)
16 years ago
Raphael Coeffic
a7389521e2
queries SRV records if no port specified in the R-URI (RFC3263)
16 years ago
Raphael Coeffic
9c3ba1958a
cleanup + added TODOs
16 years ago
Raphael Coeffic
2c3875dad8
added a garbage collector threads (removes expired entries)
16 years ago
Raphael Coeffic
0672c66d8e
fixes the port number when a new address is used
16 years ago
Raphael Coeffic
0ea62e575b
moved generic types to the core directory
16 years ago
Raphael Coeffic
a292668861
fixes retransmission to another ip
...
- start the retransmission itself
- reset timer A/E correctly
16 years ago
Raphael Coeffic
9e22de3bea
added some entropy into compute_branch
...
without this change, branch tags created for the same transaction would be to similar.
16 years ago
Raphael Coeffic
f5bfad916c
support for RFC 3263 improvement
...
- added timer M with default = B_TIMER/4.
- when timer M triggers, next ip is tried.
- timer M is used only when there is another address to try.
16 years ago
Raphael Coeffic
5120770a4e
introduced a new DNS cache
...
- added aotmic_types for lock-free operations
- simple DNS cache
- support for SRV records
(work in progress...)
16 years ago
Raphael Coeffic
e7771d3f38
introduced the singleton pattern
...
- added singleton template class.
- changed resolver, trans_layer & wheeltimer to use the singleton pattern.
16 years ago
Raphael Coeffic
b8444a196e
- 'template-ized' the hash table mechanism so that it can be used by others as well (until now, only for sip transactions).
...
- moved the transaction table and related items into trans_table.{h,cpp}.
16 years ago
Raphael Coeffic
2cb7cb0ab1
fixes uac_auth on max os x
16 years ago
Stefan Sayer
d5300db86e
DSM: added debug info when event is processed
...
like the same in AmSession
16 years ago
Stefan Sayer
2ddcf513db
DSM doc: quizconnect tutorial
...
This DSM tutorial implements step by step an application,
which is best described by the original question:
"I am trying to accomplish a script that parallel forks to
many callers and then the one who enters the right DTMF
code gets the call."
The tutorial shows how a full application can be implemented
with DSM state machine scripting alone. Specifically, it shows
how to
- play ringback tone (183 early media)
- read from mysql database
- place outgoing calls
- interact between calls
- use conference module to connect the audio of calls
16 years ago
Stefan Sayer
fa9b4a2039
sst b2b: filter out session-timer headers
...
fixes bug #41 - http://bugtracker.iptel.org/view.php?id=41
16 years ago
Stefan Sayer
6127241d2b
properly evaluate minimum session timer
...
fixes bug #42 (https://bugtracker.iptel.org/view.php?id=42 )
422 Session Interval Too Small is replied with the configured
min-se value, if session refresh interval is too low.
16 years ago
Stefan Sayer
c397064d71
session-timer: use headers from AmSipHeaders
16 years ago
Stefan Sayer
1a9a2ae20d
small cleanups and reformatting
16 years ago
Stefan Sayer
9572b7b3ec
DSM: included monitoring module documentation
16 years ago