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
Anthony Minessale
df3effba3f
be more specific
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4407 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-27 22:52:37 +00:00
Brian West
4575a9ea5f
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-27 19:57:20 +00:00
Brian West
58f7f5da9b
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4405 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-27 19:56:33 +00:00
Michael Jerris
c64f6ce5c0
copy missing header file to the right place.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-27 19:33:10 +00:00
Anthony Minessale
068c9604c1
add vcproj
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-27 18:40:45 +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
bbbd010b94
don't strchr on NULL, second resolution to MODAPP-2
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4393 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-25 22:44:36 +00:00
Michael Jerris
9c3d336223
more properly handle sdp c lines inside of the audio m line.Resolves jira bug MODENDP-2
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4391 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-25 21:37:02 +00:00
Michael Jerris
20ffa32772
Detect proper telephone-event id to use. fix to http://jira.freeswitch.org/browse/MODENDP-4 . using pt.diff.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-25 21:00:26 +00:00
Michael Jerris
093dc6b4ef
refactor of sip_i_invite. Much more error handling of different missing data on the inbound invite. Some minor changes in behavior. Chanvars are now not set for vars we don't have. the channel name will now include :port (the full uri as we create it from the data available), display name is now unknown not service if there is not one available. Added contact uri as a chan var like all the others, the channel name if there is no user portion of the from will not have a from part of service, it will have no user part or @. The contact will now be used for the channel name if there is no from header in the invite.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-25 16:53:17 +00:00
Anthony Minessale
f2e482a7b4
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-24 19:27:57 +00:00
Michael Jerris
ad7f54e3b7
apiExecute, in js_api_execute, set the stream.write_function before doing switch_api_execute (fixes jira MODLANG-2)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 22:43:11 +00:00
Michael Jerris
e40c1064ee
fix fmtp pass through in pass through mode for amr and g729, add pass through mode for mod_amr, and add mod_amr to the windows build (in pass through mode) To build mod_amr in NON pass through mode you must now have the lib in libs/amr dir in your src tree.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4381 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 21:58:11 +00:00
Michael Jerris
9eaac73b59
don't printf null on application with null arguments
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 21:04:36 +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
1109bc83c7
put blank, not printf'd null into the module load sql statements.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4376 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 20:13:15 +00:00
Anthony Minessale
f69b1aefb6
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 20:03:30 +00:00
Anthony Minessale
119c10f872
naggy compiler
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4374 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 20:02:41 +00:00
Michael Jerris
529e82bdc5
add more checking on valid module interface/implementation structs. Don't push null descriptions, syntax, ect into the events (and eventually into the db). More properly handle const qualifers. Push blank instead to avoid a printf of null. Breaking change (although not to any in tree codecs) is if you have any implementations with a blank iananame, the entire codec interface will no longer load.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4373 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 19:15:43 +00:00
Michael Jerris
562471068e
Don't load module interfaces without a name. We use that name for reference in the hash, it is required.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4372 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 18:24:31 +00:00
Anthony Minessale
1ec6bad02c
fix seg
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4371 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 18:04:52 +00:00
Anthony Minessale
10b1187110
fix Client.pm recv len
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4370 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 18:02:50 +00:00
Michael Jerris
6b46843c57
try a bit harder to make sure we don't do printf like functions on null.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 17:28:41 +00:00
Anthony Minessale
bd62246033
handle fragmented reads on the socket
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4358 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 16:44:04 +00:00
Anthony Minessale
a644b549c5
remove redundant strlen
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4357 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 16:43:07 +00:00
Anthony Minessale
f8352e76ae
fix transaction locking error in the core sql thread
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4356 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 16:42:40 +00:00
Michael Jerris
08f512f436
update windows build to use sqlite 3.3.13
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 23:13:56 +00:00
Michael Jerris
6461d8faff
windows build tweaks to resolve warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4352 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 23:12:58 +00:00
Michael Jerris
5791353cec
sync up our in tree sqlite with the 3.3.13 official release. Commit to follow to finish this process on the windows build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4351 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 22:09:42 +00:00
Anthony Minessale
64133ab31a
one more for ilbc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4350 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 21:25:32 +00:00
Anthony Minessale
9bd118dc28
add mode goodies to ilbc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4349 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 21:13:36 +00:00
Anthony Minessale
77fe0e7bcd
add mode goodies to ilbc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 20:56:23 +00:00
Anthony Minessale
a88da36253
add heartbeat event and core uuid
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 17:38:34 +00:00
Anthony Minessale
4dd3e158a0
send break sig after sending messages and events to sessions
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 16:06:42 +00:00
Anthony Minessale
6c0152ca2f
try to pass 2833-pt across calls
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 21:46:32 +00:00
Michael Jerris
d90ca2f270
added switch_file_lock and switch_file_unlock to the exposed functions from apr to be used to make FSCORE-14 jira ticket cross platform.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 18:39:10 +00:00
Anthony Minessale
5ca710d252
make ilbc fail the call when the frame is wrong
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4342 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 17:59:08 +00:00
Anthony Minessale
f703658741
add 120ms to g711, fix errs in g711 alaw defs, tweak buffer in file playback and add kill to hupall
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4341 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 06:35:55 +00:00
Brian West
ddd613eefd
change the override to header symbol from : to ^ (beware)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4340 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 03:37:17 +00:00
Michael Jerris
915944b7ed
add pool allocated printf function switch_core_sprintf
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4339 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-20 21:54:23 +00:00
Michael Jerris
e4947bfbfe
refactor switch_core_sql_thread with the following main changes:
...
Do the entire transaction as a single exec, instead of 3 separate ones to resolve issue of unmatched transaction error.
try really hard to commit the transaction (1000 times) but we no longer try forever. If 1000 times fail, you will lose some update/insert/deletes from the core db, but we will no longer continue to loop forever and stop processing the sql queue in the case of an error.
added better overflow protection to the buffer, we now ignore sql strings we get over 64k. (not full transactions, just individual sql strings that we get queued). Previously this caused a buffer overflow.
We now use sprintf instead of snprintf as we are already handling overflow checks outside of the sprintf.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4338 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-20 18:27:21 +00:00
Anthony Minessale
9e8a2b3e07
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-20 17:50:50 +00:00
Michael Jerris
58705374f4
switch_channel_set_variable_nodup which does not dup the value from the session pool. The value MUST already be allocated from the pool for that session, or very bad things could happen. Use with caution.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4329 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 22:57:27 +00:00
Brian West
ad6cca6737
add channel data to event
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 21:28:58 +00:00
Brian West
5e4396a46e
making private events fire (please test)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4327 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 21:06:27 +00:00
Mike Murdock
d0cda3c757
Fix indents to tabs in previous commit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4326 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 17:00:29 +00:00