Commit Graph

435 Commits

Author SHA1 Message Date
Michael Jerris 3e4e15924f ignore CANCEL of incoming requests after we send a final response. Patch by me and Kai Vehmanen.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4213 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 23:14:36 +00:00
Michael Jerris 272b78be58 add missing spec file updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4205 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 18:29:52 +00:00
Michael Jerris 38cd3a8105 .update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4202 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 16:02:55 +00:00
Michael Jerris 215b751d92 merge fixes to sofia-sip including double free causing segfault or assert in sres
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4201 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 16:01:22 +00:00
Michael Jerris be1e4e3995 I don't think this has any real effect, but it was easier for me to read while I was debugging.. will probably revert it later.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4184 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 21:47:30 +00:00
Michael Jerris 1eacf043d2 merge sofia windows build, add ifdefed out code to avoid assert if it comes back.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 19:14:20 +00:00
Michael Jerris dccf9b3d1b updated makefiles and a missing source file from the last sofia merge
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4179 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 18:15:36 +00:00
Michael Jerris 82def9a70d touch the .update so the lib is totally rebuilt
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4178 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 17:57:51 +00:00
Michael Jerris 666bd3bec3 sync back up again with sofia tree prior to their release
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4177 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 17:32:17 +00:00
Michael Jerris f359f847f7 fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 02:36:03 +00:00
Michael Jerris 17d57b7142 missing ;
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4168 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 19:35:07 +00:00
Michael Jerris e7d0aaef27 fix warnings and some windows compatibility issues in enum/udns
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 19:23:36 +00:00
Michael Jerris 96f207585d sync windows build with new sofia build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4155 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 22:29:52 +00:00
Michael Jerris cad28828b2 merge changes from current sofia-sip tree.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4153 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 21:59:38 +00:00
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