Commit Graph

193 Commits

Author SHA1 Message Date
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
Brian West c1c3b65a21 FSCORE-446
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14958 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-23 17:32:01 +00:00
Brian West 45ecc4b0d3 FSCORE-440
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14882 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 13:55:23 +00:00
Brian West f28b26b8aa add host_lookup api call
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14667 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-28 20:30:03 +00:00
Anthony Minessale ca8dfda04a add a host lookup func
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-27 22:58:55 +00:00
Anthony Minessale 835b6d31bb add time of day routing attrs to condition tags in xml dialplan
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14137 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-06 18:31:23 +00:00
Michael Jerris 5135dc03df fix seg in some edge cases
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-16 13:41:01 +00:00
Mathieu Rene 3fd2044877 Also export switch_inet_pton
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13741 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 00:48:35 +00:00
Mathieu Rene 965023a8eb doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 00:07:10 +00:00
Mathieu Rene 374997f2c1 Export swtich_inet_ntop so modules can use it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 00:04:29 +00:00
Anthony Minessale 55c8fbad76 add sofia tracelevel <level> and tracelevel param in <settings>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13735 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 19:52:07 +00:00
Brian West 3022f3d96a fix memory leak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 17:25:20 +00:00
Michael Jerris 0e20e48919 add netmask code for windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13607 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 05:23:19 +00:00
Anthony Minessale 8cc053a611 FSBUILD-168 now he has to come to cluecon
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13600 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 22:30:09 +00:00
Anthony Minessale 4b4fb6bb2c rupa said this segged
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13550 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-02 18:30:18 +00:00
Anthony Minessale b82984fe97 add netmask detection for nat discovery work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13549 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-02 16:55:10 +00:00
Anthony Minessale 72c680f005 FSCORE-373
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13508 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-29 18:48:54 +00:00
Anthony Minessale 531e0f2d15 properly detect unterminated
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13438 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-26 18:04:22 +00:00
Michael Jerris 85317633dc build: fix gcc-4.4.0 build failures (FSCORE-355)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13395 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 20:25:59 +00:00
Michael Jerris 383ff711d2 cleanup msvc code analysis warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13366 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 21:07:18 +00:00
Anthony Minessale 3c6b98d00f accept asterisk N/X/Z/. notation everywhere regexes are expected when they start with _
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-12 17:10:57 +00:00