Commit Graph

1529 Commits

Author SHA1 Message Date
Moises Silva 696becc093 freetdm: add force hangup timer and refactor scheduling code 2010-09-21 07:19:56 -04:00
Moises Silva 5e3377c7a4 freetdm: fix win compilation 2010-09-20 18:19:33 -04:00
Moises Silva 6b77b4ec07 Merge branch 'master' of git@homer:smg_freeswitch 2010-09-20 13:07:58 -04:00
Konrad Hammel 108ae5c48a freetdm: ss7 - numerous updates 2010-09-20 16:48:36 -04:00
Moises Silva 95cf2209fe freetdm: make conf nodes to be stored in FIFO order 2010-09-20 10:18:23 -04:00
Konrad Hammel 1c76ca4d72 freetdm: ss7 - bug fix in pause/resume handling 2010-09-17 13:37:20 -04:00
David Yat Sin 6235f74355 Merge branch 'master' of git://git.freeswitch.org/freeswitch 2010-09-17 11:09:34 -04:00
Konrad Hammel a045519f6b freetdm: ss7 - fixed bug in dnis if ST character present 2010-09-16 16:53:14 -04:00
Konrad Hammel 401b23549e freetdm: ss7 - updated outgoing IAM 2010-09-16 11:55:26 -04:00
Konrad Hammel 134b78c103 freetdm: ss7 - updates to outgoing IAM and ACM 2010-09-15 15:06:51 -04:00
Konrad Hammel 0ee84ea57b freetdm: ss7 - added support for NADI value in sip x-headers 2010-09-14 13:47:08 -04:00
David Yat Sin 5812c5fd53 freetdm: Used channel iterator.
Removed assert when we cannot find a call on RelInd, it seems like Trillium as a bug where they sometimes send release twice
		Fixes to some memory leaks
		Fix for bug in q921 trace disable command
		Fix for not recognizing etsi switchtype
		Fix for sending RESTART when we are not supposed to in EUROISDN NETWORK mode
		Support for l1 stats
		Fix for deadlocks/segfaults on shutdown
		Added index per link_id, support for show_spans
		Added progress-ind when sending CONNECT message
		Fix for sending CONNECT ACK when configured as TE
2010-09-14 13:42:50 -04:00
Anthony Minessale d31c24dcb3 thats better 2010-09-14 12:16:14 -05:00
Anthony Minessale 74430cb3c6 doh 2010-09-14 12:00:46 -05:00
Anthony Minessale 6f2c455f92 add tone2wav 2010-09-14 11:48:43 -05:00
Konrad Hammel 5219ab8c63 freetdm: ss7 - fixed bug in cic status, added activate/deactivate functions for mtp2/3 2010-09-13 20:38:00 -04:00
Konrad Hammel a1eb601b19 freetdm: ss7 - update to logging 2010-09-10 19:17:06 -04:00
Moises Silva 7cb6b4b3e1 freetdm: fix assertion 2010-09-10 18:12:12 -04:00
Moises Silva c9e780b9b6 freetdm: remove iterator free log 2010-09-10 17:52:08 -04:00
Konrad Hammel 9fbe363a86 freetdm: ss7 - switching back to sending RSC rather then GRS at start 2010-09-10 15:34:13 -04:00
Moises Silva 8370f0c233 freetdm: more iterator fixes 2010-09-10 14:46:51 -04:00
Moises Silva 507b73070b freetdm: fix iterator usage 2010-09-10 14:18:29 -04:00
Moises Silva bc2638334b freetdm: iterators refactoring
add channel iterator
2010-09-10 14:18:29 -04:00
Konrad Hammel e6d6045ba6 freetdm: ss7 - updated mtp3 alarms to print link name instead of sapid 2010-09-10 11:43:06 -04:00
Konrad Hammel 5680d93a22 freetdm: ss7 - increase mtp2 T7 default value, printing link name now for mtp2 Alarms 2010-09-10 11:35:43 -04:00
Konrad Hammel 29843a6e4a freetdm: ss7 -bug fix 2010-09-09 21:45:51 -04:00
Konrad Hammel 71f1427447 freetdm: ss7 - bug fix in configuration 2010-09-09 21:22:18 -04:00
Konrad Hammel 05eb47abf1 freetdm: ss7 - update to configuration 2010-09-09 20:55:38 -04:00
Konrad Hammel 53d00f6947 freetdm: ss7 - bug fix 2010-09-09 18:19:49 -04:00
Konrad Hammel c4324d5af4 freetdm: ss7 - bug fixes in configuration 2010-09-09 17:33:06 -04:00
Moises Silva e7fecd0ff9 freetdm: fix config to allow both sangoma pri and bri spans to be configured 2010-09-09 17:22:10 -04:00
Konrad Hammel 42c307253b freetdm: ss7 - beta support for ANSI, added support for tx of cgb, cgu 2010-09-08 20:34:57 -04:00
Moises Silva aa7c9b898a Merge commit 'fsorig/master' 2010-09-08 12:12:15 -04:00
David Yat Sin dc51ccbec1 freetdm:ftmod_sangoma_isdn changes
Minor fixes to glare testing, add check for INBAND TONES available in ALERT msgs
	Fix for handling T310 expiring
	Minor fixes to glare testing
	Fixed handling for Progress with cause
	Support for facility timeout
2010-09-08 14:42:44 -04:00
Moises Silva 4d3357e18c freetdm: set outbound flag in individual channel open too 2010-09-08 07:21:56 -04:00
Moises Silva f708ee1a0b freetdm: fix help message 2010-09-07 21:21:11 -04:00
Moises Silva 9a8bd09360 Merge remote branch 'fsorig/master' 2010-09-07 18:47:52 -04:00
Moises Silva a13cfa488b freetdm: add new files for vs2008 project 2010-09-07 18:34:20 -04:00
Konrad Hammel c219a73c06 freetdm: ss7- added support for incoming group blocks, started adding support for ansi 2010-09-07 18:14:30 -04:00
Moises Silva b76e7f1812 freetdm: fix codec for CAS signaling 2010-09-07 16:04:38 -04:00
David Yat Sin d7141be3bc Merge branch 'master' into davidy_test 2010-09-03 17:38:35 -04:00
David Yat Sin 2f01722eba fixed tabs 2010-09-03 17:09:21 -04:00
David Yat Sin 71fd30d40e spInstId's are now saved before queueing the SETUP event 2010-09-03 15:27:42 -04:00
Moises Silva 4fbef45522 freetdm: set default hangup cause to normal clearing 2010-09-03 13:30:51 -04:00
Konrad Hammel 66e166d3e2 freetdm: bug fix, when changing states from RING to PROGRESS/MEDIA to UP,
we need to check each time for TERMINATING state since set_state
	 function needs to unlock to allow sig mod to handle the state change
