Commit Graph

421 Commits

Author SHA1 Message Date
Michael Jerris e4e3673a2d resolve possible loss of data warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4098 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 07:57:12 +00:00
Michael Jerris 55cdd067c0 pointer truncation fix.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4097 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 07:55:18 +00:00
Michael Jerris 27f184f2bf fix windows build when there is a space in the source directory name.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4096 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 07:54:02 +00:00
Anthony Minessale b16a66caac trigger dingaling rebuild
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4092 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 15:12:31 +00:00
Anthony Minessale 39119eb7a7 fix dingaling reject
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4087 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 22:22:29 +00:00
Michael Jerris afc95ee798 add file object from spidermonkey.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 17:59:27 +00:00
Michael Jerris 4a651581d2 use closesocket on sockets.. not close
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4015 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 16:54:30 +00:00
Michael Jerris 96b276428e make executable.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4010 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-21 00:29:35 +00:00
Anthony Minessale 16fce97f7a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 21:56:31 +00:00
Anthony Minessale ccd944d52b minor tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4003 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 20:35:50 +00:00
Michael Jerris 680ef8d169 indications are that we can use mfence, lfence, sfence on x86_64, we will need to test and confirm this, but this should fix the build on 64 bit linux gcc at least. need testers to confirm this.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3998 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 12:49:10 +00:00
Michael Jerris 23a744ad9d Initial windows build for new portaudio module, so far completely untested, it will NOT work on 64 bit and potentially problematic on SMP boxes still as I am building right now. This build currently uses only winmme, will follow up with better support for optionally building against direct sound, asio, and wasapi.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 01:45:58 +00:00
Michael Jerris 85f4441233 remove extra bits of code from debugging
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3989 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 00:31:48 +00:00
Michael Jerris 5208bffe46 fix url parser from when I broke it trying to fix it, but now it's fixed.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3988 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 00:28:21 +00:00
Anthony Minessale 5ea224b3ca fix for cnonce crap (tell pekka)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3982 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-17 22:04:01 +00:00
Anthony Minessale 39a9e94305 New mod_portaudio (sponspred by eWorldCom http://www.eworldcom.hu/)
This updates mod_portaudio to use the new v19 api and also contains
major behavioural changes.  This initial check-in should be tested to find
any obscure use cases that lead to crashes etc...

All of the old api interface commands are now depricated and any attempt to
use them should cause a polite warning asking you to try the new single "pa" command.

New Features:
*) Mulitiple calls with hold/call switching.
*) Inbound calls can play a ring file on specified device. (global and per call)
*) Optional hold music for backgrounded calls. (global and per call)


Example dialplan usage:

<extension name="2000">
  <condition field="destination_number" expression="^2000$">
    <!--if the next 3 lines are omitted the defaults will be used from portaudio.conf-->
    <action application="set" data="pa_ring_file=/sounds/myring.wav"/>
    <action application="set" data="pa_hold_file=/sounds/myhold.wav"/>
    <action application="set" data="export_vars=pa_ring_file,pa_hold_file"/>
    <action application="bridge" data="portaudio"/>
  </condition>
</extension>


Example API interface usage:

call extension 1000
> pa call 1000

call extension 1001 putting the other call on hold
> pa call 1001

swap the calls between hold and active
> pa switch

view the current calls
> pa list

forground the call with id 1 
> pa switch 1

background all calls
> pa switch none

send a dtmf string (1234) to the current call
> pa dtmf 1234

answer the oldest unanswered inbound call
> pa answer

answer the call with id 1
> pa answer 1

hangup the active call
> pa hangup

hangup the call with id 1
> pa hangup 1

get device info
> pa dump

print usage summary
> pa help


USAGE:
--------------------------------------------------------------------------------
pa help
pa dump
pa call <dest> [<dialplan> <cid_name> <cid_num> <rate>]
pa answer [<call_id>]
pa hangup [<call_id>]
pa list
pa switch [<call_id>|none]
pa_dtmf <digit string>
--------------------------------------------------------------------------------

