Anthony Minessale
29eabfe73d
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4459 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-06 04:59:20 +00:00
Anthony Minessale
b813cac121
make timer in conference match channel not conference thread so we can generate timestamps
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4456 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-06 02:52:11 +00:00
Michael Jerris
ec3fcde87d
change switch_core_timer_next to return switch_status_t, update all users to new usage, add some error checking to mod_conference so that it bails out of the loops more gracefully on shutdown.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4454 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-05 23:18:29 +00:00
Anthony Minessale
1b5fe10277
change a few things to allow timers to generate timestamps
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4452 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-05 20:53:54 +00:00
Anthony Minessale
a287409c76
add outcall support to nonexistant conferences (needs testing)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4436 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-03 01:18:51 +00:00
Anthony Minessale
9ca0aee975
add outcall support to nonexistant conferences (needs testing)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4435 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-03 01:08:08 +00:00
Anthony Minessale
627f7781c0
add outcall support to nonexistant conferences (needs testing)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4434 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-03 01:01:37 +00:00
Anthony Minessale
d7a28c73dd
thanks _Vile
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-27 22:53:57 +00:00
Michael Jerris
e99f3e2460
match type as member_flag_t
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-27 07:28:36 +00:00
Michael Jerris
3e3760a996
add flags to the application interface for marking if apps support no media mode. FSCORE-7
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-26 21:38:10 +00:00
Anthony Minessale
5090abc9cf
update conference to have waste mode for naughty providers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4399 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-26 18:33:01 +00:00
Michael Jerris
875f87ab54
fix segfault on incorrect usage of originate api command (jira MODAPP-2)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4378 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 21:00:20 +00:00
Michael Jerris
9f4ff8814b
Breaking change: show command with no arguments now returns the usage syntax instead of the list of all registered interfaces. show api and show application now does not display items with no description set in their interface structs, allowing you to have "hidden" api's and applications, for example to keep an old api name for something for backwards compatibility sake, but you do not want it to show up in the help commands.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4377 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 20:32:31 +00:00
Michael Jerris
3f72839a65
constify switch_channel_set_variable and remove some incorrect casts in it's consumers.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4306 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 00:56:16 +00:00
Michael Jerris
77347efd45
match new prototype for switch_ivr_menu_init
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4302 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 23:11:52 +00:00
Anthony Minessale
a03f962174
add callbacks to park
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 21:32:49 +00:00
Anthony Minessale
9626393ef8
add export app (set + adding to export_vars) in 1
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 20:07:35 +00:00
Michael Jerris
671259959b
a little re-work in preparation for being able to outdial from a conference that does not yet exist.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 17:28:09 +00:00
Michael Jerris
c48792c61c
fix potential xml handle leak from previous committ.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 17:34:16 +00:00
Michael Jerris
251723ba41
fix missing strdup in switch_ivr_menu_bind_function
...
change most char * values in ivr_menu functions to const char *
change switch_core_strdup to get passed const char * instead of char *
change switch_xml_find_child to get passed const char * instead of char *
change the ivr dialplan application to free the xml config as soon as it is done building the xml menu and not hold it until the menu is done being run, so that you can do a reloadxml while someone is in a menu without blocking.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 17:28:42 +00:00
Michael Jerris
11a8218db0
potential format string exploits (warning: format not a string literal and no format arguments)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4254 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:45:10 +00:00
Michael Jerris
67a42d5a12
mod_conference use void function pointer for the caller control function table instead of a void data pointer (c99 likes to keep them separate)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4245 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 22:07:28 +00:00
Anthony Minessale
9a870c5fb6
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4229 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 14:58:06 +00:00
Michael Jerris
07d6f12018
use "%s" format specifier for uses of switch_event_add_header that just pass a string to avoid potential issues/exploits"
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 04:43:49 +00:00
Michael Jerris
5ba24598e1
data pulled from xml needs to be duped in order for it to stay around for sure.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4209 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 20:30:13 +00:00
Anthony Minessale
49f0d6152f
tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4208 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 20:03:29 +00:00
Anthony Minessale
59d4d0b071
fix no_media mode
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 19:34:03 +00:00
Michael Jerris
712976653d
fix paramater checking on switch_ivr_phrase_macro and it's consumers.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4187 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 22:55:48 +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
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
d8f906850b
don't print null in show commands return values.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4166 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 18:10:21 +00:00
Anthony Minessale
b650424da0
insist on a conference profile
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 15:39:14 +00:00
Michael Jerris
0d35fb0308
Fix typo in several places. Patch from Matt Klein.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4163 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 13:50:28 +00:00
Anthony Minessale
e216bbe095
timer mojo (cont)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4150 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 19:01:07 +00:00
Anthony Minessale
b42e387938
yes virginia, sip has shortcommings
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4138 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 19:15:26 +00:00
Anthony Minessale
c6d0188af0
get rid of _ char in special vars and add an unset dialplan app for clarity sake
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4124 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 19:35:31 +00:00
Michael Jerris
021de27399
fix segfault on failure to create file on conference record, and deref of null on conference record.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4122 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 02:52:34 +00:00
Anthony Minessale
a2b435768c
minor conference tweak (needs testing)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 16:44:00 +00:00
Anthony Minessale
82db5e0112
fix sample calc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4108 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-02 20:28:34 +00:00
Anthony Minessale
59ed99a9a8
core framework for reverse media bugs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 23:09:33 +00:00
Michael Jerris
8a3007536f
code before declaration, and function must return value.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4095 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 19:20:41 +00:00
Anthony Minessale
07833b9e77
conf tweaks the series
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4090 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 00:43:14 +00:00
Michael Jerris
d246f3a07b
add queue_dtmf application, takes one param, a string of dtmf that will be queued to send from the channel. You could use this in the dialplan before a bridge to queue up dtmf to be sent to the other channel for example if you need to dial digits after answer for an fxo ata device.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4085 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 20:06:23 +00:00
Anthony Minessale
a4d3d77871
fix conference parse bug
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 18:05:22 +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
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
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