Commit Graph

21215 Commits

Author SHA1 Message Date
Anthony Minessale 26b04fdc4a FS-4068 --resolve 2012-04-03 13:29:39 -05:00
Anthony Minessale 781e8b72bd do not include Expires header in INVITES responding to a auth challenge 2012-04-03 12:37:52 -05:00
James Zhang 339c45b2cb freetdm: Add documentation for SS7 native bridge 2012-04-03 11:27:25 -04:00
James Zhang b324f86797 freetdm: Clean up SS7 native bridge code to separate the call control, queuing and
resource-cleanup responsibilities clearly between the 2 channels involved in the bridge

   - Each channel is responsible for clearning its own peer_data and event queue
     at the end of the call (when moving to DOWN state)

   - Each channel dequeues messages only from its own queue and enqueues messages
     in the peer's queue, with the only exception being messages received before
     the bridge is stablished (IAM for sure and possible SAM messages) because
     if the bridge is not yet stablished the messages must be queued by the channel
     in its own queue temporarily until the bridge is ready

   - When the bridge is ready it is the responsibility of the incoming channel to
     move the messages that stored temporarily in its own queue to the bridged peer queue

   - During hangup, each channel is responsible for moving itself to DOWN. The procedure
     however differs slightly depending on the hangup conditions

     If the user requests hangup (ie, FreeSWITCH) the request will be noted by setting the
     FTDM_CHANNEL_USER_HANGUP flag but will not be processed yet because call control is
     driven only by the link messages (so no hangup from ESL or command line allowed)

     When REL message comes, the channel receiving it must move to TERMINATING state and:

           - If the user has not hangup yet (FTDM_CHANNEL_USER_HANGUP flag not set) then
             notify the user via SIGEVENT_STOP and wait for the user to move to HANGUP
             state by calling ftdm_channel_call_hangup() before sending RLC

           - If the user did hangup already (FTDM_CHANNEL_USER_HANGUP flag is set) then
             skip user notification and move to HANGUP state directly where the RLC message
             will be sent

   - On HANGUP state the RLC is sent and the channel is moved to DOWN, final state
     The peer channel will forward the REL message and wait for RLC from the network, when
     RLC is received the channel can move straight to DOWN itself because the peer channel
     is completing its own shutdown procedure when it received the REL message
2012-04-03 11:23:49 -04:00
David Yat Sin d730df77e4 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-04-02 18:00:38 -04:00
David Yat Sin 38143e3035 freetdm - ISDN added check to treat calling number 0000000000 as empty calling number 2012-04-02 18:00:27 -04:00
Anthony Minessale 647740e9a4 cleanup after yourself 2012-04-02 16:20:40 -05:00
Anthony Minessale 6138fc8753 FS-4038 can you try this 2012-04-02 16:03:45 -05:00
Anthony Minessale 139dc3e34e fix race condition where network lists are not created yet so nat detection does not work in sofia during startup 2012-04-02 16:03:45 -05:00
Anthony Minessale afdf50d423 stop sched thread quicker on global destroy 2012-04-02 15:33:45 -05:00
Anthony Minessale 972504a3ca unset logger on global destroy 2012-04-02 15:00:35 -05:00
Anthony Minessale 61fe806c0a delete subs on 481 2012-04-02 14:51:23 -05:00
Anthony Minessale fe704c4082 FS-3984 --resolve 2012-04-02 14:37:40 -05:00
Anthony Minessale d655ceecf8 add fsctl debug sql 2012-04-02 12:58:40 -05:00
Anthony Minessale b80a3a3439 set session loglevel as well in fs_cli when doing 'console loglevel info' also now implies '/log info' locally 2012-04-02 11:58:00 -05:00
Giovanni Maruzzelli bc8cf0a0bf skypopen: test commit, please ignore 2012-04-02 08:14:28 +02:00
Travis Cross d2edcad66e Merge Phil Zimmermann's libzrtp as a FreeSWITCH library
Thanks to Phil Zimmermann for the code and for the license exception
we needed to include it.

There remains some build system integration work to be done before
this code will build properly in the FreeSWITCH tree.
2012-03-31 23:42:27 +00:00
Ivo Kutts fcfa41e537 Help libzrtp build without ECC files
More build system work may be needed.
2012-03-31 23:26:07 +00:00
Philip Zimmermann c7e476402a Relicense bnlib under GPLv2/GPLv3 with exception for FreeSWITCH
Thanks to Travis Cross for much of the language here.

Signed-off-by: Philip Zimmermann <prz@mit.edu>
Signed-off-by: Travis Cross <tc@traviscross.com>
2012-03-31 22:56:22 +00:00
Philip Zimmermann 7bacb6d473 Add AGPLv3 license with exception for FreeSWITCH
Thanks to Travis Cross for much of the language here.

