Commit Graph

1977 Commits

Author SHA1 Message Date
Michael Jerris 2f8197b38a disable registration probe and options keep-alive for now as there is a bug in the implementation of this on the sofia side, and it causes the registration to never happen, and for it to spin re-registering out of control forever in some situations with UA's that send 404's to OPTIONS packets, or when behind nat on either side. This will get fixed in sofia, then become a configurable option on our side.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-20 05:26:20 +00:00
Anthony Minessale 32e293d67f ampersand was being used to indicate a function and a double call change it to carrot ^ for functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-20 02:01:21 +00:00
Anthony Minessale 3a90756886 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 20:30:17 +00:00
Anthony Minessale 02ca948e7a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3416 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 20:08:58 +00:00
Anthony Minessale 24456954f7 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3415 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 20:08:16 +00:00
Anthony Minessale da2397d006 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3414 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 19:51:40 +00:00
Michael Jerris fc03e90da4 silence silly warning on msvc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3413 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:21:44 +00:00
Anthony Minessale 9f9abf2ea1 stackable dialplans
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3412 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:21:41 +00:00
Michael Jerris 3a57946bea parentheses for proper cast.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3411 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:11:07 +00:00
Anthony Minessale dcc6c5ef82 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:09:10 +00:00
Michael Jerris 4d450eba16 code before declaration.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3409 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:09:04 +00:00
Anthony Minessale d7baa16132 Ringback (sponsored by Front Logic)
This addition lets you set artifical ringback on a channel
that is waiting for an originated call to be answered.

the syntax is 

<action application="set" data="ringback=[data]"/>

where data is either the full path to an audio file
or a teletone generation script..


syntax of teletone scripts

LEGEND:

0-9,a-d,*,# (standard dtmf tones)

variables: c,r,d,v,>,<,+,w,l,L,%

c (channels)        - Sets the number of channels.
r (rate)            - Sets the sample rate.
d (duration)        - Sets the default tone duration.
v (volume)          - Sets the default volume.
> (decrease vol)    - factor to decrease volume by per frame (0 for even decrease across duration).
< (increase vol)    - factor to increase volume by per frame (0 for even increase across duration).
+ (step)            - factor to step by used by < and >.
w (wait)            - default silence after each tone.
l (loops)           - number of times to repeat each tone in the script.
L (LOOPS)           - number of times to repeat the the whole script.
% (manual tone)     - a generic tone specified by a duration, a wait and a list of frequencies.

standard tones can have custom duration per use with the () modifier
7(1000, 500) to generate DTMF 7 for 1 second then pause .5 seconds

EXAMPLES

UK Ring Tone [400+450 hz on for 400ms off for 200ms then 400+450 hz on for 400ms off for 2200ms]
%(400,200,400,450);%(400,2200,400,450)

US Ring Tone [440+480 hz on for 2000ms off for 4000ms]
%(2000,4000,440,480)

