Commit Graph

96 Commits

Author SHA1 Message Date
Stefan Knoblich 4c4047d5cf Add NT-mode overlap dial timeout and fix CID in overlap
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@593 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-12 22:07:45 +00:00
Anthony Minessale 145b961815 allow blank dest for calling fxs
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@590 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-09 01:18:40 +00:00
Anthony Minessale 564329faee OPENZAP-28 pass opts from mod_openzap to ozmod_isdn
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@589 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-07 15:27:51 +00:00
Michael Jerris d90030872c fix
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@587 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-06 20:02:55 +00:00
Michael Jerris 8cdc323ca5 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 1ded021796 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 e4797e4de6 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 5b2982a442 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 a120d4bd7a 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 06368f6119 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 26b368810e 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 36abcdd03d 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 e403a7952f 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 a3922ed7c8 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 7c004d59ff 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 3479ce917e (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 7d86ac5714 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 97958e56e0 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 3c4453955d 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 b23ecdd82e 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 38f509239e 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 a8d9742c8e 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 2070e9d05b 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 c18c881bd4 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 bc1ccab19c 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 d36e174cda 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 ff19726bd0 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 91b042092c 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 15fe36a6d7 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 114a0a8afb 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 c0d5af7804 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 b015d7b8d3 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 219812a90f 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 5ae7201c37 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 01b0022a50 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 f99afcefde 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 1d5bec97f1 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 14519d193c 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 9ad363cffe 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 3f9d36f552 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 e0512294af 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 eba32dae0d 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 9c95febcdd 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 051f682516 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 1d3f79cddc 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 26d7b0013b 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 a2dfc75587 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 f6c2eca615 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 6ec135418a 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 673501ae05 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