Commit Graph

  • 7babaeb2fe Fix potential crash when pridump.c calls q921_dump() with NULL pri ptr. Richard Mudgett 2010-04-19 22:08:50 +00:00
  • 5ff4710e77 Make some internal routines available to other libpri components. Richard Mudgett 2010-04-15 18:43:37 +00:00
  • 9a7686d792 Only one PROCEEDING message per call please. Richard Mudgett 2010-04-09 21:43:42 +00:00
  • ba4d759752 Move a comment closer to where it has relevance. Richard Mudgett 2010-03-18 15:50:19 +00:00
  • d5d69dddac Miscellaneous simple reorganization. Richard Mudgett 2010-03-17 17:47:53 +00:00
  • 68a107a3e3 Restore ability to change the Q.921 K value. Richard Mudgett 2010-03-02 23:47:12 +00:00
  • 307264f7c6 Must send DISCONNECT if we have sent a response to a SETUP message. Richard Mudgett 2010-02-11 21:47:24 +00:00
  • 2ec071bae6 Minor comment changes. Richard Mudgett 2010-02-11 21:40:35 +00:00
  • d4354b4873 Added CPUARCH option for selecting a 32-bit build from the command line. Wendell Thompson 2010-02-11 17:35:49 +00:00
  • 9d9412e681 Revert useless check of pri->t200_timer value, since scheduler routines check the value anyways. Matthew Fredrickson 2010-02-08 23:29:51 +00:00
  • a09da00b0a Make sure we set the l3initiated flag when PTP links are attempted to be re-established Matthew Fredrickson 2010-02-08 22:14:17 +00:00
  • 748c69e160 pri_restart() is no longer needed since the Q.921 rewrite. Richard Mudgett 2010-02-05 23:34:54 +00:00
  • 6443238ed0 Sense of statement was inverted from what it should have been. Might have caused false T200 operation on reception of I-frames. Matthew Fredrickson 2010-01-29 21:55:52 +00:00
  • f80fa82b33 Only set eres if there actually is an event to pass up. Richard Mudgett 2010-01-29 19:32:58 +00:00
  • 3995397fa3 Fix bug in which an event was lost if an I-frame was received during a timer recovery state (related to #16713) Matthew Fredrickson 2010-01-29 17:27:43 +00:00
  • cec71a81e5 Don't be so noisy when D channel is down. Richard Mudgett 2010-01-26 21:04:48 +00:00
  • 7dd6494c61 Fix TE PTMP side sending FACILITY messages on the dummy call reference. Richard Mudgett 2010-01-19 21:53:31 +00:00
  • 79fbecc5ae Make some debugging messages conditional and some minor reformating changes. Richard Mudgett 2010-01-15 18:28:54 +00:00
  • 4d3bb14731 Merge of Q.921 rewrite branch for wider testing. Matthew Fredrickson 2010-01-13 19:37:59 +00:00
  • 14f04072c8 Extracted q931_fill_ring_event() from post_handle_q931_message(). Richard Mudgett 2009-12-09 20:59:16 +00:00
  • 46df6d2cd4 Fix debug output so built up output lines are readable again. Richard Mudgett 2009-11-21 02:40:23 +00:00
  • b9397c7541 Delay processing of facility ie's after all other ie's are processed. Richard Mudgett 2009-11-20 23:42:40 +00:00
  • 04d911112d Merged revision 1328 from https://origsvn.digium.com/svn/libpri/team/mattf/libpri-1.4-q921-rewrite Richard Mudgett 2009-11-18 00:36:20 +00:00
  • b698032e04 Reimplement callback mechanism to handle APDU response messages that we care about. Richard Mudgett 2009-11-14 00:20:53 +00:00
  • 62d35faf6b We now have 32 timers. No need to reserve minimum space anymore. Richard Mudgett 2009-11-13 23:46:57 +00:00
  • d305dbc609 There must be only one source for the invoke id values per D channel group. Richard Mudgett 2009-11-13 22:59:35 +00:00
  • 80c8c46b89 Make sure we also revive links for PRIs, not just PTMP TE BRIs when we get a disconnect message Matthew Fredrickson 2009-11-11 00:22:47 +00:00
  • 6a121d4c74 The facility ie queue needs to remove facilities that have been sent. Richard Mudgett 2009-11-10 21:51:26 +00:00
  • 44ad020fe8 Re-add back in support for TE initiated layer 2 activation Matthew Fredrickson 2009-11-10 20:25:02 +00:00
  • e23ea9568c Add dummy call reference support. Richard Mudgett 2009-11-10 19:27:34 +00:00
  • c7c670aa85 Remove unused callingsubaddr[]. Richard Mudgett 2009-11-09 20:53:10 +00:00
  • 618acf9d53 Unknown IE 50 (cs5, Unknown Information Element) Richard Mudgett 2009-11-03 17:19:20 +00:00
  • 9f39144986 NT PTMP did not report busy when calling a busy phone. Richard Mudgett 2009-11-02 23:28:59 +00:00
  • 16f2f02ce8 Add subaddress handling to existing messages and functions. Richard Mudgett 2009-10-23 23:47:58 +00:00
  • a2dcb6adba Add BRI PTMP NT mode, HOLD/RETRIEVE, Call rerouting/deflection, and keypad facility support. Richard Mudgett 2009-10-23 19:50:45 +00:00
  • a78ee730c9 Add support for calling and called subaddress. Partial support for COLP subaddress. Richard Mudgett 2009-10-22 16:16:50 +00:00
  • 6cb01561eb Fix call state ie transmission. Richard Mudgett 2009-10-19 22:49:59 +00:00
  • 5537dbec1d Fix comparision of invalid party name and number structs in comparison functions. Richard Mudgett 2009-10-19 22:38:32 +00:00
  • 0c210c19fa Take diverted-to-number from DivLegInfo1 and use it as connected number. Richard Mudgett 2009-10-15 22:34:52 +00:00
  • 92c277dae5 In q931_getcall(): Simplify test and add related switch types. Richard Mudgett 2009-10-14 19:03:49 +00:00
  • 28e7e1cdfe Reduce future conflicts when adding ie's to the SETUP message. Richard Mudgett 2009-10-13 19:06:26 +00:00
  • 296c64df23 Miscellaneous changes: Richard Mudgett 2009-10-12 17:17:48 +00:00
  • ab1580de67 Conditional out noisy and redundant ASN.1 parse dump of facility ie contents. Richard Mudgett 2009-10-09 23:20:37 +00:00
  • 11206c4ddf git-svn-id: https://origsvn.digium.com/svn/libpri/tags/1.4.10.2@1165 2fbb986a-6c06-0410-b554-c9c1f0a7f128 1.4.10.2 Matthew Fredrickson 2009-10-08 19:58:50 +00:00
  • 30a3abe6c5 Update .version file and Changelog correctly this time... Matthew Fredrickson 2009-10-08 19:56:28 +00:00
  • 3a9af361fd Sent Q.SIG call rerouting message fixes. Richard Mudgett 2009-10-07 18:34:06 +00:00
  • 175c1e470f Merged revisions 1143, 1144 from https://origsvn.digium.com/svn/libpri/tags/1.4.10.2 Richard Mudgett 2009-10-07 18:33:09 +00:00
  • eb34562959 This fix is more like the fix that was used to resolve the issue for the PRI case Matthew Fredrickson 2009-09-29 15:32:23 +00:00
  • fd30b495b6 Changes for 1.4.10.2 Matthew Fredrickson 2009-09-28 19:07:01 +00:00
  • 48f28055e4 git-svn-id: https://origsvn.digium.com/svn/libpri/tags/1.4.10.2@1142 2fbb986a-6c06-0410-b554-c9c1f0a7f128 Matthew Fredrickson 2009-09-28 18:52:56 +00:00
  • 18ea19900c Fix call reference to be associated with the D channel message was received Jeff Peeler 2009-09-22 17:12:23 +00:00
  • 4d19486781 Update pri_event2str() to current defined events. Richard Mudgett 2009-09-22 02:23:48 +00:00
  • 599128a65a Another place where timeout events with subcmds should clear any old subcmds. Richard Mudgett 2009-09-18 00:31:21 +00:00
  • c8de5d057b Timeout events with subcmds should clear any old subcmds. Richard Mudgett 2009-09-15 22:24:12 +00:00
  • 25b2496b0f Output multiline output with multiple calls to pri_message, so that logs look normal in Asterisk Matthew Fredrickson 2009-09-14 22:32:40 +00:00
  • d9af5b25ce Add SERVICE message support for the 'national' switchtype Dwayne M. Hubbard 2009-09-13 22:54:10 +00:00
  • c3074dafc1 Converted Q931_CALL_STATE_xxx defines to an enum. Richard Mudgett 2009-09-02 20:19:40 +00:00
  • 6d9c1cb0d9 Optimized calls to pri_schedule_del(). Richard Mudgett 2009-09-02 20:04:03 +00:00
  • 6d5aeb7cdd Cleaned up scheduled events handling code. Richard Mudgett 2009-09-02 19:49:58 +00:00
  • 503ef0531a Make event channel parameter encoding consistent. Richard Mudgett 2009-08-31 22:57:58 +00:00
  • e7c9ecb1b2 Split justsignalling into cis_call and cis_auto_disconnect functionality. Richard Mudgett 2009-08-31 17:24:19 +00:00
  • 61f7a372d9 Fix BRI PTP broken by -r790. Richard Mudgett 2009-08-26 15:24:34 +00:00
  • 97f33e3286 Put connected name in display ie for CONNECT message. Richard Mudgett 2009-08-25 16:50:56 +00:00
  • 3908bf2e48 Fix ie ordering in some ie lists for send_message(). Richard Mudgett 2009-08-25 16:49:07 +00:00
  • 176f0bf6cd Make dump_channel_id() handle variable length fields. Richard Mudgett 2009-08-24 23:06:39 +00:00
  • d32e70d473 Make sure reversecharge is initialized. Richard Mudgett 2009-08-24 22:09:38 +00:00
  • 69fecfd30a Add -n to ldconfig on HURD too. Jason Parker 2009-08-21 19:51:40 +00:00
  • 2ada419b08 Made the call state to string table use the state defines. Richard Mudgett 2009-08-20 15:52:27 +00:00
  • dcd62e467f Add COLP support to libpri for ETSI PTP, ETSI PTMP, and Q.SIG. Richard Mudgett 2009-08-18 23:53:32 +00:00
  • 926cc924d2 Allow custom CPU optimization flags Jeff Peeler 2009-08-18 20:59:32 +00:00
  • 13fbd05e0b Corrected standard document reference. Richard Mudgett 2009-08-07 15:53:20 +00:00
  • f04f345113 Fixed potential NULL pointer dereference. Richard Mudgett 2009-07-23 20:53:59 +00:00
  • 7659b102d4 Limiting last entry to 80 columns 1.4.10.1 Shaun Ruffell 2009-07-02 19:15:01 +00:00
  • b0180e3283 Update the .version file to 1.4.10.1 Shaun Ruffell 2009-07-02 19:09:43 +00:00
  • b6d92b91b4 git-svn-id: https://origsvn.digium.com/svn/libpri/tags/1.4.10.1@929 2fbb986a-6c06-0410-b554-c9c1f0a7f128 Matthew Fredrickson 2009-06-30 15:43:39 +00:00
  • fe23002233 ------------------------------------------------------------------------ r859 | mattf | 2009-06-09 14:47:05 -0500 (Tue, 09 Jun 2009) | 19 lines Matthew Fredrickson 2009-06-30 15:37:25 +00:00
  • 09eb3b1453 git-svn-id: https://origsvn.digium.com/svn/libpri/tags/1.4.10.1@927 2fbb986a-6c06-0410-b554-c9c1f0a7f128 Matthew Fredrickson 2009-06-30 15:34:46 +00:00
  • 27a5c7afb6 Fix potential buffer overflow in pri_dump_info_str(). Richard Mudgett 2009-06-26 19:50:19 +00:00
  • 01e637393e Eliminate local version of PRI_MAX_TIMERS. Richard Mudgett 2009-06-26 19:43:13 +00:00
  • 4f0b3f3109 Doxygenify the timer comments. Richard Mudgett 2009-06-26 19:41:56 +00:00
  • 24cc37a839 Added printf format attribute to pri_message() and pri_error() and fixed some detected errors. Richard Mudgett 2009-06-26 18:37:15 +00:00
  • 562e1fb7ca Add support for sending Reverse Charging Indication IE on ISDN PRI. Sean Bright 2009-06-25 18:53:38 +00:00
  • c5cdc66b72 Convert PRI_TIMER_xxx to an enum so PRI_MAX_TIMERS can be automatically adjusted. Richard Mudgett 2009-06-25 17:35:23 +00:00
  • 2eaca806b9 Make it easier to add more timers/counters and vary the defaults based upon switchtype. Richard Mudgett 2009-06-24 21:45:04 +00:00
  • 7092459702 Capture and expose the Reverse Charging Indication IE on ISDN PRI. Sean Bright 2009-06-24 18:19:24 +00:00
  • 64fd25fcac Revert unintentional changes Sean Bright 2009-06-23 23:15:56 +00:00
  • 16304b6a65 Set reviewboard property. Sean Bright 2009-06-23 23:15:04 +00:00
  • ea4d305ffb Miscellaneous minor changes. Richard Mudgett 2009-06-12 14:29:42 +00:00
  • 3a1739883b There are two changes in this commit that are bug fixes for various Q.921 issues found in internal testing. Matthew Fredrickson 2009-06-09 19:47:05 +00:00
  • 47830a68aa Made ASN.1 memory dump also display printable characters. Richard Mudgett 2009-06-03 22:51:42 +00:00
  • 2176bd7fa3 Renamed callstate2str() to q931_call_state_str(). Richard Mudgett 2009-06-03 21:35:14 +00:00
  • 3c12135659 Made transmit_facility() debug message indiate to which message the facility ie is being added. Richard Mudgett 2009-06-03 21:25:59 +00:00
  • c69e4780ef Renamed local struct pri *pri variables to struct pri *ctrl in q931.c. Richard Mudgett 2009-05-29 15:39:48 +00:00
  • e7b64b16da Removed usage of FUNC_DUMP(), FUNC_RECV(), and FUNC_SEND() defines. Richard Mudgett 2009-05-20 15:03:34 +00:00
  • 39f7f72d8f Add 'const' qualifier to character string argument to keypad facility API calls Kevin P. Fleming 2009-05-13 15:17:08 +00:00
  • 5484712af0 Minor code clean up. Richard Mudgett 2009-05-07 16:21:24 +00:00
  • a5b9b792ea Avoid a stale pointer crash if the TE BRI TEI is removed when active calls exist. Richard Mudgett 2009-05-07 16:06:19 +00:00
  • c430cba165 Added Q.931 call state description comments. Richard Mudgett 2009-05-05 22:25:03 +00:00
  • ac40946c11 Comment changes. Richard Mudgett 2009-05-01 22:47:41 +00:00
  • b19c0b0a04 Added Q.SIG Advice-Of-Charge encode/decode routines. Richard Mudgett 2009-04-21 23:32:13 +00:00