Commit Graph

192 Commits

Author SHA1 Message Date
Michael Jerris e5f6013b58 add patch OPENZAP-15 with minor mods
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@586 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-06 19:21:27 +00:00
Michael Jerris 539bd22cab add patch OPENZAP-26 with minor mods
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@585 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-06 19:13:32 +00:00
Michael Jerris 7f960f6edb allow span name in dial string instead of span number openzap/<span_name>/A|<num>
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@584 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-06 15:57:11 +00:00
Anthony Minessale 41184317d0 OPENZAP-22 add configuration settable debug levels for isdn trunks
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@580 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-03 21:57:57 +00:00
Anthony Minessale 4c45863d5a move dtmf gen to read
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@577 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-03 21:03:21 +00:00
Anthony Minessale 1d8f1d05b4 write cng frames during sleep
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@576 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-03 18:15:04 +00:00
Anthony Minessale f91b93dc43 fix unclean reset from i/o error and add new span wide option to disable callerid detect
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@573 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-29 15:51:00 +00:00
Anthony Minessale 2dd27f2738 fix analog fxs state machine issue
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@569 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 17:29:48 +00:00
Anthony Minessale 18abfac317 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@568 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 17:09:10 +00:00
Anthony Minessale cf7125c118 add name to spans
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@565 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 15:36:34 +00:00
Michael Jerris 056a3ec2ee only get real q850 cause codes
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@564 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-24 21:26:44 +00:00
Michael Jerris 3f4bf6f647 (OPENZAP-7) inital checkin of E&M support from John Wehle
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@561 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-17 02:21:28 +00:00
Anthony Minessale 02ea4b4d34 push progress event up to mod_openzap on analog ring
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@555 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-11 17:55:27 +00:00
Anthony Minessale 6d024dc60e fix OPENZAP-14
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@553 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-10 19:27:17 +00:00
Anthony Minessale fa8457c019 change core of openzap to use dynamic allocation of spans and channels to reduce memory usage
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@552 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-10 15:25:02 +00:00
Anthony Minessale 675f163f90 tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@549 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-09 19:17:38 +00:00
Anthony Minessale 8202ffd578 fix config parser and build on some systems
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@547 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-08 23:01:44 +00:00
Stefan Knoblich df1b9dca95 NT mode improvements:
Add channel hunting in case the TE side specifies "any" channel in the Channel ID IE
  of an incoming SETUP message (or if there is no Channel ID IE at all).

  Support overlap dial in NT mode, (needed for BRI phones), triggered by a missing
  Called Party IE in the SETUP message.

  Tones... picking up a phone and not hearing a dialtone is no fun...
  Dialtone (works) and Ring (untested) are implemented, tones are generated by
  a secondary thread (only started for spans in NT mode). I tried to do the tone
  generating in the main thread first, but it is easier to handle like this.
  The loop uses the first channel that needs tones as a timing reference and the
  tone buffer is reused if multiple succeeding channels share the same state to
  save some cpu cycles (yes, not perfect... alternative is to allocate a buffer for
  every indication and precalculate the values... => 16KB for each indication).

  Coming up next: Q.931 Timers



git-svn-id: http://svn.openzap.org/svn/openzap/trunk@544 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-07 17:39:36 +00:00
Anthony Minessale 81a44b3fdc doh
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@522 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-29 20:41:17 +00:00
Anthony Minessale 59e2f1894e only install if the file is NOT there
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@521 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-29 18:50:42 +00:00
Anthony Minessale 92fbb583ab dyna won't you blow your horn
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@517 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-29 15:58:59 +00:00
Anthony Minessale 43c28c17dc update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@513 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-22 17:56:09 +00:00
Stefan Knoblich 9bcabce6e8 Add initial Basic Rate Interface (BRI) support...
Short summary of changes:
    (Massive) rework of the Q.921 layer
    Q.931 changes to get BRI PTMP working and cleanups (more to come...)
    Add Hi-Layer compat and Progress IE to outgoing SETUP messages
    Improve handling of call tear-down in zap_isdn.c
    Open ZAP I/O channels after processing the dialplan for incoming calls
    Bearer Capability and Channel ID IE handling improved for BRI/PRI and A-law/u-law

    ...and a lot of other small changes



