Peter Lemenkov
a04847ae6f
Actually fix a small typo
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1906 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Peter Lemenkov
a36ec93cd1
One typo and few trailing whitespace cleanups
...
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1904 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
00bfd9b9bb
finishes what has been begun with last commit.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1903 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
0c62419be7
don't break compilation if buffer length is not defined
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1902 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
37e35c7ea7
optionally compile with long debug messages. don't print messages twice when sending
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1900 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
b6c310ca5e
SEMS plug-in config files are now installed into $(cfg-target) instead of $(cfg-target)etc.
...
This means that all the config files are now in the same directory (by default: /etc/sems).
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1899 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
63815b0efe
fix compilation warning ( ;) )
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1898 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
9fcb7be156
- sessions are now terminated if no 200-ACK is received until timer H expires.
...
- an event handler has been added to notify the app about missing non-200 ACK.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1893 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
b5ad48ad05
- this was missing in the last version.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1892 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
25afe474bc
- removed onSipEvent (not used anywhere...)
...
- simplified the SIP event handling code in AmSession.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1886 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
22001be29a
- re-fix for macosx ;-) (see r1875)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1885 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
384a0864b9
fix: added missing brackets for contact header generation
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1883 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
c1dbf08fea
reindent
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1882 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
c851198217
some safety checking
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1881 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
ed96f3db8d
support public_ip for contact
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1880 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
425648e5be
per default, put
...
1. not the complete function signature in the log
2. the location (PID/TID/file/line...) at the beginning
see 1 -DLOG_PRETTY_FUNCTION and 2 -DLOG_LOC_DATA_ATEND in Makefile.defs
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1879 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Ondrej Martine
2ee9a90417
* use the standard getopt() to parse command-line options
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1877 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
7cae214d9c
- small enhancements and clean-ups for the SIP stack (work in progress...).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1876 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
4a332caf8a
- fixes compilation on macosx.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1875 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Ondrej Martine
ccec6fe36c
* command-line parsing
...
- options now properly override configuration settings
- fix arguments checking and cleanup error messages
- "-D" accepts string level (eg, "info"), etc.
[ ...prepare for switching to getopt soon... ]
* signal handling and more gracious shutdown procedure
- fix possible race condition in the signal handler (eg, static
AmMutex and AmCondition)
- dispose instances synchronously in main() instead of in
the signal handler
- replace multiple "exit()"s by a single exit point
- remove PID file on failure exit
* add possibility to disable daemon mode at compile-time (see
DISABLE_DAEMON_MODE macro)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1872 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Ondrej Martine
3a28ee48a5
* change the format of messages for stderr and syslog (eg, debugging
...
info goes after the message)
* add thread ID to the logging facility API
* on linux, use gettid() syscall instead of pthread_self() for
thread ID
* convert syslog logging to a logging facility
* add possibility to disable syslog at compile-time (see
DISABLE_SYSLOG_LOG macro)
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1870 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Ondrej Martine
c7df7e63fb
* add possibility to stop the new SIP controller
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1869 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Ondrej Martine
9f0a92f210
* add proper destruction of plugins (all instances are now destructed in AmPlugIn::dispose())
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1868 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
155e4af0ec
missing algorithm header for find
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1866 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
350ef3ca64
- fixes support for strict router.
...
- some cleanup.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1861 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
b627feec06
another mode for the AmAudioQueue where it doesn't own the entries in it
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1858 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
7da9be991b
- do not relay 100 replies (100 is hop-by-hop).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1857 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
f198235dfa
- corrected typo.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1855 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
ce9e36265e
fix locally originated 200 ACKs for B2B calls
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1854 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
05f37164e8
- fixes Route header for 200 ACKs.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1853 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
d29892932f
- fixes 200 ACK for AmB2BSession.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1852 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
2267ae71e7
- calls onSipRequest for ACK and CANCEL.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1851 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
fcebf1a6a9
added note about todo in b2b
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1850 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
5d82971221
reindented everything, and stopped that indentation mess
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1849 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
23f9b88d55
don't delete msg twice when sending fails
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1848 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
f3976314b2
500 is correct answer if invite uas trans pending
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1847 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
5b78cc6299
fixed remote cseq checking
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1846 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
9ea2b5318a
removed some more obsolete ser-sems stuff
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1844 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
536e79426a
- added some description + warning for AmSipDialog::reply_error.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1842 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
1695507989
- some more small fixes.
...
- added cseq checking.
- added pending INVITE checking.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1841 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
50c8c03298
more cleanup...
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1840 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
a793c6dc74
some cleanup
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1839 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
1f2b2598ad
fixed DTMF propagation (only for RTP events)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1836 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
c4c926bd69
added the max_forwards configuration option.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1835 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
94d697dd4e
make this compile for old spandsp version (cast required)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1834 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
971500b0b5
propagate event TS to aggregating DTMF detector. this help detecting same key presses that follow each other closely
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1833 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
ebedeabf34
make this compile again
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1830 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
a2beb11e27
removed extra characters
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1829 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
2ed490e7ca
- send_200_ack now clears the transaction entry from uas_trans.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1828 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Raphael Coeffic
dea103ae68
- make the AmSipDialog call the SIP event handler within AmSession, instead of the opposite.
...
- WARNING: this code is not yet tested.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1827 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago