Commit Graph

108 Commits

Author SHA1 Message Date
Michael Jerris e2658cb9d9 build tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@630 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-30 22:27:23 +00:00
Helmut Kuper eb24f46932 Q931ToPcap patch
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@628 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-30 11:37:11 +00:00
Michael Jerris d5f2bf456d fix strange openzap build issue
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@626 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-13 22:45:09 +00:00
Anthony Minessale 80c5d2b727 add type of num var for pri
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@624 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-12 18:05:22 +00:00
Anthony Minessale c909649b85 add type of num var for pri
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@623 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-12 17:50:26 +00:00
Anthony Minessale bdc9c28d9c add type of num var for pri
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@622 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-12 17:46:30 +00:00
Anthony Minessale 0fa7d1b68e make error more clear about missing trunk_type param in openzap.conf (and auto tolerate the err) and fix printf metas
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@621 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-09 22:11:04 +00:00
Michael Collins 8d3b22aee5 Add stub for oz bounce command
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@620 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-06 01:07:09 +00:00
Michael Jerris 4d736eb351 (OPENZAP-33) format not a string literal and no format arguments
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@606 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-11-03 20:46:43 +00:00
Anthony Minessale c528de01af set init state sooner on outbound calls
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@605 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-31 14:30:45 +00:00
Anthony Minessale 885d726da8 redo some stuff
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@604 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-30 22:40:57 +00:00
Anthony Minessale 9637d01954 fix log
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@601 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-24 20:52:45 +00:00
Anthony Minessale 3906f66859 change log message
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@600 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-24 20:44:37 +00:00
Anthony Minessale 06f51244b6 change log message
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@599 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-24 20:41:52 +00:00
Anthony Minessale 8f8d75cc2b add name to oz list
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@598 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-24 19:53:56 +00:00
Anthony Minessale 843a36f74d change to reflect new code
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@596 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-20 18:10:37 +00:00
Anthony Minessale 4277fe8eed fix FSCORE-206
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@595 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-17 23:00:47 +00:00
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 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