2010-09-03 12:36:22 -04:00
Konrad Hammel 772a3f815a freetdm: ss7 - more work on glare handling 2010-09-03 12:36:05 -04:00
David Yat Sin 09a8f6b19a Merge branch 'master' of homer:smg_freeswitch into davidy_test 2010-09-03 12:34:25 -04:00
Konrad Hammel 01d839eb64 freetdm: ss7 - implmented queuing of sigevents to ftdmcore 2010-09-02 18:19:38 -04:00
Konrad Hammel af3285ab61 freetdm: ss7 - added cli support to send GRS and RSC 2010-09-02 17:51:37 -04:00
Konrad Hammel 70b0e4bd51 freetdm: update to threadmutex to allow ftdm to run properly under GDB 2010-09-02 17:51:13 -04:00
Konrad Hammel 16d918d025 freetdm: ss7 - work on glare handling 2010-09-02 17:48:14 -04:00
David Yat Sin cc722c64f3 minor fixes 2010-09-02 13:46:00 -04:00
Moises Silva cd0cc2e4a3 freetdm: only notify interrupt waiters if there is not a notification already pending 2010-09-02 12:52:18 -04:00
David Yat Sin e4b5c49fc1 freetdm: fix code using raw_data as an integer when is actually null 2010-09-02 12:51:56 -04:00
Moises Silva 3f3d412b4b freetdm: add asynchronous signal notification 2010-09-02 12:43:44 -04:00
Moises Silva ecfc4714e3 Merge branch 'ftdm-core-sigdata' 2010-09-02 12:12:07 -04:00
Moises Silva a278b6b403 freetdm: added channel variable iterator for signaling specific data 2010-09-02 12:11:31 -04:00
David Yat Sin abb342f430 Initialized bearer_cap to FTDM_INVALID_INT_PARM 2010-09-01 16:35:59 -04:00
David Yat Sin 432e9cdf5b Added passthrough for bearer capability 2010-09-01 15:04:09 -04:00
Konrad Hammel e15d52bd80 freetdm: ss7 - updated to allow TMR/bearer cap pass-through 2010-09-01 15:02:56 -04:00
Konrad Hammel e3b9db8894 freetdm: implemented Trillium stack message queueing 2010-09-01 15:02:56 -04:00
Moises Silva 65ce3554c8 freetdm: added proper bearer capability and user layer 1 protocol types 2010-09-01 15:02:56 -04:00
Konrad Hammel ce34d86c70 freetdm: ss7 - updated to allow TMR/bearer cap pass-through 2010-09-01 12:44:28 -04:00
Konrad Hammel 4fc415b6e8 freetdm: implemented Trillium stack message queueing 2010-09-01 11:24:36 -04:00
Moises Silva 05ab7e8de6 freetdm: added proper bearer capability and user layer 1 protocol types 2010-09-01 11:21:29 -04:00
David Yat Sin b7c23acd40 Removed DEBUG_CHAN_MEMORY 2010-08-31 19:19:55 -04:00
David Yat Sin e90ccb151e fix for segfaults in cases where we were still using raw_data as pointer 2010-08-31 19:05:37 -04:00
Moises Silva 3a35139a32 freetdm: add asynchronous signal notification 2010-08-31 18:13:56 -04:00
Moises Silva f7669283a6 freetdm: remove ftdm_span_set_npi and ftdm_span_set_ton from boost 2010-08-31 15:25:26 -04:00
Moises Silva def3e0b386 freetdm: include utils header in the core 2010-08-31 14:56:29 -04:00
Moises Silva a3b2e91ebf freetdm: try polling again after EINTR 2010-08-31 14:55:11 -04:00
Moises Silva 6216d5df07 freetdm: fix asserts 2010-08-31 14:42:41 -04:00
Moises Silva 6c9e6be255 freetdm: remove hack for race condition since the root cause was fixed 2010-08-31 14:23:37 -04:00
Moises Silva 7c2cbf4073 freetdm: put warning instead of error on circuit congestion 2010-08-31 14:18:21 -04:00
Moises Silva c443641a73 freetdm: remove suspended check on state change 2010-08-31 14:10:54 -04:00
Moises Silva 32cc2402f4 freetdm: validation fixes 2010-08-31 14:03:12 -04:00
Moises Silva 291adb5686 freetdm: add analog limits 2010-08-31 13:59:13 -04:00
Moises Silva 4552c69a7b freetdm: call utils missing header 2010-08-31 13:49:27 -04:00
Moises Silva 9a26e0cc2b freetdm: crash on assert 2010-08-31 13:48:48 -04:00
Moises Silva 80363af697 freetdm: merged konrad and david signaling work 2010-08-31 13:29:31 -04:00
Moises Silva 2ea5e1cd89 freetdm: test log merge 2010-08-30 12:09:10 -04:00
Moises Silva 9099e3b85e freetdm: fix log msg 2010-08-30 11:51:14 -04:00
Anthony Minessale 6fe6e67573 pass originate flags into session_request so we can selectivly skip throttling 2010-08-26 12:20:14 -05:00
Moises Silva 705dd237de freetdm: lock the channel when placing call 2010-08-23 16:08:06 -04:00
Moises Silva fcd8df0af7 freetdm: allocate channels in their own memory page when debugging 2010-08-23 15:45:30 -04:00
Moises Silva aa0751366a freetdm: OPENZAP-107 - Patched by Jeff Lenk 2010-08-13 12:26:39 -04:00
Moises Silva 5a2042fcb6 freetdm: ignore unknown wanpipe alarms 2010-08-11 12:51:41 -04:00
Moises Silva 07b81760cb freetdm: add bearer capability and layer1 pass-thru for boost 2010-08-10 18:51:06 -04:00
Stefan Knoblich 672898f40e [FreeTDM][2/2] for FreeBSD: ftdm_interrupt_multiple_wait() linux poll version should also work on all BSD variants (and Solaris too), add FreeBSD for now. (Build-tested on FreeBSD-8.1) NOTE: We may want to drop the #elif completely and just go for an #else here instead. 2010-08-10 10:31:13 +02:00
Stefan Knoblich ae12913f12 [FreeTDM][1/2] for *BSD: Fix typo idle_percentate => idle_percentage. 2010-08-10 10:26:00 +02:00
Moises Silva f822180fb4 freetdm: fix fxs dialtone - should be stopped on first digit 2010-08-09 10:11:17 -04:00
Jeff Lenk 04dbc7bc8e FSBUILD-295 Fix build of mod_freetdm in Windows 2010-08-02 09:01:01 -05:00
Moises Silva 00fc32ecef freetmd: fix mix buffer size 2010-08-01 04:31:06 -04:00
Moises Silva e0b1ea7faa freetdm: saturated add and pri tapping mixing 2010-08-01 03:02:53 -04:00
Moises Silva 46e9704b04 freetdm: make pri tapping actually work - missing audio mix 2010-07-31 17:33:20 -04:00
Moises Silva b485f25f5e freetdm: add PRI tapping starting code 2010-07-30 19:46:05 -04:00
Moises Silva 9f9c4541cd freetdm: added dtmf recording feature for debugging 2010-07-29 17:26:03 -04:00
Moises Silva 450ac1347e freetdm: remove validation 2010-07-29 17:20:28 -04:00
Moises Silva 438c93e83f freetdm: fix hangup race 2010-07-29 13:15:29 -04:00
Moises Silva a1fe7c8de4 freetdm: call rate limit 2010-07-28 11:36:06 -04:00
Jeff Lenk 71650ae1e8 FSBUILD-291 fix Windows build of mod_freetdm 2010-07-19 08:38:56 -05:00
Moises Silva 85d3428372 freetdm: fix custom old ss7 data 2010-07-12 16:12:07 -04:00
Moises Silva 53ba0df2c2 freetdm: channel rate fixes 2010-07-09 10:19:09 -04:00
Stefan Knoblich 311fdd2207 [FreeTDM] Add modulesdir to freetdm.pc.in 2010-07-05 23:54:33 +02:00
Moises Silva 8b51a75cce freetdm: add channel availability rate for BRI (may be used by other protocols if needed) 2010-07-02 18:19:59 -04:00
Moises Silva 84f2249ecc freetdm: make array len macro public 2010-06-30 15:39:02 -04:00
Moises Silva 6eca1286aa freetdm: add config profiles and sangoma isdn xml section 2010-06-30 15:12:18 -04:00
David Yat Sin c943e641d5 Added sangoma_isdn 2010-06-30 12:42:36 -04:00
Moises Silva 4f235af8b4 freetdm: ani2 2010-06-30 11:14:31 -04:00
Moises Silva e4b9556208 freetdm: more sip headers 2010-06-29 16:30:07 -04:00
David Yat Sin eb6da2c9fc Freetdm: Fix for boost spans not started if using a combination of analog spans and boost spans 2010-06-29 15:32:22 -04:00
David Yat Sin 0e2af5c74d freetdm: Fix for case where event_process_states returns NULL instead of channel in sigmod mode 2010-06-29 15:30:54 -04:00
Moises Silva 23efa1ef56 freetdm: only use echo training when value is bigger than zero (fixes silence when using oslec) 2010-06-29 00:17:48 -04:00
Moises Silva 5456b9abfd freetdm: add ring flag to progress 2010-06-28 14:19:51 -04:00
Moises Silva dc048ed22d freetdm: fix id 2010-06-27 19:33:11 -04:00
Moises Silva 7ef629e34b freetdm: check if the schedule is already running 2010-06-27 18:35:31 -04:00
Moises Silva 746e8e44cd freetdm: add physical span:chan when logging 2010-06-27 17:39:05 -04:00
Moises Silva 6914b1c855 freetdm: improve channel read error logging 2010-06-25 12:47:32 -04:00
Moises Silva c31abb3ed0 freetdm: re-enable hw dtmf on channel destroy if needed 2010-06-25 12:47:32 -04:00
Moises Silva 5afb21b180 freetdm: fix io trace file closure 2010-06-25 12:47:32 -04:00
Moises Silva 29ce4bbdd1 freetdm: add span to trace logging 2010-06-25 12:47:32 -04:00
Moises Silva fd0191049c freetdm: disable dtmf on demand based on dial plan variable freetdm_disable_dtmf 2010-06-25 12:47:32 -04:00
Moises Silva 4057872492 freetdm: no need for hw dtmf events on startup 2010-06-25 12:47:32 -04:00
Moises Silva 1f886d39ce freetdm: change type to ss7 only 2010-06-18 18:31:54 -04:00
Konrad Hammel 7b0d887c93 -> start of move to new library architecture 2010-06-18 18:31:54 -04:00
Konrad Hammel 055e242a2c -> more work on glare...no crashes, and no stuck channels yet 2010-06-18 18:31:54 -04:00
Konrad Hammel 59764dd350 -> added support for license check 2010-06-18 18:31:54 -04:00
Konrad Hammel 7e63c95608 -> fixed a print statement...newline was before ! 2010-06-18 18:31:54 -04:00
Konrad Hammel 5c8bdedce0 -> added support for GRS...attempt 1 2010-06-18 18:31:54 -04:00
Konrad Hammel 6f511b9496 -> decrease the length of time that "check for state change" waits to 500ms 2010-06-18 18:31:53 -04:00
Konrad Hammel 2fd7094223 -> working... 2010-06-18 18:31:53 -04:00
Konrad Hammel 024ce241cf -> name change accidentally changed the cli command as well: ftdm sangoma_ss7 show... is a little to long 2010-06-18 18:31:53 -04:00
Konrad Hammel 60de9e9cfe -> name change for consistency sakes 2010-06-18 18:31:53 -04:00
Konrad Hammel 5abb3154c0 -> removing file with the wrong name 2010-06-18 18:31:53 -04:00
Konrad Hammel bfab7c4cf0 -> added SANGOMASS7 sigtype 2010-06-18 18:31:53 -04:00
Konrad Hammel 4b6edff8e1 ->mis-nameda file 2010-06-18 18:31:53 -04:00
Konrad Hammel 9428335522 -> adding ftmod_sangoma_ss7 support 2010-06-18 18:31:53 -04:00
Jeff Lenk 90f04e3c3c fixes for Win X64 builds 2010-06-17 19:35:20 -05:00
Moises Silva ae134c3424 freetdm: export sip headers with TDM information on-demand 2010-06-17 18:11:22 -04:00
Moises Silva 7677ec5bdf freetdm: change glare cause 2010-06-17 18:05:23 -04:00
Moises Silva 2a1a3867d1 freetdm: fix collision hangup 2010-06-16 11:22:18 -04:00
Moises Silva 29679dc194 freetdm/openzap: log when callwaiting feature is enabled 2010-06-11 16:14:26 -04:00
Moises Silva 841083b202 freetdm: improve sample application to include DTMF detection and generation examples 2010-06-09 20:29:47 -04:00
Moises Silva 7573704b8d freetdm: remove string name for tone detected 2010-06-09 16:37:09 -04:00
Moises Silva 66934c6f3e freetdm: use on_clear_channel_signal for the ss7 event handling 2010-06-08 14:14:14 -04:00
Moises Silva c0397d5ae7 freetdm: move queue dtmf to the private core 2010-06-08 14:14:14 -04:00
Moises Silva ec4e2c5a45 freetdm: more cleanup, remove unused callbacks 2010-06-08 14:14:14 -04:00
Moises Silva 6f882cbbc1 freetdm: remove unused sigevent 2010-06-07 23:44:52 -04:00
Moises Silva 6bab94445c freetdm: refactor channel open APIs 2010-06-07 21:48:33 -04:00
Moises Silva 9f73ddd35b freetdm: fix ss7 config 2010-06-06 13:07:45 -04:00
Moises Silva c807502773 freetdm: add void pointer to ftdm configuration structure to allow passing generic data 2010-06-05 19:12:09 -04:00
Moises Silva 501f870402 freetdm: added SIGEVENT_COLLISION 2010-06-05 18:37:53 -04:00
Moises Silva 3ace62c825 freetdm: do not decrement an unsigned when is already zero! 2010-06-05 16:38:12 -04:00
Moises Silva fcb78c07a5 freetdm: ignore nothing to read condition 2010-06-03 19:09:34 -04:00
Moises Silva b1fd88d706 freetdm: check for hw dtmf before enabling 2010-06-03 18:33:52 -04:00
Moises Silva 672b15216e freetdm: remove DTMF string from OOB events 2010-06-03 18:24:10 -04:00
Moises Silva 015d782237 freetdm: DTMF debugging 2010-06-03 17:27:43 -04:00
Moises Silva 172595e294 freetdm: span name 2010-06-03 15:30:12 -04:00
Moises Silva b3e911b447 freetdm: remove unused event string 2010-06-03 13:17:36 -04:00
Moises Silva 75be3da8f9 freetdm: add new logging macro 2010-06-02 16:27:47 -04:00
Moises Silva e596fc2e7f freetdm: add logging when failing to read a frame in mod_freetdm 2010-06-02 14:48:37 -04:00
Moises Silva c526228673 freetdm: fix id 2010-06-01 11:51:27 -04:00
Moises Silva 000e3c16e3 freetdm: start ss7 span 2010-05-31 06:27:19 -04:00
Moises Silva b049e87423 freetdm: signed/unsigned 2010-05-28 18:43:45 -04:00
Moises Silva e9cdf42fe1 freetdm: a bit of refactoring for raw tracing 2010-05-28 15:06:51 -04:00
Moises Silva f4da0e5c0e freetdm: add trace/notrace commands to trace input and output from channels 2010-05-28 12:45:04 -04:00
Travis Cross 9b80aa18a4 Updates to .gitignore. 2010-05-28 02:16:42 +00:00
Moises Silva 63d9768dff freetdm: fix makefile and remove binary app 2010-05-27 16:29:10 -04:00
Moises Silva 16901d3cc6 freetdm: oops 2010-05-27 15:34:00 -04:00
Moises Silva 23b9a148ef freetdm: set sched API as not available for Windows 2010-05-27 15:37:29 -04:00
Moises Silva 22e8a44278 freetdm: run sched in the background if requested 2010-05-27 15:16:03 -04:00
Moises Silva 041b8da5a4 freetdm: added scheduling API 2010-05-26 15:48:05 -04:00
Moises Silva e00d2af95e freetdm: enable DTMF app 2010-05-26 11:17:47 -04:00
Moises Silva c292e0ef5c freetdm: FT_DECLARE_DATA 2010-05-25 19:50:10 -04:00
Moises Silva f974cea841 freetdm: add configurable boost trace level 2010-05-25 19:33:24 -04:00
Moises Silva 2efa471c3b freetdm: disable DTMF app and cmd line option 2010-05-25 18:22:05 -04:00
Moises Silva ab88afafb8 freetdm: stop just once 2010-05-25 16:06:55 -04:00
Moises Silva 166add6ed1 freetdm: remove SIGEVENT_ANSWER, was never used 2010-05-25 14:23:10 -04:00
Moises Silva dace9df129 freetdm: FSBUILD-277 Fix Windows build in release mode (patch by Peter Olsson) 2010-05-25 13:33:41 -04:00
Moises Silva 22d7d8cc14 freetdm: we need a channel iterator *sigh* 2010-05-25 13:35:30 -04:00
Moises Silva 9b6a9b6cae freetdm: use s<spanno>c<channo> notation for logging channel related msgs 2010-05-25 13:22:52 -04:00
Moises Silva dcd02fe92d freetdm: stop loop on call start 2010-05-25 13:16:07 -04:00
Moises Silva 7256232af2 freetdm: add call waiting disable/enable feature 2010-05-25 12:54:46 -04:00
Moises Silva 74a3f20ed7 freetdm: windows casting 2010-05-21 11:43:10 -04:00
Moises Silva 632e89f5f9 freetdm: handle loop requests 2010-05-21 11:31:01 -04:00
Moises Silva edb2d58285 freetdm: export and import boost custom data 2010-05-21 11:10:39 -04:00
Moises Silva 9d45690006 freetdm: add pvt data to freetdm channels
fix fxs features
2010-05-20 11:44:16 -04:00
Moises Silva 227fb934cf freetdm: use __WINDOWS__ and not WIN32 2010-05-18 15:51:45 -04:00
Moises Silva cab15659a6 freetdm: windows unref parameter 2010-05-18 10:42:16 -04:00
Moises Silva f1132a2b71 freetdm: fix handlers for FTDM_SIGEVENT_COLLECTED_DIGIT 2010-05-17 19:03:32 -04:00
Moises Silva 8e69e8e735 freetdm: clean up state change macros and functions to improve logging 2010-05-17 14:36:10 -04:00
Moises Silva e57ab3acd5 freetdm: remove if 0 sections 2010-05-17 11:26:25 -04:00
Moises Silva 9c8be17f3d freetdm: wait for analog thread to be done before shutdown
add more debug logging
         fix signaling status return code in ftdm_io
