Commit Graph

2409 Commits

Author SHA1 Message Date
Michael Jerris
4b7f9bddf5 merge changes from ezXML 0.8.6
- fixed a bug in ezxml_add_child() that can occur when adding tags out of order
- for consistency, ezxml_set_attr() now returns the tag given
- added ezxml_move() and supporting functions ezxml_cut() and ezxml_insert()
- fixed a bug where parsing an empty file could cause a segfault


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4081 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 16:58:37 +00:00
Anthony Minessale
e02299f8f6 add tag to sipfrag notify packets re: pekka's advice
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4080 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 16:54:42 +00:00
Anthony Minessale
d783fc10c1 make sofia try harder to match the packet interval on codecs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4079 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 16:44:44 +00:00
Anthony Minessale
943105b06f few sofia cleanups complements of CtRiX (thanks for pointing them out)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4078 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 15:51:38 +00:00
Anthony Minessale
db70ef2a37 codec tweaks (do a make sure)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4077 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 15:43:41 +00:00
Brian West
fcb152104f this is the correct values
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4076 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 15:34:38 +00:00
Michael Jerris
b2016ca6ab fix session_record api interface param handling (from prof_HATE via irc)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4075 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 08:37:40 +00:00
Brian West
8d45c2e90a update to allow args to enum dialplan for lookups.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4074 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 21:43:00 +00:00
Anthony Minessale
0ed9ebe492 CODEC TWEAK
mod_sofia will now examine a variable in the channel to
see what the channel's originator was using for a codec and 
try to put that to the top of the list in the sdp.

if this new sofia profile param is set:
<param name="disable-transcoding" value="true"/>

All outbound calls will use *only* the codec that thier originator 
is using to ensure no transcoding.
(of course that could lead to a failed call where there is no way to do this, so use sparingly)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 17:37:51 +00:00
Anthony Minessale
1ef78b928f fix sleep to work right on unanswered channels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4072 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 03:17:12 +00:00
Anthony Minessale
066807ed52 tweak default conf for better first experience
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4071 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 03:05:20 +00:00
Anthony Minessale
781c74fc8e add stupid 2833 crap
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4070 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 02:38:52 +00:00
Anthony Minessale
e887d1a543 fix (part2)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4069 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 18:26:17 +00:00
Anthony Minessale
4162f0e98f fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4068 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 18:23:30 +00:00
Anthony Minessale
b4e374af10 fix mute
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4067 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 16:37:10 +00:00
Anthony Minessale
85dab893d9 A few changes:
1) The xml_curl now has a more enterprise config where it can have more than 1
   url configured so you could have failover. (*note the syntax change*)

2) dialplan modules now take an extra arguement making it possible to pass runtime params to
   them.  This is now used in mod_dialplan_xml to allow an alternate file path to be specified.

   dialplans were already stackable meaning you can configure a sofia profile, for example,
   to use enum followed by the default XML dialplan.

   e.g. <param name="dialplan" value="enum,XML"/>

   From now on, you can also specify :param after each dialplan name to allow param
   to be passed to the module.  mod_dialplan_xml uses this param as a way to override
   where it looks for the dialplan making it possible to stack mutiple calls to the XML dialplan.

   e.g. <param name="dialplan" value="XML:/some/xml/file.xml,XML"/>

   With this you can search the local file file.xml first and if there is still no match
   the hunt will move on to the standard XML using the onboard XML registry and or the external
   gateways.

   *NOTE* this alternate path does not use the external bindings but it does parse the #includes etc.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4066 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 16:23:33 +00:00
Michael Jerris
f17eece9e3 fail the call when the best match is a codec with no name.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4065 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 04:45:54 +00:00
Michael Jerris
b6bcd30dff differing const qualifiers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4064 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 04:44:47 +00:00
Anthony Minessale
f11f120a05 add sip_call_id variable to sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4062 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 21:12:19 +00:00
Anthony Minessale
00d7e70e2d fix cause code passthrough
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4061 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 20:39:45 +00:00
Anthony Minessale
28807552d0 fix horrible evil bug update to this revision at once and do a "make sure"
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4060 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 17:52:22 +00:00
Anthony Minessale
c48449854d add more hint info to conference xml open
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4059 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 15:58:35 +00:00
Anthony Minessale
a4e967a097 add more hint info to conference xml open
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4058 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 15:48:58 +00:00
Anthony Minessale
a5bec02bea modest rearranging
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4057 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 15:42:38 +00:00
Anthony Minessale
4e75aa0b52 make conference_local_play_file honor the sound-prefix param
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4056 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-25 17:26:23 +00:00
Anthony Minessale
86bbb55e40 make reg freq 2 sec less than you actually say to avoid crossfire and make the minimum setting be 5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4055 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-25 14:56:32 +00:00
Anthony Minessale
b0eb04c065 Initial Check-In of mod_lumenvox
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4052 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-25 00:19:41 +00:00
Anthony Minessale
8662ab4882 add some more dispositions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4051 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-24 20:52:42 +00:00
Anthony Minessale
d866c0fef8 fix typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4050 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-24 20:28:54 +00:00
Michael Jerris
618d1ef698 who thought tolower should return int??
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4047 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 22:40:01 +00:00
Anthony Minessale
644131d0a2 add nonce TTL option to sofia to decide when nonce is stale
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4046 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 22:04:05 +00:00
Anthony Minessale
211cac30b5 fix typo (ya ya very funny)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4040 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 18:22:42 +00:00
Anthony Minessale
23e5477ab4 add via hack for portaudio
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4038 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 18:00:37 +00:00
Anthony Minessale
d00baf0d09 add flags command to control mute and deaf operations
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4032 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 16:06:25 +00:00
Anthony Minessale
e47b8edeb3 add original combined conf as an example
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4031 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 14:39:56 +00:00
Michael Jerris
bb2bbf827e void functions shouldn't return values.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4030 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 12:50:20 +00:00
Michael Jerris
8089d8ce22 use the right #define flags for permissions on open.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4029 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 02:54:20 +00:00
Michael Jerris
853e067e55 change new xml stuff to use path sep define, and to set file mode on open for write.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4028 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 02:22:45 +00:00
Michael Jerris
88b2a8655c tweak var types in xml config, change makefile to install all the new broken out xml files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4027 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 01:40:14 +00:00
Anthony Minessale
3241200072 xml preprocessor (calling all documentors and default config composers!!)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 01:12:47 +00:00
Yossi Neiman
1a25d91044 Merged changes from my branch r4024.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4025 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 23:33:35 +00:00
Yossi Neiman
26bbed3d92 Commented out the CFLAGS in mod_cdr for using my apr_queue enhancements by default.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4023 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 22:08:13 +00:00
Yossi Neiman
c5d86f3e6f Merged changes in from my branch at r4020.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4022 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 22:03:56 +00:00
Anthony Minessale
d3e1f400e5 tweak core for build err and add core_get_var
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4021 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 21:59:07 +00:00
Michael Jerris
27ebcae63e add "freeswitch_api" in addition to "freeswitch.api" as xmlrpc method so it can work with java.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4019 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 18:18:48 +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
ecb1e9dae0 tweak to work around shutdown segfault in windows in background mode. This forces it to not do apr_terminate, which shouldn't be necessary anyways as the entire process in ending.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 17:45:09 +00:00
Michael Jerris
4457fe7596 rearrange a bit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4016 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 17:16:25 +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
Anthony Minessale
151e400ebe let bgapi choose your own id
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4014 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-21 19:36:55 +00:00