Anthony Minessale
41541428fc
minor tweaks on new portaudio stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3990 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 01:23:27 +00:00
Anthony Minessale
832c48cb9b
allow storage of a1 hash in user directory field 'a1-hash' trumps password field
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3983 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-17 22:42:52 +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
Michael Jerris
44a3909e79
fix seg with register w/ no contact.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3968 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 22:12:15 +00:00
Michael Jerris
5db9b9d0b7
better error message/don't print null when no sip-ip is specified.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3967 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 19:00:47 +00:00
Anthony Minessale
fec8895d62
heed the advice of tech_choose_port
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3964 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 16:59:42 +00:00
Michael Jerris
61dfa852ca
can't set max forwards if it's not there.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 15:40:35 +00:00
Michael Jerris
c2b78628ee
bind to the right address when using ext-sip-ip
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3962 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 04:32:21 +00:00
Michael Jerris
d2099ef174
if we define ext-sip-ip in the profile for config, use it for the profile url. This does not yet use stun, or have any method for determining on a call by call basis if a call needs to use the internal or external.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 03:52:39 +00:00
Anthony Minessale
0edea416cc
Avoiding Segfaults from buggy depend libs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-13 03:28:08 +00:00
Michael Jerris
d933d5fe2f
add max_forwards chanvar, maybe we should put this in caller profile and allways pass it across and decrement it to avoid loops across the switch, at least for protocols that support loop detection.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3947 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 23:44:18 +00:00
Michael Jerris
f703a303f0
use blank instead of null if no username
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3946 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 23:04:54 +00:00
Michael Jerris
0c97a56956
use the request uri instead of to for primary routing
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3944 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 18:25:35 +00:00
Michael Jerris
d83b399d96
completely untested redirect support, need to try this from a machine that can take sip calls.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3942 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-10 21:26:10 +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
Michael Jerris
abad48b320
fix segfault.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 20:57:30 +00:00
Anthony Minessale
7fac72df6c
move opts up
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3911 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-05 15:52:23 +00:00
Anthony Minessale
9ef6b41064
fix names
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3910 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-05 15:50:10 +00:00
Anthony Minessale
085b897198
fix seg from bad input
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3909 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-04 22:08:41 +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
552f315e2c
revert previous change
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3895 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 20:11:09 +00:00
Anthony Minessale
d41a5a99d1
come down from acid trip there is no test_flag_locked
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 19:31:06 +00:00
Michael Jerris
8a569060ba
use the request uri instead of to for primary routing
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3891 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 18:05:13 +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
Anthony Minessale
18c3fe5cf9
fix messed up switch statement
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3877 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-31 19:54:16 +00:00
Anthony Minessale
314ddb3e24
add break to iax
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3872 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-30 17:22:17 +00:00
Anthony Minessale
c4717f9077
fix locking and add lock debugging as a define
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-29 16:39:56 +00:00
Anthony Minessale
37632a1a9c
nomedia stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3866 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-29 00:57:08 +00:00
Anthony Minessale
90ac85d947
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3862 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-28 20:05:54 +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
Anthony Minessale
905a48c85f
fix sofia (part 1)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-28 01:08:06 +00:00
Anthony Minessale
2fc9b069d7
chop off resource in chat stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3850 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 18:42:32 +00:00
Anthony Minessale
2e23a95ffe
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3849 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 15:54:56 +00:00
Michael Jerris
9bf1884d47
refactor
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 15:55:52 +00:00
Michael Jerris
fb19b48332
send right data type for break
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3783 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 20:24:04 +00:00
Anthony Minessale
90440eaf1d
add case for kill sigs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3778 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 16:46:11 +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
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
Anthony Minessale
e594105972
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3736 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 20:24:07 +00:00
Michael Jerris
2accfa888d
used potentially uninitialized variable.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3727 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 18:54:06 +00:00
Anthony Minessale
fed61140a2
xmas presence
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3725 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 18:45:14 +00:00
Anthony Minessale
87bbe09645
xmas presence
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3723 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 18:24:22 +00:00
Anthony Minessale
a56e221e70
xmas presence
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3722 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 18:04:07 +00:00
Anthony Minessale
375f1b38fd
xmas presence
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3721 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 17:51:36 +00:00
Anthony Minessale
55d0882f90
xmas presence
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3720 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 17:48:50 +00:00
Anthony Minessale
fc85d8aa21
xmas presence
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3719 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 17:29:33 +00:00
Anthony Minessale
c40aa9eec4
add break
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 21:40:04 +00:00
Anthony Minessale
44cc7d5cfe
build progress break everything
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-17 01:01:09 +00:00
Anthony Minessale
218b495bb3
fix probe presence stuff on conference, do a make sure
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3676 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-16 03:00:56 +00:00
Anthony Minessale
0a7b7ce3b0
WIP
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3640 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-13 22:58:32 +00:00