Quick Search:

Line History

line history graph

Show Arbitrary Diff

From to

Supports revisions and tags.

History

root: 3981 2010

latest revision download Branch root:

3981 deleted | Lines: 0 ( +0, -58 )

Created: 2007-01-17 14:10:03 -0500 (22 months ago) | Author: anthm | Changeset: 3981

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.


3392 annotated / raw | Diffs: previous, other | Lines: 58 ( +3, -0 )

Created: 2006-11-16 18:09:36 -0500 (2 years ago) | Author: mikej | Changeset: 3392

fix portaudio build on ppc, thanks puzzled on irc.

2967 annotated / raw | Diffs: previous, other | Lines: 55 ( +1, -1 )

Created: 2006-10-03 20:27:59 -0400 (2 years 2 months ago) | Author: mikej | Changeset: 2967

make attempting to reapply patches just fail and not prompt the user

2928 annotated / raw | Diffs: previous, other | Lines: 55 ( +1, -1 )

Created: 2006-10-01 20:15:18 -0400 (2 years 2 months ago) | Author: mikej | Changeset: 2928

I'll get this right by the 10th time.

2927 annotated / raw | Diffs: previous, other | Lines: 55 ( +3, -0 )

Created: 2006-10-01 20:01:00 -0400 (2 years 2 months ago) | Author: mikej | Changeset: 2927

64 bit on bsd

2926 annotated / raw | Diffs: previous, other | Lines: 52 ( +1, -1 )

Created: 2006-10-01 19:58:05 -0400 (2 years 2 months ago) | Author: mikej | Changeset: 2926

typo

2925 annotated / raw | Diffs: previous, other | Lines: 52 ( +9, -12 )

Created: 2006-10-01 19:56:21 -0400 (2 years 2 months ago) | Author: mikej | Changeset: 2925

fix portaudio build on OpenBSD take 5

2924 annotated / raw | Diffs: previous, other | Lines: 55 ( +5, -5 )

Created: 2006-10-01 19:42:16 -0400 (2 years 2 months ago) | Author: mikej | Changeset: 2924

fix portaudio build on OpenBSD take 4

2922 annotated / raw | Diffs: previous, other | Lines: 55 ( +5, -3 )

Created: 2006-10-01 18:50:31 -0400 (2 years 2 months ago) | Author: mikej | Changeset: 2922

fix portaudio build on OpenBSD take 3

2921 annotated / raw | Diffs: previous, other | Lines: 53 ( +3, -1 )

Created: 2006-10-01 18:39:50 -0400 (2 years 2 months ago) | Author: mikej | Changeset: 2921

fix portaudio build on OpenBSD take 2

2920 annotated / raw | Diffs: previous, other | Lines: 51 ( +1, -1 )

Created: 2006-10-01 18:36:44 -0400 (2 years 2 months ago) | Author: mikej | Changeset: 2920

fix portaudio build on OpenBSD

2919 annotated / raw | Diffs: previous, other | Lines: 51 ( +1, -1 )

Created: 2006-10-01 18:15:44 -0400 (2 years 2 months ago) | Author: mikej | Changeset: 2919

header tweak for netbsd

2910 annotated / raw | Diffs: previous, other | Lines: 51 ( +23, -0 )

Created: 2006-09-30 23:54:50 -0400 (2 years 2 months ago) | Author: mikej | Changeset: 2910

fix portaudio build on FreeBSD

2865 annotated / raw | Diffs: previous, other | Lines: 28 ( +2, -2 )

Created: 2006-09-29 02:02:37 -0400 (2 years 2 months ago) | Author: anthm | Changeset: 2865

remove static make name from script

2830 annotated / raw | Diffs: previous, other | Lines: 28 ( +14, -0 )

Created: 2006-09-25 10:57:44 -0400 (2 years 2 months ago) | Author: mikej | Changeset: 2830

Merged revision 2827-2828 from freeswitch/branches/tholo.  Thanks tholo:

2827: Embed installed name of shared library on Mac OS X -- otherwise code that is linked against it will not find it later on as the relative path during build gets embedded.

2828: Make it build using Xcode on Mac OS X again

2010 new annotated / raw | Lines: 14 ( +14, -0 )

Created: 2006-07-19 23:54:34 -0400 (2 years 4 months ago) | Author: anthm | Changeset: 2010

make portaudio autobuild on 64bit right