Signed-off-by: Philip Zimmermann <prz@mit.edu>
Signed-off-by: Travis Cross <tc@traviscross.com>
2012-03-31 22:56:22 +00:00
Viktor Krikun b3280ae276 Send empty SAS during enrollment and other improvements
(refs #25)
2012-03-31 22:56:22 +00:00
Viktor Krikun 9cd1409047 Add more unit-tests and bug-fixes for random-access ZRTP cache
(refs #24)
2012-03-31 22:56:22 +00:00
Viktor Krikun e8a376a87f First draft implementation of random-access cache
(refs #25)
2012-03-31 22:56:22 +00:00
Viktor Krikun be03cdc27a Add Cmockery unit-testing library as a backend for our automated tests
(closes #26)
2012-03-31 22:56:22 +00:00
Viktor Krikun c74f85f7ab Recheck and implement missing features in Acive-Passive logs
(closes #23)
2012-03-31 22:56:22 +00:00
Viktor Krikun fc97a91993 Add Android make file
(closes #22)
2012-03-31 22:56:21 +00:00
Viktor Krikun 589039481a Minor improvements in OSX build system 2012-03-31 22:56:21 +00:00
Viktor Krikun 58bd25c4bc Move ZRTP_SRTP_HASH_SHA1
ZRTP_SRTP_HASH_SHA1 was moved from public zrtp_hash_id_t to the
private srtp implementation. HMAC SHA1 constant was also renamed to
ZRTP_SRTP_HASH_HMAC_SHA1 in order to raise an error if the user tries
to use an old ZRTP_SRTP_HASH_SHA1 constant in a ZRTP session
configuration.
2012-03-31 22:56:21 +00:00
Viktor Krikun 6c980fb68c Update Xcode projects to the latest version of Xcode 4 2012-03-31 22:56:21 +00:00
Viktor Krikun f605e4e80d Add debug info in order to trace HMAC error in Zfone 2012-03-31 22:56:21 +00:00
Viktor Krikun 8f659bc9d5 Miscellaneous Xcode project change 2012-03-31 22:56:21 +00:00
Viktor Krikun ee5dac01e3 Miscellaneous updates 2012-03-31 22:56:16 +00:00
Viktor Krikun b218edc790 Changes for Visual Studio 2010 support and x64 2012-03-31 18:52:00 +00:00
Viktor Krikun a878a99fc6 Changes for Zfone on Windows x64 2012-03-31 18:51:59 +00:00
Viktor Krikun 50819e6934 Miscellaneous build changes 2012-03-31 18:51:59 +00:00
Viktor Krikun 7a04fbe4fd Windows build config changes 2012-03-31 18:51:59 +00:00
Viktor Krikun 5164d448dc Minor bug fixes per Xcode static analyses tools 2012-03-31 18:51:59 +00:00
Viktor Krikun 35f741d581 Changes to Xcode project files 2012-03-31 18:51:59 +00:00
Viktor Krikun e3831cf26e Increase default cache file path length to 256 characters 2012-03-31 18:51:59 +00:00
Viktor Krikun 5ae7ebc1f2 Fix mistaken NO_ZRTP_QUICK events after Hello received
(closes #20)
2012-03-31 18:51:46 +00:00
Viktor Krikun 5a61e580b9 Add libzrtp beta 2012-03-31 18:37:58 +00:00
Jeff Lenk 350b41fa19 more cleanup for new config changes on VS2008
and VS2010
2012-03-30 22:53:27 -05:00
James Zhang 8a589435de freetdm: Adding condition to parse sip headers only for non-freetdm channels.
This fixes an issue where ss7 native bridge was accidentally enabled
         any time two freetdm channels were bridged regardless of the freetdm_native_sigbridge
         variable value.
2012-03-30 16:50:00 -04:00
Anthony Minessale 8618e22c9d FS-4053 try this 2012-03-30 14:24:50 -05:00
Anthony Minessale 2ab1605a88 ZRTP passthru mode code for phil 2012-03-29 18:37:15 -05:00
Ken Rice 172bba7723 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-03-29 16:15:27 -05:00
Ken Rice 394a59c512 FS-4042 fix a file path 2012-03-29 16:14:54 -05:00
Anthony Minessale ef9dfe42fc mirror back record-route header in options 2012-03-29 15:58:19 -05:00
Anthony Minessale 7384288ce1 added too many fields to this check 2012-03-29 15:27:42 -05:00
Anthony Minessale 67b65f95d0 FS-4038 --resolve 2012-03-29 12:13:59 -05:00