Anthony Minessale
d44c204f5b
fix goofy 183 madness
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 15:51:10 +00:00
Michael Jerris
3667da49b6
add description and syntax to interface database, add description and syntax headers to events for interface add for api and application interface, add appropriate output to show and help commands.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3003 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 08:35:27 +00:00
Michael Jerris
e9af9e02fe
make help an api command, still need to add syntax and descriptions to the db so we can output those as well.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3002 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 08:09:57 +00:00
Michael Jerris
c822f94125
add syntax to api structures, use them for usage returns, do more checking on valid usage and cleanup some output of api commands.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3001 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 07:11:42 +00:00
Michael Jerris
2b53e80e34
add syntax field to the api interface struct.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3000 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 05:04:34 +00:00
Michael Jerris
dd3cd99301
add more usage checking and return usage information on invalid usage of api commands.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2999 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 04:40:15 +00:00
Michael Jerris
3958734b85
switch_ivr_uuid_bridge make return SWITCH_STATUS_SUCESS on success.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2998 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 04:39:21 +00:00
Michael Jerris
d95fdb0ccc
type tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2997 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 04:37:03 +00:00
Anthony Minessale
bc7a378c4e
Modify Originate input syntax
...
This adds the | to the originate syntax
making it possible to put a list of urls to call and attempt
to call them one at a time until one of them is successful or there
are none of them left
The original & delimited list is valid for each step in the | separated
list
Example
sofia/test-int/3920@10.3.3.104|sofia/test-int/3910@10.3.3.104&sofia/test-int/3920@10.3.3.104
first call 1 location and if that results in a failure, try 2 at once on the next go
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2996 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 22:19:24 +00:00
Michael Jerris
b9a350a40d
update windows build to new sofia tarball
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2995 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 20:09:46 +00:00
Anthony Minessale
741b8329b9
Modifying the behaviour of the dialplan engine
...
the 'data' field in action tags may now refer to variables and api functions
to be expanded at runtime.
Syntax:
$varname
${varname}
&func_name(func args)
Exception:
variables that are numeric are still expanded at dialplan compile time based on the regex eg $1 $2 etc
Example:
<extension name="1000">
<condition field="destination_number" expression="^(1000)$">
<action appplication="my_route_app" data="$1"/>
<action appplication="bridge" data="$destination"/>
</condition>
</extension>
Here the $1 is ecaluated before the call begins setting it to 1000 based on the regex ^(1000)$
$destination is evaluated on the fly in execution once the my_route_app has run and has had a
chance to set the variable 'destination' to the correct value.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2994 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 19:54:04 +00:00
Anthony Minessale
4ede7f7593
Update to new sofia snapshot, includes fixes for 100 on notify, and for sdp not in 200 after 183 when not using 100rel
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 18:54:29 +00:00
Anthony Minessale
0d23976f2a
Insane amounts of yucky satanic code to make transfer and that kind of thing work.
...
Transfers work better when both legs of the call live in thier own channel eg bridged calls
A -> B where you want a to make B -> C
when you route a call to an IVR or playback app you are not really bridging you have
A all alone executing the script so it's hard to transfer that.
I do have it aparently working but it's goofy and you are better off
putting your IVR on it's own switch so they are all inbound calls
then you have A -> B -> IVR
now A can happily transfer B who can stay on line with IVR without stopping
the execution. You can also accomplish this by calling in a loop back to the same box
if you dont want to have 2 boxes.
Also the beginning effort at bridging calls with no media is here
set this magic variable in your dialplan to convince mod_sofia
to pass A's sdp as it's own to B and return B's sdp back to A on 200 or 183
<action application="set" data="no_media=true"/>
<action application="bridge" data="sofia/id@host.com"/>
You will need a new sofia tarball for this version
There is a bunch of other odds and ends added like a function or 2 etc
Oh,
And don't be suprised if it introduces all kinds of bugs!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-06 22:39:49 +00:00
Michael Jerris
d7959131a3
add pthread dll to setup for sofia
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2990 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-06 15:27:14 +00:00
Michael Jerris
9624ef3f3d
fix debug build for sofia on windows, use dll version of pthread win32 so it can do the cleanup properly.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2988 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-06 13:13:28 +00:00
Michael Jerris
0fbdfb60b4
update usage descriptions.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2983 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 20:49:09 +00:00
Anthony Minessale
c23c32f013
sofia again
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2981 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 15:07:45 +00:00
Anthony Minessale
9ff8f4d7b0
sigh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2980 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 14:45:56 +00:00
Michael Jerris
bd84b01a4b
initialize some vars that might not get initialized in some codepaths.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2979 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 14:29:54 +00:00
Anthony Minessale
f993cd6791
more sofia stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2978 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 14:24:25 +00:00
Anthony Minessale
4c6aac4f3f
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2976 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 04:25:32 +00:00
Anthony Minessale
82bb3d2a7c
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2975 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 04:23:13 +00:00
Anthony Minessale
535d4c4d06
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2974 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 04:15:04 +00:00
Anthony Minessale
596b88e584
fix callerid even better!
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2973 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 04:06:07 +00:00
Michael Jerris
4e9be89ad6
update windows sofia build to latest release.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2972 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 03:11:09 +00:00
Anthony Minessale
26f5e1c6ce
fix callerid
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2970 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 00:38:45 +00:00
Anthony Minessale
7de068b9ac
sip work in progress changes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2969 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-04 23:11:11 +00:00
Michael Jerris
9dc167a83c
make attempting to reapply patches just fail and not prompt the user
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2967 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-04 00:27:59 +00:00
Anthony Minessale
d80ce73564
umm, yeah, when it's dynamic, and there are no members, let's go ahead and ummmm exit the thread, mmmkay?
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2966 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-03 18:02:23 +00:00
Michael Jerris
64a3ef3c91
resolve unused function warning, this probably works better as a macro anyhow.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2964 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-03 12:38:12 +00:00
Anthony Minessale
513d5dbbdd
adding transfer part 1
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2962 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-03 04:08:30 +00:00
Anthony Minessale
965f8b50d5
finish solaris porting for srtp. This should work now, but still needs some more work
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2957 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 20:49:26 +00:00
Michael Jerris
c4b5df5315
solairs port, add new files, still WIP.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2955 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 19:13:49 +00:00
Anthony Minessale
804aaa5097
update autotools for libspeakup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2954 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 18:22:56 +00:00
Michael Jerris
4a871ba503
remove sum unnecessary files, add a missing one
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 18:21:02 +00:00
Anthony Minessale
5751f1f643
tweak sofia
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2952 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 17:21:06 +00:00
Michael Jerris
8747f15aee
add some macros in preparation for solaris port of srtp
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2951 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 17:03:36 +00:00
Michael Jerris
af06084f43
fix prototype of signal handler functions (sun studio doesn't like these wrong)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2949 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 16:48:00 +00:00
Michael Jerris
6797158b61
solaris warning tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2948 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 16:23:39 +00:00
Michael Jerris
791c051246
make spidermonkey build on OpenBSD
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2943 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 06:27:29 +00:00
Michael Jerris
bddb61709a
typo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2941 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 04:25:41 +00:00
Michael Jerris
5ecbe8b168
make this build in a few more places for now. This still needs proper autoconf detection for mysql.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2940 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 04:19:04 +00:00
Michael Jerris
cba33ca50a
make this build in a few more places for now. This still needs proper autoconf detection for mysql.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2939 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 04:11:22 +00:00
Michael Jerris
ebd092f2a8
spidermonkey builds successfully on freebsd now.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2938 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 04:06:27 +00:00
Michael Jerris
f403d3415e
force -lpthread on freebsd
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2937 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 03:36:26 +00:00
Michael Jerris
37a7af88a6
typo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2935 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 03:07:28 +00:00
Michael Jerris
f9cec9f371
enable passthrough build of g732_1 and g729 codecs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2934 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 03:00:37 +00:00
Michael Jerris
5a315d74bf
create makefile for netbsd.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2933 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 02:47:39 +00:00
Michael Jerris
356730ab97
add tgmath.h checks.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2932 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 01:53:37 +00:00
Anthony Minessale
8001cd5802
add check for tgmath.h
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2931 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 01:49:41 +00:00