2440 Commits

Author SHA1 Message Date
Michael Jerris
df7ce0d951 don't use uninitialized value of data, return error if null fmt string passed.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4116 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-04 19:12:14 +00:00
Anthony Minessale
357acc8117 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 22:17:36 +00:00
Anthony Minessale
fa53d0aded I...HATES...PTIME
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 19:47:21 +00:00
Anthony Minessale
051ea5de5c fix events with large bodies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4113 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 17:06:57 +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
Michael Jerris
17bf41e158 Initial structure for generic inband dtmf detection. NOTE: This code does not currently remove the inband dtmf tones from the stream (as that is not supported using read media bugs) and it is also COMPLETELY untested and unused anywhere. This code is there for somone who wants to implement this feature in mod_sofia to test.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4111 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 04:09:43 +00:00
Michael Jerris
5ca7037a84 tweak macro for clean build on msvc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4110 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 04:08:05 +00:00
Anthony Minessale
6f9be6bf5a bug in the bugs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-02 21:01:13 +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
9c2332830c fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4107 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-02 00:42:20 +00:00
Anthony Minessale
ea0a65d5ff minor adj
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4106 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-01 05:23:29 +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
Anthony Minessale
d863d8dac9 update default conf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 21:56:57 +00:00
Anthony Minessale
8439d33455 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4102 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 19:22:44 +00:00
Anthony Minessale
8deaa6743b only 1 call can control the ring device
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 17:12:42 +00:00
Anthony Minessale
6fbea03dd8 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 16:32:59 +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
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
Michael Jerris
1a99ecc6e9 Yet another attempt to get the garbage collector code right. Patch worked out with Bret McDanel
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4094 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 18:00:58 +00:00
Anthony Minessale
ae8d2e924f ummm.... yeah...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4093 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 16:37:03 +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
9b474d2576 add success cause for originate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4091 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 03:17:10 +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
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
Anthony Minessale
2d4d6ea756 make send_dtmf parse w and W for 500 and 1000 ms pause
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4086 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 20:11:26 +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
9821a5237a more tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 18:31:35 +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
ee16b51a42 fix typo double >, fix via e-mail from Bret McDanel.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4082 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 17:53:07 +00:00
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