bpintea
d074c0c0cd
removed "#if 0" dead code
...
removed code disabled during development of 100rel extension
16 years ago
bpintea
cf3c93492a
Merge branch 'master' into bpintea/prack
...
Resolved conflicts:
core/AmSessionEventHandler.h
core/plug-in/uac_auth/UACAuth.cpp
b/f: missing 'old_dlg_status' param in some onReply's:
apps/auth_b2b/AuthB2B.cpp
apps/registrar_client/SIPRegistrarClient.cpp
apps/sst_b2b/SSTB2B.cpp
16 years ago
Stefan Sayer
7fbe92bbd7
fix authentication on outgoing calls
...
uac auth now resets the dialog status back to what it was before
the failed request, if a request is retried with authentication.
16 years ago
Stefan Sayer
184268f89d
support for sending DTMF via RTP payload (RFC4733)
16 years ago
Stefan Sayer
77853863ab
getHeader:support content spanning multipe headers
...
Patch by Robert Szokovacs
16 years ago
bpi
6d27feb346
add support for 100rel extension (prack)
16 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
16 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
16 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
16 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
16 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
16 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
16 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
16 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
16 years ago
Raphael Coeffic
d6a547ca8e
- removed sticky "next_hop".
...
- if an outbound proxy is necessary, it should be set in the configuration parameters.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1811 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
c6d9ae3bbf
create RTP stream (AmSession::rtp_str) only if really needed
...
replace AmSession::rtp_str with AmSession::RTPStream() in your app.
for example for pure signaling B2B calls, no RTP stream instance is
created, which saves a lot of memory (especially because of
the RTP receive buffer)
ref r30371 r30372
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1784 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
ceb2030acc
Introduces optional (compile-time) threadpool for signaling support.
...
to use it, set USE_THREADPOOL in Makefile.defs and configure thread pool
size with session_processor_threads= parameter in sems.conf :
+# compile with session thread pool support?
+# use this for very high concurrent call count
+# applications (e.g. for signaling only)
+# if compiled with thread pool, there will be a
+# thread pool of configurable size processing the
+# signaling and application logic of the calls.
+# if compiled without thread pool support, every
+# session will have its own thread.
+#
+#USE_THREADPOOL = yes
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1782 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
00aa71fad7
- moved sipctrl plug-in into the core (core/sip).
...
- static library sip_stack.a (with dependencies on the core).
- removed AmServer and moved SipCtrlInterface into the core directory.
- TODO:
- CMake support to make core/sip/sip_stack.a and link against it in the core.
- merge AmSipRequest/AmSipReply and sip_msg structures.
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1758 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Raphael Coeffic
959d9452b4
- fixes compilation issues on 64bit Darwin.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1711 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
c5a316802c
precoded announcement fixes by Andrey Samusenko
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1655 8eb893ce-cfd4-0310-b710-fb5ebe64c474
16 years ago
Stefan Sayer
af99a7f223
onOutgoingInvite callback when sending INVITE
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1507 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
150721c5a9
Content-Type taken from sip requests' property
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1471 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
41a78d52e6
return 400 (client) error on invalid address. Log as warning, not error
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1465 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
8f608fa781
setStopped with wakeup option
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1266 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
669570bfd3
new event handler onBeforeDestroy(): called in the session thread before the session is destroyed, i.e. after the main event loop has finished
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1162 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
f473817929
session_num needs to be protected with mutex in multi core systems (cache)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1124 8eb893ce-cfd4-0310-b710-fb5ebe64c474
17 years ago
Stefan Sayer
d9884e05d1
first steps on proper shutdown:
...
- active sessions and other event receivers
get a SystemEvent::ServerShutdown,
default behaviour of AmSession is setStopped()
- session container waits for all sessions to be ended
- signaling server, rtp receiver, media processor, event dispatcher
are stopped and deleted
based on a patch by Rui Jin Zheng rjzheng at boronetworks dot com
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1087 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
32cd6ba786
moved AmSessionEventHandler into its own file, so that AmSession methods are easier to find. make session event handlers callable by AmSession descendants (thanks Rui Jin Zheng)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1086 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
7fb353e7ee
fixed line break
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1050 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Raphael Coeffic
7030673b90
- moved the "dialog-lookup-container" away from the session container into AmEventDispatcher.
...
- removed AmSIPEventHandler (its functionalities are now in AmEventDispatcher).
- added possibility for each plug-in to receive out-of-dialog messages (any kind).
- added possibility to handle dialogs without creating a session (=AmSession).
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1006 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
6231f30c16
488 reply (instead of 606) if no compatible codec found
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@995 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
6f44a030bb
core ZRTP support (see zfoneproject.com)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@950 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
b2e7133c08
fixed setting content type in SipRequest; reply error in case of unknown INFO content type. Thanks to Alex Gradinar
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@934 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
2da3de7ff0
trying content_type directly for DTMF, as reported by Alex Gradinar
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@932 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Richard Newman
3c7c8297f5
Add configuration parameter 'public_ip' and mechanisms to use it in SDP body generation.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@917 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
9e30482326
o moved payload selection to AmPlugIn
...
o possiblity to use other than the system (AmPlugIn) payloads for negotiation
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@817 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
48feeca9a8
o relayed requests in b2b are relayed without adding headers (Signature/Max-Forwards)
...
o moved adding Max-Forwards from ctrl plugins to AmSipDialog
o moved adding User-Agent from ctrl plugins to AmSipDialog
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@760 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
267e309d7a
moving SMTP stuff to voicemail app
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@676 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
052984ad11
support for inband dtmf detector from spandsp lib (www.soft-switch.org)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@545 8eb893ce-cfd4-0310-b710-fb5ebe64c474
18 years ago
Stefan Sayer
b7a06b5c71
session's local tag may be set in SessionFactory's onInvite method
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@518 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
7e9f32768c
pinging remote on early session for opening FW/NAT/symmetric rtp
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@516 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
c461a95986
fixed possible deadlock situation on incorrect localIP/raddr
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@515 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
f91fe91c18
support for extra headers in dialout calls
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@513 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
b5c6354ae8
support for setting the URI of a session in SDP
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@512 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
061dcad669
o early media receiving support
...
o local audio input support
o posting conference event support
o explicit monitor_rtp_timeout set
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@505 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
df041a16ed
train ride doxygen documentation
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@457 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
0f6efa9be2
handles failed sendInvite properly
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@393 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
79aaf4685b
corrected log info
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@312 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
dcf73ae3e6
fixed log message severity as reported by juha
...
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@311 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago
Stefan Sayer
2d07b7b821
fixes SessionComponent hook handling onSendRequest;
...
this fixes requests sent with session timer to contain SST headers
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@282 8eb893ce-cfd4-0310-b710-fb5ebe64c474
19 years ago