Commit Graph

213 Commits

Author SHA1 Message Date
Anthony Minessale 3b5a0ae50d FS-3359 --resolve also added %y to printf macros to replace ' with \' 2011-07-07 15:08:23 -05:00
Jeff Lenk d193789a2c fix several problems discovered with code analysis 2011-05-30 00:07:32 -05:00
Anthony Minessale 38f06a3bf9 add additional format YYYYMMDDHHMMSS to strepoch 2011-05-19 15:39:43 -05:00
Anthony Minessale 05cb400a51 FS-3205 --resolve 2011-03-31 19:04:27 -05:00
Anthony Minessale 4ae8282e6c fix possible bad pointer in global vars (please test) 2011-02-02 15:43:26 -06:00
Anthony Minessale 7a04104d6f FS-2975 (part deux) 2011-01-13 18:04:05 -06:00
Anthony Minessale c6bdb303d4 FS-2975 2011-01-13 10:58:53 -06:00
Anthony Minessale 7d1e664dc8 let switch_end_paren work with delims of the same char 2011-01-12 15:32:46 -06:00
Brian West 3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Anthony Minessale 4d7e4f1ec2 change switch_strip_spaces to specify if you want it to dup the string or destroy the current buffer 2010-12-21 20:30:28 -06:00
Brian West dad92067da FS-535: fix issue in is_lan_addr where 172.2 would match 172.250.x.x which is not RFC1918 this also fixes an chicken egg issue 2010-11-23 18:51:17 -06:00
Brian West db91f0e81f FS-2842: ACL for IPv6 address and swigall to boot 2010-11-15 11:37:23 -06:00
Mathieu Rene 43aeb3b858 switch_dow_cmp: fix logic err in my latest commit 2010-10-28 10:37:21 -04:00
Mathieu Rene 7fce3995df oops 2010-10-27 09:35:20 -04:00
Mathieu Rene b639aebd62 fix dow to support multiple coma-separated conditions. BLUEBOX-133 2010-10-27 00:57:13 -04:00
Brian West f42c90365c FS-2778: force_local_ip_v4 / _v6 not handled properly in switch_find_local_ip 2010-10-13 16:52:09 -05:00
Jeff Lenk ffd28c1930 fix build windows 2010-10-13 10:59:34 -05:00
Brian West 4e5911c291 FS-2776: FS uses IPv6 under Proxy mode, and SIP Phone uses 6to4 tunneling IPv6 address, cause hearing nothing. 2010-10-13 09:17:31 -05:00
Marc Olivier Chouinard 59ec8ced59 switch_utils: Add day of week 3 letter initial usage in "wday" field in the dialplan. Example : mon-fri. Using number as before is still supported. Several public switch function are available. 2010-09-17 00:26:27 -04:00
Marc Olivier Chouinard c9fcce0869 switch_utils: Add date time range string compare function switch_fulldate_cmp. It usable in XML dialplan with date-time. String format example : 2009-10-10 14:33:22~2009-11-10 17:32:31. 2010-09-17 00:21:19 -04:00
Marc Olivier Chouinard 4ab8fa13e1 switch_utils: Add time of day string compare function switch_tod_cmp. It usable in XML dialplan with time-of-day. String format is hh:mm:ss you can define a range like this : 09:00-17:00 (Second are not optional) 2010-09-17 00:07:30 -04:00
Anthony Minessale 11361f69a4 hex vs. dec, strip space in switch_strip_whitespace 2010-09-02 16:39:10 -05:00
Anthony Minessale 5481d9a98c MODSOFIA-86 2010-08-19 18:22:06 -05:00
Jeff Lenk 52f14165f8 Fix windows build 2010-06-01 20:12:33 -05:00
Mathieu Parent 3f7cafd709 Rename sofia_glue_get_user_host to switch_split_user_domain
and move to switch_utils. To allow use by other modules.
2010-06-02 01:09:54 +02:00
Michael Jerris 5d15dc1097 fix windows missing inet_ntop missing symbol when built on >= vista but run on < vista 2010-05-11 13:07:13 -04:00
Brian West b5cc1a6626 FSCORE-605 2010-05-06 17:36:13 -05:00
Jeff Lenk 99eebf2f96 fix for Windows XP inet_ntop execution - you must compile with XP for support. 2010-05-05 15:15:01 -05:00
Anthony Minessale f1430d521a fix switch_get_addr to work with v6 properly 2010-04-30 15:27:15 -05:00
Marc Olivier Chouinard 58819523b6 mod_sofia: Add url encode to a var in the xml output to be valid xml. Also changed switch_url_encode to return the pointer of the string rather than the length, same as switch_amp_encode()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17087 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-24 19:04:19 +00:00
Michael Jerris f8974f03f9 move functions to strip commas and non-numeric chars to switch_utils
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16936 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-08 08:12:12 +00:00
Anthony Minessale 5638b3a4f0 tweak on last commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 18:41:23 +00:00
Anthony Minessale 645edfe320 add force_local_ip_v4 and force_local_ip_v6 global vars to override the core funcs to always discover the same ip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16801 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 18:13:28 +00:00
Anthony Minessale 886e1ddb4d run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Anthony Minessale 3049cd5c8d try this Vagabond
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16517 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-26 18:20:09 +00:00
Anthony Minessale 14f0ebf3b5 allow double escape in parser for \
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16440 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-21 19:59:28 +00:00
Mathieu Rene 302355202a add escape api command to escape a string
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15764 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-03 02:37:05 +00:00
Jeff Lenk 243b00659f code before decl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15761 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 19:00:25 +00:00
Mathieu Rene a6886d186a MODENDP-224
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15760 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 18:51:28 +00:00
Anthony Minessale 06a68fce64 add switch_ivr_enterprise_originate optional new dimension to originate strings every element in :_: separated list in originate strings will fire in a dedicated thread and can contain their own {} and , and | lists
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15455 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-12 22:21:30 +00:00
Anthony Minessale 7ff54ae6ff last ipv6 change not quite right, should not change any behaviour
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-02 16:46:47 +00:00
Anthony Minessale 9fb56c87f2 fix ipv6 issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-01 19:53:31 +00:00
Anthony Minessale 10f10c5db0 make switch_cmp_addr ipv6 friendly and cleanup/refactor autoadjust code in rtp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 14:26:17 +00:00
Jeff Lenk 3aa5055bf1 windows compiler fixes and switch_mprintf overflow(32bit only)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 04:07:49 +00:00
Anthony Minessale d646547bdb filter out unwanted media on rtp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 01:06:51 +00:00
Anthony Minessale 9d6bf97b09 reorder args
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15253 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-27 19:43:12 +00:00
Anthony Minessale df7637f687 change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Anthony Minessale 1f2a97f433 add -f from to email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-20 18:07:24 +00:00
Brian West ae7b39c9e9 try this
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15094 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-05 17:38:46 +00:00
Brian West 169195f3ce convert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15037 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-01 22:43:44 +00:00