2010-05-17 11:23:33 -04:00
Moises Silva 3abdd9656f freetdm: print stack trace in sample ftdmload app 2010-05-12 15:51:28 -04:00
Moises Silva 19fb75740d freetdm: added dso sample app 2010-05-12 11:54:50 -04:00
Moises Silva 41f72fe42a freetdm: call on_unload when unloading the boost sig shared library 2010-05-12 11:49:16 -04:00
Moises Silva 383e272c30 freetdm: added boost sample app 2010-05-11 16:31:24 -04:00
Moises Silva b2d8e055bb freetdm: modify prototype for ftdm_span_create to accept I/O module name instead of pointer 2010-05-11 15:09:59 -04:00
Moises Silva f04bff40fa freetdm: return error when dlclose fails 2010-05-11 12:51:28 -04:00
Moises Silva a611a7e944 freetdm: shutdown boost events thread on unload 2010-05-11 10:42:32 -04:00
Moises Silva cf7af1f99b freetdm: fix segfault in socket mode boost unload 2010-05-10 13:03:22 -04:00
Moises Silva 3baa799d7f freetdm: use SIGBOOST_EVENT_CALL_PROGRESS 2010-05-10 12:09:46 -04:00
Jeff Lenk edcf5fe0a4 Windows x64 support 2010-05-07 13:20:34 -05:00
Moises Silva 162b5cf2b1 freetdm: windows fix 2010-05-06 16:32:14 -04:00
Moises Silva 23aa931d43 freetdm: remove SCTP requirement, now is optional 2010-05-05 13:16:37 -04:00
Moises Silva 44a99f14b0 freetdm: set outbound flag in the core 2010-05-04 14:12:44 -04:00
Moises Silva 0925d04a92 freetdm: documentation 2010-05-03 12:15:18 -04:00
Brian West 438410790c + x 2010-05-01 19:45:55 -05:00
Moises Silva 930087c355 freetdm: fix leak of request ids in queue mode.
Macro BOOST_EVENT_CHAN and BOOST_EVENT_SPAN should always be used!
2010-05-01 14:51:01 -04:00
Stefan Knoblich 360e8aae20 [FreeTDM] gcc-4.5: Use zt_event_t instead of ftdm_oob_event_t to fix enum type mismatches. 2010-04-30 23:10:43 +02:00
Stefan Knoblich 86fcc2c04c FreeTDM: remove stray apostrophe 2010-04-30 22:28:38 +02:00
Moises Silva 6e7f93d9cf freetdm: do not dial until DIALING state handler
add ftdm_declare.h to list of headers
2010-04-30 16:01:24 -04:00
Moises Silva 110bd5cdb1 freetdm: windows fixes 2010-04-29 10:53:03 -04:00
Moises Silva a744214a3a freetdm: check protocol status after configuring the signaling 2010-04-28 18:17:52 -04:00
Moises Silva f39fcfc8a9 freetdm: fix boost glare invalid state transition
show physical status in ftdm list command
         update list of events
