7babaeb2feFix potential crash when pridump.c calls q921_dump() with NULL pri ptr.
Richard Mudgett
2010-04-19 22:08:50 +00:00
5ff4710e77Make some internal routines available to other libpri components.
Richard Mudgett
2010-04-15 18:43:37 +00:00
9a7686d792Only one PROCEEDING message per call please.
Richard Mudgett
2010-04-09 21:43:42 +00:00
ba4d759752Move a comment closer to where it has relevance.
Richard Mudgett
2010-03-18 15:50:19 +00:00
d5d69dddacMiscellaneous simple reorganization.
Richard Mudgett
2010-03-17 17:47:53 +00:00
68a107a3e3Restore ability to change the Q.921 K value.
Richard Mudgett
2010-03-02 23:47:12 +00:00
307264f7c6Must send DISCONNECT if we have sent a response to a SETUP message.
Richard Mudgett
2010-02-11 21:47:24 +00:00
2ec071bae6Minor comment changes.
Richard Mudgett
2010-02-11 21:40:35 +00:00
d4354b4873Added CPUARCH option for selecting a 32-bit build from the command line.
Wendell Thompson
2010-02-11 17:35:49 +00:00
9d9412e681Revert useless check of pri->t200_timer value, since scheduler routines check the value anyways.
Matthew Fredrickson
2010-02-08 23:29:51 +00:00
a09da00b0aMake 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
748c69e160pri_restart() is no longer needed since the Q.921 rewrite.
Richard Mudgett
2010-02-05 23:34:54 +00:00
6443238ed0Sense 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
f80fa82b33Only set eres if there actually is an event to pass up.
Richard Mudgett
2010-01-29 19:32:58 +00:00
3995397fa3Fix 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
cec71a81e5Don't be so noisy when D channel is down.
Richard Mudgett
2010-01-26 21:04:48 +00:00
7dd6494c61Fix TE PTMP side sending FACILITY messages on the dummy call reference.
Richard Mudgett
2010-01-19 21:53:31 +00:00
79fbecc5aeMake some debugging messages conditional and some minor reformating changes.
Richard Mudgett
2010-01-15 18:28:54 +00:00
4d3bb14731Merge of Q.921 rewrite branch for wider testing.
Matthew Fredrickson
2010-01-13 19:37:59 +00:00
14f04072c8Extracted q931_fill_ring_event() from post_handle_q931_message().
Richard Mudgett
2009-12-09 20:59:16 +00:00
46df6d2cd4Fix debug output so built up output lines are readable again.
Richard Mudgett
2009-11-21 02:40:23 +00:00
b9397c7541Delay processing of facility ie's after all other ie's are processed.
Richard Mudgett
2009-11-20 23:42:40 +00:00
b698032e04Reimplement callback mechanism to handle APDU response messages that we care about.
Richard Mudgett
2009-11-14 00:20:53 +00:00
62d35faf6bWe now have 32 timers. No need to reserve minimum space anymore.
Richard Mudgett
2009-11-13 23:46:57 +00:00
d305dbc609There must be only one source for the invoke id values per D channel group.
Richard Mudgett
2009-11-13 22:59:35 +00:00
80c8c46b89Make 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
6a121d4c74The facility ie queue needs to remove facilities that have been sent.
Richard Mudgett
2009-11-10 21:51:26 +00:00
44ad020fe8Re-add back in support for TE initiated layer 2 activation
Matthew Fredrickson
2009-11-10 20:25:02 +00:00
e23ea9568cAdd dummy call reference support.
Richard Mudgett
2009-11-10 19:27:34 +00:00
c7c670aa85Remove unused callingsubaddr[].
Richard Mudgett
2009-11-09 20:53:10 +00:00
618acf9d53Unknown IE 50 (cs5, Unknown Information Element)
Richard Mudgett
2009-11-03 17:19:20 +00:00
9f39144986NT PTMP did not report busy when calling a busy phone.
Richard Mudgett
2009-11-02 23:28:59 +00:00
16f2f02ce8Add subaddress handling to existing messages and functions.
Richard Mudgett
2009-10-23 23:47:58 +00:00
a2dcb6adbaAdd BRI PTMP NT mode, HOLD/RETRIEVE, Call rerouting/deflection, and keypad facility support.
Richard Mudgett
2009-10-23 19:50:45 +00:00
a78ee730c9Add support for calling and called subaddress. Partial support for COLP subaddress.
Richard Mudgett
2009-10-22 16:16:50 +00:00
6cb01561ebFix call state ie transmission.
Richard Mudgett
2009-10-19 22:49:59 +00:00
5537dbec1dFix comparision of invalid party name and number structs in comparison functions.
Richard Mudgett
2009-10-19 22:38:32 +00:00
0c210c19faTake diverted-to-number from DivLegInfo1 and use it as connected number.
Richard Mudgett
2009-10-15 22:34:52 +00:00
92c277dae5In q931_getcall(): Simplify test and add related switch types.
Richard Mudgett
2009-10-14 19:03:49 +00:00
28e7e1cdfeReduce future conflicts when adding ie's to the SETUP message.
Richard Mudgett
2009-10-13 19:06:26 +00:00
296c64df23Miscellaneous changes:
Richard Mudgett
2009-10-12 17:17:48 +00:00
ab1580de67Conditional out noisy and redundant ASN.1 parse dump of facility ie contents.
Richard Mudgett
2009-10-09 23:20:37 +00:00
18ea19900cFix call reference to be associated with the D channel message was received
Jeff Peeler
2009-09-22 17:12:23 +00:00
4d19486781Update pri_event2str() to current defined events.
Richard Mudgett
2009-09-22 02:23:48 +00:00
599128a65aAnother place where timeout events with subcmds should clear any old subcmds.
Richard Mudgett
2009-09-18 00:31:21 +00:00
c8de5d057bTimeout events with subcmds should clear any old subcmds.
Richard Mudgett
2009-09-15 22:24:12 +00:00
25b2496b0fOutput 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
d9af5b25ceAdd SERVICE message support for the 'national' switchtype
Dwayne M. Hubbard
2009-09-13 22:54:10 +00:00
c3074dafc1Converted Q931_CALL_STATE_xxx defines to an enum.
Richard Mudgett
2009-09-02 20:19:40 +00:00
6d9c1cb0d9Optimized calls to pri_schedule_del().
Richard Mudgett
2009-09-02 20:04:03 +00:00
6d5aeb7cddCleaned up scheduled events handling code.
Richard Mudgett
2009-09-02 19:49:58 +00:00
27a5c7afb6Fix potential buffer overflow in pri_dump_info_str().
Richard Mudgett
2009-06-26 19:50:19 +00:00
01e637393eEliminate local version of PRI_MAX_TIMERS.
Richard Mudgett
2009-06-26 19:43:13 +00:00
4f0b3f3109Doxygenify the timer comments.
Richard Mudgett
2009-06-26 19:41:56 +00:00
24cc37a839Added printf format attribute to pri_message() and pri_error() and fixed some detected errors.
Richard Mudgett
2009-06-26 18:37:15 +00:00
562e1fb7caAdd support for sending Reverse Charging Indication IE on ISDN PRI.
Sean Bright
2009-06-25 18:53:38 +00:00
c5cdc66b72Convert PRI_TIMER_xxx to an enum so PRI_MAX_TIMERS can be automatically adjusted.
Richard Mudgett
2009-06-25 17:35:23 +00:00
2eaca806b9Make it easier to add more timers/counters and vary the defaults based upon switchtype.
Richard Mudgett
2009-06-24 21:45:04 +00:00
7092459702Capture and expose the Reverse Charging Indication IE on ISDN PRI.
Sean Bright
2009-06-24 18:19:24 +00:00
64fd25fcacRevert unintentional changes
Sean Bright
2009-06-23 23:15:56 +00:00
16304b6a65Set reviewboard property.
Sean Bright
2009-06-23 23:15:04 +00:00
ea4d305ffbMiscellaneous minor changes.
Richard Mudgett
2009-06-12 14:29:42 +00:00
3a1739883bThere 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
47830a68aaMade ASN.1 memory dump also display printable characters.
Richard Mudgett
2009-06-03 22:51:42 +00:00
2176bd7fa3Renamed callstate2str() to q931_call_state_str().
Richard Mudgett
2009-06-03 21:35:14 +00:00
3c12135659Made transmit_facility() debug message indiate to which message the facility ie is being added.
Richard Mudgett
2009-06-03 21:25:59 +00:00
c69e4780efRenamed local struct pri *pri variables to struct pri *ctrl in q931.c.
Richard Mudgett
2009-05-29 15:39:48 +00:00
e7b64b16daRemoved usage of FUNC_DUMP(), FUNC_RECV(), and FUNC_SEND() defines.
Richard Mudgett
2009-05-20 15:03:34 +00:00
39f7f72d8fAdd 'const' qualifier to character string argument to keypad facility API calls
Kevin P. Fleming
2009-05-13 15:17:08 +00:00
5484712af0Minor code clean up.
Richard Mudgett
2009-05-07 16:21:24 +00:00
a5b9b792eaAvoid 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
c430cba165Added Q.931 call state description comments.
Richard Mudgett
2009-05-05 22:25:03 +00:00
ac40946c11Comment changes.
Richard Mudgett
2009-05-01 22:47:41 +00:00
b19c0b0a04Added Q.SIG Advice-Of-Charge encode/decode routines.
Richard Mudgett
2009-04-21 23:32:13 +00:00