191 Commits

Author SHA1 Message Date
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
5481d9a98c MODSOFIA-86 2010-08-19 18:22:06 -05:00
Anthony Minessale
5f763d0d1b fix caller id fields in show channels show calls etc 2010-08-17 17:26:36 -05:00
Anthony Minessale
a7d8f866fd fix new util function to actually do what it says it will 2010-07-02 13:00:29 -05:00
Anthony Minessale
1fba654845 fix parse err in originate code 2010-07-01 14:21:44 -05:00
Jeff Lenk
ecddf7a880 trivial windows build fix 2010-06-08 10:02:13 -05:00
Anthony Minessale
bc6334a610 FSCORE-617 2010-06-07 16:47:35 -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
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
Brian West
9819eed509 skip dialplan args with bad char sequences
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16882 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-03 18:31:19 +00:00
Mathieu Rene
00e178963c switch that back to int
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16593 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-09 18:21:03 +00:00
Mathieu Rene
cd0f7c70e2 fix some code analysis tags
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16592 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-09 18:09:55 +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
Brian West
908d8a7280 adding 12kHz and 24kHz
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-22 21:24:15 +00:00
Anthony Minessale
4a86f888be cleanup tab completion more and introduce new callback based expansion functions to do real time tab completion in some areas, needs people to add more funcs etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15952 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-14 20:10:06 +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
Michael Jerris
28056dda18 silence solaris sun cc warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 06:01:43 +00:00
Jeff Lenk
ad97aa5ec4 fix compiler warning - windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15482 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-16 18:34:47 +00:00
Anthony Minessale
f05737e3ba caller/ee id cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15474 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-15 02:16:10 +00:00
Anthony Minessale
c69bdbb4b3 tolerate MySuckWELL ODBC limitation FSCORE-487
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15465 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-13 23:15:15 +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
70d696fc37 add DUMP_EVENT macro
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15439 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-12 03:47:23 +00:00
Michael Jerris
ebe4bebfdc backwards compat api
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15412 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-10 23:21:09 +00:00
Anthony Minessale
e6e5f61069 change zstr to inline and fix small display update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-06 16:00:56 +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
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
e6ea90cebf expand range of acceptable chars MODENDP-249
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15130 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-09 16:42:10 +00:00
Anthony Minessale
5d9eb15072 expand range of acceptable chars MODENDP-249
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15129 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-09 16:38:43 +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
Anthony Minessale
1a774b9d99 BOUNTY-9 (Thank you Xpander Communications)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14889 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 20:09:27 +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
Anthony Minessale
9675a6e24b record_sample_rate variable influences the rate record app will use
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13769 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-12 16:06:34 +00:00
Mathieu Rene
9912427cd4 sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13742 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 00:55:55 +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
f7f48fef3c fix switch_false() logic for numbers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 00:14:11 +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
Michael Jerris
628ba5f21e fix msvc function tagging for code analysis
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13573 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 15:43:41 +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
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
Anthony Minessale
21538b2bf9 run expand_vars if input contains a special escaped character not just when it contains a variable to eat up back slashes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13015 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-14 15:24:30 +00:00
Anthony Minessale
535cf4696a clone frames in loopback so we can smooth it out better, now with more memory usage (tm) maybe this will curb pepople from using it like candy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13011 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-13 18:35:26 +00:00