2010-04-28 18:17:51 -04:00
Moises Silva 06ebf2cb5b freetdm: dont access span_id or chan_id 2010-04-28 18:17:51 -04:00
Moises Silva a97dc4ff11 freetdm: remove header 2010-04-28 18:17:51 -04:00
Moises Silva 7fdeb8bb81 freetdm: added doxygen config 2010-04-28 18:17:51 -04:00
Moises Silva e6f6f559ae freetdm: added documentation and clean up script 2010-04-28 18:17:50 -04:00
Moises Silva 56db486189 freetdm: hangup the chan call when the core fails to create the session 2010-04-28 18:17:50 -04:00
Moises Silva 554e433322 freetdm: get rid of duplicated ftdm_types.h from previous merge 2010-04-28 18:17:50 -04:00
Moises Silva 1f895fe6ed freetdm: remove warning when checking sig status 2010-04-28 18:17:50 -04:00
Moises Silva de2a4ea100 freetdm: fix dchan libpri 2010-04-28 18:17:50 -04:00
Moises Silva d4f93843a1 fix flags 2010-04-28 18:17:49 -04:00
Moises Silva c165771474 freetdm: completion of compilation with initial reworked API 2010-04-28 18:17:49 -04:00
Moises Silva 73a80ba939 start API cleanup by moving private headers and data structures into private/ include directory 2010-04-28 18:17:49 -04:00
David Yat Sin b135ef373d Removed use of ftdmchan->flags from mod_freetdm.c as they will be hidden from user in new architecture 2010-04-27 18:20:25 -04:00
David Yat Sin 51566afb98 freetdm: moved type inside ftdm_configure_span_channels 2010-04-27 17:21:57 -04:00
David Yat Sin 72a8517d71 freetdm: fio->configure_span moved inside ftdm_configure_span_channels function 2010-04-27 16:12:22 -04:00
David Yat Sin 318866b7f9 freetdm: Added signalling status report
Fix for ftmod_libpri not reporting proper physical and protocol alarms on init
2010-04-27 14:32:36 -04:00
David Yat Sin 3b0024c392 Merge branch 'master' of git@git.freeswitch.org:freeswitch 2010-04-23 17:35:21 -04:00
David Yat Sin 78fbece886 Added signalling state handle for boost modules 2010-04-23 17:34:57 -04:00
Nenad Corbic 86f4b6823d Merge branch 'master' of git://git.freeswitch.org/freeswitch
Conflicts:
	libs/freetdm/src/ftmod/ftmod_sangoma_boost/ftmod_sangoma_boost.c
