Anthony Minessale
cd1824e119
Adding switch_mprintf (broken out from sqlite)
...
Adding new %w to mprintf to auto escape both single quote and backslashes
Improve the tab completion a tad and fix some sqlite/odbc compat with new mprintf opts
Change the default stream writer to use switch_vmprintf so %q/%w can be used there too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15875 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 20:51:13 +00:00
Brian West
185fa599db
these two cases do not need to be on IF the flag is set otherwise you can't LIE about the contact dyanmically. These are the TWO cases that had a not PFLAG_AUTO_NAT else do the right thing in this case.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 14:40:47 +00:00
Anthony Minessale
6fde2f3961
add priority queue for events so important broadcasts like hold music can take precedenced over event-lock
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15865 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 01:29:02 +00:00
Michael Jerris
b805ac1c20
mod_sofia: fix send-message-query-on-register set to 'false' (MODSOFIA-42)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15857 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-09 15:52:35 +00:00
Michael Jerris
ead4f5bb35
mod_sofia: add shutdown-on-fail param to sofia profiles (MODSOFIA-45)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15854 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-09 14:42:30 +00:00
Brian West
9d49a57b67
move log line to debug only
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15852 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-08 22:28:52 +00:00
Brian West
f556ece4e8
MODENDP-273, Try this.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15851 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-08 21:30:49 +00:00
Michael Jerris
8967d4e670
add disable_q850_reason chan var to disable sending Reason header in sip BYE messages (MODSOFIA-44)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15850 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-08 21:23:13 +00:00
Michael Jerris
3290521970
fix --srcdir build for mod_sofia
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-08 17:39:30 +00:00
Anthony Minessale
450e63c0d1
MODAPP-376
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15838 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-08 00:05:40 +00:00
Brian West
b7f4b4cd2b
don't seg if tech_pvt isn't there.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15837 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-07 22:10:38 +00:00
Michael Jerris
0863bbcbae
don't set auto-nat on ipv6 profiles
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15829 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-07 16:29:52 +00:00
Michael Jerris
4b095aebcb
cleanup Makefile.am based module Makefiles
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-07 06:47:28 +00:00
Michael Jerris
bcbc54f997
mod_sofia: send bye instead of cancel after invalid 200 OK (MODENDP-270)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15808 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-07 03:32:56 +00:00
Anthony Minessale
10db68adce
can't win
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-04 20:54:15 +00:00
Anthony Minessale
d10d505e56
can't win
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15793 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-04 20:54:07 +00:00
Anthony Minessale
625defb1f2
try this jlenk
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15792 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-04 20:40:53 +00:00
Mathieu Rene
866d98f586
set sip_copy_custom_headers=false to avoid custom sip headers to be copied on the b-leg
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15789 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-04 19:57:50 +00:00
Jeff Lenk
c01fe7f901
fix runaway ptime mismatch with xlite and bv
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15788 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-04 18:10:27 +00:00
Anthony Minessale
6158aac6ab
huge sonus infection FSRTP-8
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-03 22:51:50 +00:00
Anthony Minessale
0b4bd3e1c1
retry reg faster on dns timeouts
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15763 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 20:47:46 +00:00
Anthony Minessale
f8da7ac30e
more nat cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 18:46:17 +00:00
Brian West
56f10fb3c6
Well I'll be a son of a monkey's bitch, it was that bug
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15748 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 01:58:05 +00:00
Michael Jerris
02c7a3acc9
picked the wrong day to stop sniffing glue...
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-01 22:19:07 +00:00
Michael Jerris
c619db0f4e
test build of this on openwrt please
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-30 12:20:55 +00:00
Anthony Minessale
8372d9c2bf
only assume sendonly is hold operation when call is already answered in proxy-media situation
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15698 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-27 19:02:20 +00:00
Anthony Minessale
8ae40dd26a
reset the remote_media ip/port vars more oftern
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15676 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-25 23:09:23 +00:00
Anthony Minessale
16fdb470bb
too bad nobody reads all the rest of the code where more critical issues may lie
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15675 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-25 22:21:02 +00:00
Anthony Minessale
6daa81d7b8
ok find stangor
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15674 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-25 21:34:51 +00:00
Anthony Minessale
9330d877a4
refactor code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15662 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-25 00:03:00 +00:00
Anthony Minessale
d34d8ae16b
add separate inbound/outound codec prefs params to sofia profile original codec-prefs sets both to the same value for back-compat
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15658 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 18:52:57 +00:00
Anthony Minessale
aba8d7590f
FSCORE-481
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15657 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 18:18:09 +00:00
Marc Olivier Chouinard
cf8d26bef3
mod_sofia: Revert part of MODSOFIA-41 r15654 that deal with phone reboot. It break aastra and polycom reboot
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15656 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 16:26:04 +00:00
Brian West
c48ccd9e95
use profile flag instead
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15655 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 16:24:24 +00:00
Brian West
383541f3d0
MODSOFIA-41 , fail2ban support in mod_sofia thanks jay binks.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 16:11:56 +00:00
Anthony Minessale
f9842ff6d8
add sip_profile_name go go with sip_gateway_name on outgoing calls
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15629 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-23 19:57:14 +00:00
Anthony Minessale
76b2db1d2f
MODSOFIA-40
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15628 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-23 19:46:37 +00:00
Anthony Minessale
8ebbfa39fd
enough of this bickering over if stale=true has quotes or not, let me remove it so i can have a 10 minute break from people bugging me
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15620 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-23 16:49:05 +00:00
Brian West
cfbf446e24
MODSOFIA-39
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15609 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-23 14:57:56 +00:00
Anthony Minessale
af9e8eab35
convert sofia to use new core version of cache db handles
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15600 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-21 18:57:15 +00:00
Anthony Minessale
d8b084a810
reset timestamp counter when we get new sdp etc because sonus likes to say ptime 20 and send 30ms timestamps in the 183 then once they say 200 ok with the same sdp they decide to actually send 20 for real this time FSRTP-8
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15597 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-21 06:54:16 +00:00
Michael Jerris
58dceddb11
add ani and aniii to caller profile (MODSOFIA-34)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15596 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-21 06:40:38 +00:00
Anthony Minessale
34cf898e0f
always check for callee update not just because of pai
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15589 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-21 04:39:38 +00:00
Anthony Minessale
2fa0c4910f
refactor enterprise_originate
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15565 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-20 02:17:08 +00:00
Anthony Minessale
3e8c85a932
another one
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15536 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-19 00:12:15 +00:00
Brian West
f3c94ab89a
408 means no reply, that's bad
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15534 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-18 22:59:28 +00:00
Anthony Minessale
349b02c2e6
video improvements
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15524 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-18 19:22:45 +00:00
Brian West
ad0b8baffc
don't use tech_pvt->nh, use the nh passed to the callback
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15521 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-18 15:29:41 +00:00
Michael Jerris
9b5d32ac83
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15505 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 22:25:47 +00:00
Michael Jerris
1f7f796b57
fix broken bsd
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15504 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 21:47:43 +00:00