git-svn-id: http://svn.openzap.org/svn/openzap/trunk@512 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-22 16:55:01 +00:00
Anthony Minessale 465329ea34 tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@509 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-11 16:09:39 +00:00
Anthony Minessale e2cb2de28e add disable_ec app
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@506 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-07-30 15:05:07 +00:00
Anthony Minessale 7ea0f83baf fix missed name change in debug line
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@495 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-06-05 14:09:53 +00:00
Michael Jerris 4f7c97ef35 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@484 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-26 01:51:11 +00:00
Michael Jerris 7813d6a46c add strict state parsing and configurable suggest mode
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@482 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-21 18:58:14 +00:00
Anthony Minessale fabc3df7d4 sync
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@481 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-21 16:49:22 +00:00
Anthony Minessale b7b9bf763b add var_event down into the endpoints so chans with no parents can still pass options
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@477 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-15 19:43:58 +00:00
Anthony Minessale e1a86feba8 CtRiX is fast
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@472 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-08 20:27:31 +00:00
Anthony Minessale 7917a9a472 up
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@470 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-05 15:47:44 +00:00
Anthony Minessale 0b5f27f66f tweaks
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@466 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-01 16:41:10 +00:00
Anthony Minessale cd737a7ba3 fix some analog issues brought about by too much concentration on digital
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@465 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-04-30 15:17:55 +00:00
Anthony Minessale 8b707829cc update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@434 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-04-01 21:49:35 +00:00
Anthony Minessale 426d2a767f add oz api command
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@432 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-04-01 17:29:57 +00:00
Anthony Minessale 307b0ffad8 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@430 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-04-01 00:38:40 +00:00
Anthony Minessale 6880c95573 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@426 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-03-19 20:45:57 +00:00
Anthony Minessale 532de2fb08 some changes
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@420 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-03-01 00:48:36 +00:00
Michael Jerris 7cd6d9f30f we do these from the lib automatically now
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@419 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-02-29 22:04:15 +00:00
Anthony Minessale 61663af152 boost up
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@416 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-02-29 00:21:04 +00:00
Anthony Minessale ec0b259ecf fix MODENDP-82
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@408 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-02-26 22:30:54 +00:00
Anthony Minessale 684c9ec054 add in switch_core_signal_lock/unlock
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@407 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-02-26 16:55:54 +00:00
Anthony Minessale 722d812aee update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@403 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-02-18 17:41:41 +00:00
Anthony Minessale e702576e1f tweaks
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@400 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-02-18 16:15:24 +00:00
Michael Jerris 65b7e38b20 tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@398 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-02-18 15:43:54 +00:00
Michael Jerris 099dae4b99 mark answered.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@387 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-02-04 20:40:23 +00:00
Anthony Minessale 2dd2b01345 cleanup
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@384 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-02-02 16:54:21 +00:00
Anthony Minessale d400fb7211 fix dest
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@383 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-02-02 16:48:20 +00:00
Anthony Minessale 08c099582e update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@377 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-01-30 00:15:08 +00:00
Anthony Minessale 96af9f5fe7 doh wrong place
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@375 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-01-28 21:45:48 +00:00
Anthony Minessale 1766e2eb6d i guess idsn calls want dtmf too
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@373 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-01-25 23:54:26 +00:00
Anthony Minessale dceef91373 add some options
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@372 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-01-25 16:42:06 +00:00
Anthony Minessale 955ece3364 fix outgoing channel selection
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@369 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-01-25 15:05:37 +00:00
Michael Jerris d223f03798 get chan id correctly from dial string
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@367 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-01-14 19:45:32 +00:00
Anthony Minessale 38c7ed615e adj
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@365 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-01-12 06:11:48 +00:00
Anthony Minessale 12fa624e80 build update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@362 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-01-10 01:15:04 +00:00
Anthony Minessale 169c074bcf add hold-music 3way blind and attended transfer to openzap
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@361 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-01-10 00:47:04 +00:00
Anthony Minessale 2fddaf7465 remove -w from makefile and fix all the obvious mistakes it was hiding
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@360 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-01-08 23:33:07 +00:00
Michael Jerris f926e83c02 error checking on dial string.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@359 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-01-07 16:50:20 +00:00
Anthony Minessale 010b17484b update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@358 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-12-22 02:16:03 +00:00
Anthony Minessale e728218e2f add dial regexs
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@352 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-11-24 18:04:14 +00:00
Michael Jerris fcde65bbf2 MODENDP-47
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@347 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-11-22 15:59:31 +00:00
Anthony Minessale e791b35e75 pika-choo i choose you
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@331 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-11-17 01:39:28 +00:00
Anthony Minessale 02070dc6b2 bottoms up!
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@326 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-11-08 01:42:21 +00:00
Anthony Minessale 74e8473971 avoiding segfault
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@323 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-11-08 00:50:28 +00:00
Brian West 10dbcfd16e tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@321 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-11-07 17:17:06 +00:00
Michael Jerris 6583971b31 fix scope of endpoint module structures
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@312 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-10-29 18:10:25 +00:00
Michael Jerris 26d00bd456 use relative path
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@309 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-08-19 20:19:01 +00:00
Michael Jerris 93d309d4c1 fix sloppy commit when updated to new module interface
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@308 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-08-15 15:54:00 +00:00
Michael Jerris 97ef2be934 update to use new module loader api
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@301 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-07-03 20:38:43 +00:00
Anthony Minessale b22f935b40 sangoma might fully work now
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@279 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 00:00:10 +00:00
Michael Jerris 25861c506e fix build.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@275 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-20 09:27:28 +00:00
Anthony Minessale cae2014e76 pretty damn close to being operational
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@266 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-16 15:52:49 +00:00
Anthony Minessale a91ce4a518 cleanup
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@265 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-16 13:46:32 +00:00
Anthony Minessale bed2275bc8 outbound isdn w00t
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@264 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-16 04:39:15 +00:00
Anthony Minessale 765857444a update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@256 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-14 04:44:44 +00:00
Anthony Minessale f981ebef9f inbound calls milestone
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@255 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-14 03:54:02 +00:00
Anthony Minessale 18ac09fb0d WIP
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@251 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-13 03:37:55 +00:00
Anthony Minessale 1761662524 add call waiting
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@243 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-11 18:15:09 +00:00
Anthony Minessale c2f9afc106 caller id works both ways w00t
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@240 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-09 14:23:02 +00:00
Anthony Minessale b9b5cfcd87 add fsk callerid stuff to analog fxo
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@220 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-05 16:57:32 +00:00
Anthony Minessale a8938b9a29 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@194 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-01 15:40:12 +00:00
Anthony Minessale 91ba4e6786 analog for zt works, still need some more for wanpipe
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@190 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-01 00:31:50 +00:00
Anthony Minessale 4c9db695b5 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@189 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-31 20:15:16 +00:00
Anthony Minessale 65228c6815 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@187 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-31 03:04:26 +00:00
Anthony Minessale a2dea73797 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@186 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-31 02:41:50 +00:00
Anthony Minessale 0f997a1fb9 add guts for zt
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@185 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-30 01:01:32 +00:00
Anthony Minessale 9f9b4e45b9 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@166 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-27 18:14:49 +00:00
Anthony Minessale 23b3c6936e update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@163 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-27 14:58:01 +00:00
Michael Jerris 1fcd860d73 windows build for mod_openzap.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@162 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-27 05:23:28 +00:00
Anthony Minessale 219ac87d22 refactor build
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@158 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-26 04:45:31 +00:00