2010-04-23 14:02:50 -04:00
Moises Silva cad7f70442 freetdm: handle_call_done must be called on call start nack ack when there is no call setup id 2010-04-23 10:37:06 -04:00
Moises Silva 1668597833 freetdm: add IN_LOOP state to the state 2 str macro 2010-04-23 10:28:13 -04:00
David Yat Sin 90bd259f11 Merge branch 'master' of git@git.freeswitch.org:freeswitch 2010-04-22 14:20:37 -04:00
David Yat Sin 90e7da1c59 freetdm: bug fix for queue mode and call collision 2010-04-22 14:20:32 -04:00
Moises Silva fb9e6a104b freetdm: fix boost unload crash 2010-04-21 18:46:52 -04:00
Moises Silva 0b45537ec8 freetdm: make sure gains are not applied to non-voice channels 2010-04-21 14:53:23 -04:00
David Yat Sin 8aebc016d0 freetdm:Bug fixes in freetdm queue mode
freetdm:Added freetdm to compile/install list
2010-04-20 17:05:47 -04:00
Moises Silva 3e600fb968 freetdm: Windows compilation quirks 2010-04-19 11:51:13 -04:00
Nenad Corbic 02d5191549 Bug fixes in freetdm and openzap 2010-04-16 18:36:06 -04:00
Nenad Corbic 7269d4618c conflict 2010-04-15 19:59:21 -04:00
Nenad Corbic af89e40938 Bug fixes in freetdm and openzap 2010-04-15 19:50:24 -04:00
David Yat Sin c4f821f822 Merge root@192.168.1.163:/freeswitch
Conflicts:

	libs/freetdm/src/ftmod/ftmod_sangoma_boost/ftmod_sangoma_boost.c
