182 Commits

Author SHA1 Message Date
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
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
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