ATT BONG [volume level 4000, even decay, step by 2, # key for 60ms with no wait, volume level 2000, 350+440hz {us dialtone} for 940ms
v=4000;>=0;+=2;#(60,0);v=2000;%(940,0,350,440)

SIT Tone 913.8 hz for 274 ms with no wait, 1370.6 hz for 274 ms with no wait, 1776.7 hz for 380ms with no wait
%(274,0,913.8);%(274,0,1370.6);%(380,0,1776.7)

ATTN TONE (phone's off the hook!) 1400+2060+2450+2600 hz for 100ms with 100ms wait
%(100,100,1400,2060,2450,2600)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:05:06 +00:00
Michael Jerris 0984933c36 fix spidermonkey release build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 17:09:25 +00:00
Michael Jerris 814fefdfba check for null qrealm too.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3405 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 16:44:09 +00:00
Michael Jerris 2ce49f8f0b silence silly warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3404 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 16:39:45 +00:00
Michael Jerris b0dde8deb9 need to add to the pointer, not the pointee
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 16:37:25 +00:00
Michael Jerris 4f2824e371 need to free the head pointer of malloc'd memory (form anthm's working copy)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 16:35:03 +00:00
Michael Jerris 6f448d96c5 prepare for libteletone linking to the core in the windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 16:31:19 +00:00
Michael Jerris 9687f37f92 catch up with api, add option to switch_core_destroy call.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 06:43:37 +00:00
Anthony Minessale 6dd370b007 reg realm stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3398 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-17 22:13:26 +00:00
Anthony Minessale 5af884576c return 404 when you cant find a user
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3397 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-17 21:57:47 +00:00
Anthony Minessale e2d6484493 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-17 18:22:32 +00:00
Anthony Minessale 715a6ac9ab update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3393 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-17 00:13:36 +00:00
Michael Jerris 0d0114c8a5 fix portaudio build on ppc, thanks puzzled on irc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3392 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 23:09:36 +00:00
Anthony Minessale 7fc62a3ff8 ignore options reply (nevermind)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3391 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 22:30:19 +00:00
Anthony Minessale 57515855fd ignore options reply
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 22:16:30 +00:00
Anthony Minessale 251453e254 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3389 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 21:20:00 +00:00
Anthony Minessale 89989bc34f vg mode
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 19:43:25 +00:00
Anthony Minessale ff4d2b3dcc pesky interop
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3387 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 19:28:05 +00:00
Michael Jerris 7409f414f5 logic fix on rtp_common_read on a not ready session, init bytes to 0 so the checks outside of the while loop work.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3386 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 18:48:53 +00:00
Anthony Minessale 9415cdcacb update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 16:10:39 +00:00
Anthony Minessale 594ccf8bb8 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 15:50:17 +00:00
Anthony Minessale 394a188b7e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3381 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 20:21:46 +00:00
Anthony Minessale 6013035a6c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3380 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 20:21:29 +00:00
Michael Jerris ee4118ab86 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3378 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 03:59:40 +00:00
Anthony Minessale f8d3093f5c hack to fix udp sockets
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3377 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 03:17:28 +00:00
Anthony Minessale dd824bbf81 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 00:40:45 +00:00
Anthony Minessale 1fc5fd0e14 inherited 64bit bug curses to unsigned long
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3374 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 00:15:38 +00:00
Michael Jerris 54e68cfee6 fix path of header files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3372 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 19:52:24 +00:00
Anthony Minessale 0f95796d07 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3371 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 19:51:29 +00:00
Anthony Minessale d31a1b25fe try to deal with contact bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3370 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 18:12:17 +00:00
Anthony Minessale 81ff111339 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 17:41:35 +00:00
Michael Jerris f3ffaff015 merge mod_python fixes from Johny Kadarisman <jkr888 at gmail.com>. mod_python actually works now, please report problems.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3366 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 06:13:04 +00:00
Michael Jerris 7ee6fcecd2 remove debugging message.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3365 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 06:08:49 +00:00
Anthony Minessale 534480be37 fix contact for snob phones
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-13 21:17:57 +00:00
Michael Jerris 73304d0ca8 move to sofia snapshot 1.12.3.10. This adds nua_i_mehtod support to allow receipt of non-standard methods as well as a number of other bugfixes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-13 19:13:56 +00:00
Michael Jerris 04cec4b4e8 dox
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3345 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-13 17:41:45 +00:00
Michael Jerris 28c875cfa9 add switch_ivr_digit_stream functions and switch_ivr_build_xml_menu_stack to switch ivr, merged from knhor branch. thanks neal!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3341 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-13 16:29:16 +00:00
Michael Jerris 4619302f8f don't user "new" as a variable name, so we can keep compatible with C++
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3336 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-12 21:16:46 +00:00
Michael Jerris 0d7ab0cb03 Removed "Mixed" target.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3335 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-12 21:15:08 +00:00