2010-04-15 11:54:32 -04:00
David Yat Sin 7e31b658c8 freetdm:Added macro to for boost event span and chan 2010-04-15 11:48:09 -04:00
Nenad Corbic 573adced1f Multiple updates and bug fixes to ftdm/openzap. Major stress test 2010-04-15 11:39:55 -04:00
Moises Silva 0abbe4bd0e complete ss7 config by setting context and dial plan 2010-04-14 18:36:22 -04:00
Moises Silva 4704a30a45 destroy ss7 configs on shutdown 2010-04-14 18:15:22 -04:00
Moises Silva 99402dd4e0 implemented freetdm config nodes and ss7 initial configuration 2010-04-14 18:00:16 -04:00
Moises Silva e3c1906c81 add ss7 skeleton config section 2010-04-14 18:00:16 -04:00
Moises Silva d54845d929 fix alarm log msg 2010-04-13 16:26:07 -04:00
Moises Silva 0bf8482393 add realloc OS hooks and fix boost pri CLI 2010-04-13 15:18:18 -04:00
Moises Silva 5e31f52c3e Merge branch 'master' of git.freeswitch.org:freeswitch 2010-04-12 16:11:09 -04:00
Moises Silva ede4789730 check for chan count before configuring signaling 2010-04-12 16:10:25 -04:00
David Yat Sin e7ff9f8506 Fix for sangoma_boost crashing on start due to queue unitialised
Updated cpu monitor to support different /proc/cpustats format
2010-04-09 16:03:54 -04:00
Moises Silva 39f732354f fix boost win compilation 2010-04-09 12:29:58 -04:00
Moises Silva 1a4b6d5440 fix freetdm win compilation 2010-04-08 13:25:44 -04:00
davidy d7e9c2673f Added support for passing CLI commands to boost sigmod module 2010-04-07 11:22:25 -04:00
Moises Silva 52c5cd074b import fix for OPENZAP-76 from openzap and other minor fixes 2010-04-06 14:41:30 -04:00
Moises Silva cb495d05e1 Fix for TON and NPI not passed through to channel variables on incoming calls 2010-04-06 13:39:03 -04:00
Moises Silva 291ee2252b freetdm type fixes 2010-04-06 12:04:46 -04:00
Moises Silva 0414c789e1 fix cpumon 2010-04-05 18:28:13 -04:00
Moises Silva ae13883b2a added configuration of gains in openzap.conf and display through CLI 2010-04-05 18:13:13 -04:00
Moises Silva 6ddcb9044c added cpu monitor 2010-04-05 17:49:43 -04:00
Moises Silva 428931bce2 Use the pendingchans queue only on request by signaling modules.
Remove suggest_chan_id member and add a span flag instead.
2010-04-05 16:01:08 -04:00
Michael Jerris 597675ec14 disable isdn mod here for now, it will be replaced soon 2010-04-02 01:24:20 -04:00
Stefan Knoblich f4c1dee95b FreeTDM: freetdm.pc.in was still using "OpenZAP", fix the name and library name. Leaving the homepage tag alone for now until a new one has been set up(?). 2010-03-31 19:53:00 +02:00
David Yat Sin 2340dfeac1 Fix for ftdm_multiple_wait not reading proper file descriptors
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1073 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-26 15:08:54 +00:00
David Yat Sin 6d05c98a82 fix for warnings when including freetdm.h
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1072 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-24 21:48:53 +00:00
Moises Silva 174b1a3622 unloading modules has to be the last thing to do
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1065 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-15 14:57:00 +00:00
Moises Silva dd39a902e6 fix double call to state_advance
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1058 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-12 19:25:44 +00:00
Moises Silva 5305611be3 added generic interrupt support
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1057 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-12 18:27:24 +00:00
Moises Silva 617020ea0c process alarms in the core
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1055 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-10 21:47:28 +00:00
Moises Silva 66bc2e43c8 merged 1039:1053 openzap/trunk
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1054 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-10 20:06:31 +00:00
Moises Silva 3a4deae812 handle SIGBOOST_EVENT_CALL_RELEASED
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1045 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-01 20:50:40 +00:00
Moises Silva 7ffddd316a commit testsangomaboost.2008 vc project
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1044 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-01 19:52:01 +00:00
Moises Silva b7f198ba18 added boost-tasks.txt old doc, it might be useful later
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1043 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-27 18:47:19 +00:00
Moises Silva 5df64c1d38 merged 1023:1039 http://svn.openzap.org/svn/openzap/trunk
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1040 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-25 23:36:18 +00:00
Moises Silva 165bb80072 update cygwin install script
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1032 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-16 17:06:00 +00:00
Moises Silva 7f81ff8e46 remove the channel_request pointer in favor of implementing outgoing call when boost is in queue mode
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1030 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-12 18:32:16 +00:00
Moises Silva 5db5b8e608 set caller data in sangomaboost test
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1029 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-12 17:19:45 +00:00
Moises Silva 2858411559 merged 956:1023 (partial merge - boost related stuff)
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1028 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-11 20:51:00 +00:00
Moises Silva 0d392527dc merged 956:1023 (partial merge - anything non-boost related)
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1026 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-09 22:01:15 +00:00
Moises Silva 0900125be4 use suggest_chan_id when sigmod is present
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1025 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-09 21:51:08 +00:00
Moises Silva dd77a7c5cf added ozreplace.sh handy script
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1024 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-09 19:25:26 +00:00
Moises Silva e0a1c77c60 add testsangomaboost visual studio project
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1020 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-02 20:30:00 +00:00
Moises Silva 8667596ab4 Windows build fixes, inline and unsigned stuff
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1019 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-02 19:11:07 +00:00
Moises Silva 926f140754 replace use of ani in favor of dnis in caller_data structure for the destiny number in outgoing calls
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1017 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-01 21:40:01 +00:00
Moises Silva 3e8ee9b3e8 add outgoing call support to testsangomaboost
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1012 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-30 01:57:34 +00:00
Moises Silva b7b263e1ce fix hunting groups to include only voice channels
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1010 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-29 19:06:21 +00:00
Moises Silva 558ca085de update sigboost.h to version 102
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1009 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-29 19:03:45 +00:00
Moises Silva c1851e2ac4 add nfas properties to sangoma boost sample program
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1008 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-28 21:37:50 +00:00
Moises Silva 339e2087bb done with outgoing sangoma boost sample program
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1007 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-28 21:06:11 +00:00
Moises Silva 0979265548 improve sangoma boost test
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1006 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-28 16:50:34 +00:00
Moises Silva 448d2e8566 fix adding of span channels to group for E1 lines
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1005 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-25 18:53:27 +00:00
Moises Silva 08df1fd80c update BOOST.limitations file
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1004 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-25 18:52:47 +00:00
Moises Silva 44acc4a042 fix vs2008 solution project dependencies
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@997 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-22 20:40:23 +00:00
Moises Silva 22355d197b fix abort in sangoma_boost_client
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@985 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-18 17:00:20 +00:00
Moises Silva aa58073e03 more freetdm
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@980 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 22:17:26 +00:00
Moises Silva bc90d7274f FreeSWITCH command will be ftdm and not ft
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@979 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 22:09:36 +00:00
Moises Silva 4ef72cfef6 gain value adjustment fixes
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@978 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 21:58:36 +00:00
Moises Silva ac7c608620 windows renaming to freetdm changes
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@977 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 21:43:41 +00:00
Moises Silva d7018dcd5b renamed bunch of visual studio 2008 project to freetdm
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@976 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 20:58:52 +00:00
Moises Silva 6a3784523e change 2008 windows project file to freetdm
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@975 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 20:51:41 +00:00
Moises Silva a8ddece1b6 more freetdm changes
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@974 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 20:35:11 +00:00
Moises Silva a5bd5142da more freetdm renaming changes
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@973 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 20:08:43 +00:00
Moises Silva 1b47133795 more naming changes
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@971 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 19:56:54 +00:00
Moises Silva 526cb45c93 more freetdm headers missing
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@970 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 19:38:56 +00:00
Moises Silva 62a406b2a2 oops, missing freetdm.h
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@969 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 19:38:33 +00:00
Moises Silva e512bb8eb3 change configuration file names for freetdm renaming
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@968 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 19:34:49 +00:00
Moises Silva 900f1ed2ef Linux renaming from openzap to freetdm
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@967 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 19:22:49 +00:00
Moises Silva 0346bc76cc updated ozrename.sh
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@966 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 18:15:15 +00:00
Moises Silva f45c87f61f updated ozrename.sh
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@965 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 17:10:23 +00:00
Moises Silva f5804eae8e updated ozrename
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@964 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 17:08:24 +00:00
Moises Silva 9f15582108 added ozrename.sh script
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@963 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 17:06:46 +00:00
Moises Silva f8ff3eaaaf added boostrap script
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@962 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 17:06:20 +00:00
Moises Silva baec5f24a8 updated todo
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@961 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 14:59:53 +00:00
Moises Silva 200b25e256 added new boost msg EVENT_CALL_RELEASED to fix race condition on call hangup
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@960 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-14 05:23:40 +00:00
Moises Silva e9e0edb33f merged revision 938:956 from openzap/trunk
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@959 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-13 17:53:22 +00:00
Moises Silva d6d344974d fix group configuration bug
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@955 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-12 18:09:55 +00:00
David Yat Sin 3ee4713670 Fix for pthread_condtimedwait failing occasionally
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@954 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-12 17:52:17 +00:00
Moises Silva 95df158b78 fix boost span hunting
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@952 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-08 21:53:41 +00:00
Moises Silva 80e1a88b32 dont return error if there are no events on wanpipe_poll, it may be an async signal on the wanpipe device
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@950 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-07 16:55:48 +00:00
Moises Silva 4a5762ada3 implemented zap gains, not tested
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@948 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-06 20:58:21 +00:00
Moises Silva 5aa9ff86a8 added span signaling status APIs
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@947 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-06 17:00:19 +00:00
Moises Silva 5ff8716e8e added more proper checks and fixes to last commit
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@945 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-05 16:30:58 +00:00
David Yat Sin 29436b8cd6 Support for huntgroups
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@944 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-04 15:26:23 +00:00
David Yat Sin b433175950 Fix for segfault on zap_queue wrap-around
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@942 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-18 20:53:17 +00:00
David Yat Sin 6f1cafa983 Merged r910:r938 from trunk
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@939 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-14 17:47:41 +00:00
David Yat Sin 3459cd6bd6 Fix for compilation error
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@936 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-10 20:59:48 +00:00
Moises Silva 83587669e3 added BOOST.limitations file to ozmod_sangoma_boost
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@935 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-09 22:57:06 +00:00
David Yat Sin 27ad281537 Fix for pthread_cond_timedwait
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@934 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-09 21:45:09 +00:00
Moises Silva 39974a3536 fix mutex locking in Windows and take back boost 10ms polling, is needed for now
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@933 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-09 20:35:53 +00:00
David Yat Sin 15c93b5c0d Changes for segfaults on shutdown and cpu usage
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@932 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-09 18:51:55 +00:00
Moises Silva c376f9d092 added zap_strndup
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@928 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-04 18:25:48 +00:00
Moises Silva ff473f4adc use an auto-reset event for Windows conditions
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@924 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-02 21:45:11 +00:00
Moises Silva d94d016cef debug msgs
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@922 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-02 19:10:15 +00:00
Moises Silva 0b21fe80dc fix expected return code for WaitForSingleObject in zap queue implementation
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@921 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-02 16:36:42 +00:00
Moises Silva 665aa967cd fix Windows projects and cyginstall
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@920 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-01 21:49:51 +00:00
Moises Silva 0ee0ff5123 added cygwin install openzap script
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@919 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-30 17:04:30 +00:00
Moises Silva 98954639f0 add zap_queue.c to Windows build
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@918 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-30 17:00:22 +00:00
Moises Silva 432a195053 fix ozmod_sangoma_boost compilation and linking
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@917 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-30 16:52:40 +00:00
Moises Silva 4778d58223 make ozmod_sangoma_boost compile on Windows ... but not linking yet -_-
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@915 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-27 22:40:45 +00:00
Moises Silva 5bb2c0eb3f updated sigboost
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@914 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-27 21:39:09 +00:00
Moises Silva 48f2ed527d Fixes to compile in Windows C++ compiler
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@913 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-27 20:14:42 +00:00
Moises Silva 2c976c9f81 use ::abort when compiling in a c++ compiler
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@912 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-27 19:21:39 +00:00
Moises Silva ecf3294a88 added zap_assert_return macro and replaced old use of zap_assert
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@911 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-27 18:57:35 +00:00
David Yat Sin 2f09453095 Merged r 908:909 from trunk to support early media mode
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@910 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-27 16:59:12 +00:00
Moises Silva c6e7eaac83 Fix windows build
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@908 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-26 16:01:55 +00:00
Moises Silva 2ea4c03e81 show signaling status on oz list
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@907 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-25 22:53:23 +00:00
Moises Silva bc25bc771c add BOOST_SPAN and BOOST_CHAN macros
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@906 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-25 20:58:31 +00:00
Moises Silva bea687fb76 fix hunting of zchan on incoming calls and event reading bug
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@904 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-25 20:18:29 +00:00
Moises Silva bd00467c76 set the span when sending a start request and sigmod is available
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@903 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-25 18:50:04 +00:00
Moises Silva c70f0e226c dont use member names on structure initialization, msvc does not like it
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@902 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-25 01:53:54 +00:00
Moises Silva 360638f0dc dont send boost restart when working sigmod is present
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@901 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-25 01:42:35 +00:00
Moises Silva 3b47c0786b start boost spans only after all of them have been configured
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@899 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-24 18:15:55 +00:00
Moises Silva fda2c273d0 merged revisions 855:895 from openzap/trunk
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@897 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-23 18:19:35 +00:00
Moises Silva e508938675 ignore boost messages with no span
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@896 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-23 16:40:41 +00:00
Moises Silva 10f8ab0806 beautify some code
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@893 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-21 04:45:22 +00:00
David Yat Sin 3245ec9997 Fixed zap_queues
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@892 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-20 22:57:24 +00:00
David Yat Sin 3268b4ae34 Fix for ON_LOAD returning zap_status_t
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@891 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-20 16:46:49 +00:00
Moises Silva 4de9a4c0d1 Resolved conflict
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@890 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-20 16:42:31 +00:00
David Yat Sin ac06f30774 Fixed issue when mcon->mutex was not initialized
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@889 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-20 16:20:36 +00:00
Moises Silva f1eadddd31 fix channel sig status enum to string converter
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@887 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-19 21:20:19 +00:00
Moises Silva c9223883dc call on_load and on_unload methods
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@886 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-19 20:10:34 +00:00
Moises Silva f1f126b5d5 Added BOOST_ON_LOAD_FUNCTION and BOOST_ON_UNLOAD_FUNCTION
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@885 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-19 19:38:33 +00:00
Moises Silva e909bac500 fix assertion
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@883 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-18 19:23:40 +00:00
David Yat Sin 0b75f2de27 Fix for zap_global_config not called
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@882 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-18 17:13:33 +00:00
David Yat Sin 77e5eb21bf Added testsangomaboost
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@881 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-17 23:13:38 +00:00
Moises Silva 5a2bb60b40 added extern C crap
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@880 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-17 20:49:41 +00:00
Moises Silva c1ee86a046 simplify openzap signaling configuration API
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@879 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-17 18:47:23 +00:00
Moises Silva 00c5bf0033 renamed a boost interface macro
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@878 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-17 18:12:07 +00:00
David Yat Sin 29f6db19af added
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@877 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-17 18:06:57 +00:00
Moises Silva fadd0826c7 oops
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@876 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-17 16:44:29 +00:00
Moises Silva b9270aea0e fix ifndef
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@875 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 22:36:11 +00:00
Moises Silva 7f7fac27af renamed sangoma_boost_sigmod.h to sangoma_boost_interface.h
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@874 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 22:27:41 +00:00
Moises Silva c495be57fb add helper macro to name boost interface
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@873 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 22:22:02 +00:00
Moises Silva 453fe5f72f split initialization from configuration
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@872 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 21:15:54 +00:00
Moises Silva c6cf9e61cd added hardware link notification
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@871 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 21:09:21 +00:00
Moises Silva c557472f25 added ZAP_COMMAND_GET_LINK_STATUS for sangoma boards
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@870 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 18:42:35 +00:00
Moises Silva d7b1202a1a added get sig status API support
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@869 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 18:06:48 +00:00
Moises Silva 3fee1f6eb1 added ZAP_COMMNAD_SET_LINK_STATUS for wanpipe boards
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@868 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 16:51:58 +00:00
Moises Silva c332cceb0d added zap_global_add_io_interface
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@867 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 16:27:59 +00:00
Moises Silva e0d41a722c added Windows zap conditions code
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@866 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 15:52:52 +00:00
Moises Silva 9750bbed52 added API and hooks to override the queue implementation
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@865 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 15:21:08 +00:00
Moises Silva 34307d8e52 replaced a ton of free or strdup calls for zap_safe_free and zap_strdup
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@864 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 14:52:02 +00:00
Moises Silva f3d2328564 replaced calloc calls for zap_calloc
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@863 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-15 03:35:01 +00:00
Moises Silva a2b4369cc2 replace all malloc calls to zap_malloc
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@862 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-15 02:14:50 +00:00
Moises Silva c3a1f65be9 added memory handlers
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@861 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-15 01:46:43 +00:00
Moises Silva e7a5ecacb1 finished zap queue and zap conditions implementation for Linux
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@860 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-14 02:04:38 +00:00
Moises Silva c46160b4ff added zap_queue.c
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@859 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-13 21:28:09 +00:00
Moises Silva 19a706877b added openzap queue stuff, still missing implementation
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@858 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-13 20:48:06 +00:00
Moises Silva 890cba5ba1 refactoring to use function call based boost instead of sockets
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@857 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-13 00:41:50 +00:00
Moises Silva 66adb741e7 added sangoma boost sigmod interface
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@856 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-12 19:47:04 +00:00
Michael Jerris 087f820187 whoops
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@853 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-11 18:51:03 +00:00
Michael Jerris 4b64c098ec only build boost module if you have sctp
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@852 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-10 23:28:49 +00:00
Anthony Minessale c1323ecf10 exit thread if too many errors occur to prevent endless loop
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@850 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-09 18:31:48 +00:00
Anthony Minessale c4b491a7b1 more tones
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@849 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-06 20:04:59 +00:00
Anthony Minessale acb36c4b9e clear tone_count on subsequent calls
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@848 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-02 18:58:55 +00:00