4307 Commits

Author SHA1 Message Date
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
Michael Jerris
dced381e66 add speex 1.2beta1 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 18:13:27 +00:00
Michael Jerris
fc49fba107 move windows build to use the in tree iksemel
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3758 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 17:55:23 +00:00
Michael Jerris
83f4a9dc2f add iksemel to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3756 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 15:45:14 +00:00
Michael Jerris
7d37a04688 remove generated files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3755 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 15:43:59 +00:00
Michael Jerris
9593213ebc move windows build to use the in tree curl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 03:13:37 +00:00
Michael Jerris
d5033c686b add copy of generated file for windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 03:07:52 +00:00
Michael Jerris
3f82e9323c remove generated files and add svn:ignore
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3747 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 02:58:55 +00:00
Michael Jerris
5626cdd351 add curl 7.16.0 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 02:08:00 +00:00
Michael Jerris
cebf3306af move windows build to use the in tree sqlite
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3741 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 23:09:46 +00:00
Michael Jerris
493cbcd331 move windows build to use the in tree apr, apr-util and pcre
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 22:39:38 +00:00
Michael Jerris
245060e5a9 rename
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 21:56:27 +00:00
Michael Jerris
9d0d9187ab add apr-iconv 1.1.1 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3737 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 20:30:23 +00:00
Michael Jerris
165f180162 add sqlite 3.3.8 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3735 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 20:11:50 +00:00
Michael Jerris
3b35430557 add apr-util 1.2.8 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3734 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 20:04:21 +00:00