The source of the portaudio v19 library will also be checked in for the 
sake of the build system.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3981 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-17 19:10:03 +00:00
Brian West bf9a2605d2 The Makefile.in was correct but this file was not.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3974 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-16 16:01:54 +00:00
Michael Jerris 63d89577d6 switch all libs and mods to use the dynamic instead of the static runtime so everything in freeswitch runs in a single instance of the runtime.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-07 04:35:16 +00:00
Anthony Minessale 8f4a636fa1 trigger sofia rebuild
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3908 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-04 18:02:05 +00:00
Michael Jerris df8b8627d1 allow unescaped # in username portion of uri even though it is agains rfc 2396, to be more compatible with broken ua's as there are many who do not properly escape a # in the uri
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3898 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 23:44:44 +00:00
Michael Jerris 3bb03d9307 correct path to pcre.h
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3890 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 15:20:57 +00:00
Michael Jerris bfa7694c85 update windows build to use in tree sofia-sip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3889 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 15:20:18 +00:00
Michael Jerris ad36f2a9f3 update to latest darcs sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3888 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 15:11:55 +00:00
Michael Jerris af598aa069 fix windows generation of header file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3887 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 14:24:19 +00:00
Anthony Minessale 265268cccd fix issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3861 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-28 20:05:38 +00:00
Anthony Minessale 968f4fccc3 fix sofia (part 2) you'd better 'make sure'
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3860 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-28 19:38:35 +00:00
Brian West a5a81439cd I have figured out the best way to do this without using xcode
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3852 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 20:26:06 +00:00
Brian West a2a1d850c7 update because framework name and include header file names must match.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3848 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 07:47:20 +00:00
Brian West fca0a85121 update because framework name and include header file names must match.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3847 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 07:47:08 +00:00
Brian West 29499696f7 update project file.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 07:46:02 +00:00
Brian West 25489cf3e0 update project file.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3845 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 07:43:20 +00:00
Brian West 7df5fb3054 add libresample xcodeproj
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3844 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 07:40:53 +00:00
Brian West db123e7428 update plist for teletone
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3843 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 07:29:48 +00:00
Brian West 77b6113846 proper xcodeproj files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3842 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 07:22:12 +00:00
Michael Jerris 746948e05e get spidermonkey building again, we still have a build issue with the file object that is not quite right.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3823 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-24 02:36:45 +00:00
Michael Jerris ca18721695 add svn:executable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3813 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-23 04:21:39 +00:00
Michael Jerris 1198931d48 fix windows build paths from moving libs in tree.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 19:02:52 +00:00
Michael Jerris 8761a73997 change around types for better c99 compliance, fixes windows srtp build and builds that do not default to 8 bit stuct alignment.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3797 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 19:02:10 +00:00
Michael Jerris c539bab153 smaller func name so it prints nicer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3787 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 20:52:19 +00:00
Anthony Minessale 803df51cd7 grr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3785 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 20:42:43 +00:00
Michael Jerris f8bc176e19 update to current sofia darcs, fix partial rename of sip_test_msg->test_sip_msg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3780 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 16:55:03 +00:00
Anthony Minessale 6f3f463f0b fix sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3777 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 16:25:34 +00:00
Michael Jerris 2ecac238f3 add sofia-sip 1.12.4 (plus some patches through 12/21/2006) to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3774 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 06:30:28 +00:00
Michael Jerris 0cdfa4fe13 move windows build to use the in tree xmlrpc-c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3773 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 04:18:56 +00:00
Michael Jerris 3abb7730b2 add xmlrpc-c 1.03.14 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3772 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 03:57:49 +00:00
Michael Jerris 1f52cf4f6a fix libetpan 0.48 windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3764 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 21:01:39 +00:00
Michael Jerris 838eb8aaec add libetpan 0.48 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3763 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 20:28:56 +00:00
Michael Jerris 94568cb6cc move windows build to use the in tree libsndfile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3762 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 19:15:22 +00:00
Michael Jerris f210c27f43 add libsndifle 1.0.17 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3761 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 19:08:07 +00:00
Michael Jerris 2506451f8a move windows build to use the in tree speex
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3760 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 18:27:35 +00:00