Commit Graph

507 Commits

Author SHA1 Message Date
Kevin P. Fleming
3269a4b034 cleanups and fixes for Solaris (issue #4999)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@245 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-08-29 19:12:31 +00:00
Matthew Fredrickson
21d693f0b4 Fix pridump so that it works again (bug 4803) Thanks PCadach
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@243 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-07-27 13:14:05 +00:00
Kevin P. Fleming
598e8092f1 make copy_string able to build on older compilers (bug #4714)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@242 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-07-15 16:29:20 +00:00
Matthew Fredrickson
bbd1d88f70 Fix for gcc-4.0
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@241 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-07-13 14:09:16 +00:00
Matthew Fredrickson
badbe8cf1f Fix for non constructed number component
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@240 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-07-12 20:15:20 +00:00
Kevin P. Fleming
25cb0b7457 forward more ANI information to users of libpri (bug #4571)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@239 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-07-12 02:33:25 +00:00
Matthew Fredrickson
ac9bba5121 Don't allow notification codes outside of the Q.931 spec for switches other
than EuroISDN.  Also take out some old facility IE code.


git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@238 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-07-11 17:48:30 +00:00
Matthew Fredrickson
00d12810bb more cause stuff
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@235 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-06-29 21:28:23 +00:00
Matthew Fredrickson
d8ac58da6d Allow cause IEs to be passed through libpri in PROGRESS messages
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@234 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-06-29 17:27:03 +00:00
Kevin P. Fleming
3fe76c6aea correct improperly applied patch from bug 4405 (bug #4573)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@231 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-06-22 19:27:43 +00:00
Kevin P. Fleming
f622f51004 use libpri_copy_string() (same as ast_copy_string()) instead of strncpy
update file headers for proper copyrights and licenses
various other minor optimizations


git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@230 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-06-21 22:47:39 +00:00
Kevin P. Fleming
6694b84e88 record network-provided-number as ANI when supplied (bug #4537)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@229 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-06-21 20:37:22 +00:00
Matthew Fredrickson
849ec03cb0 more ASN.1 parsing fixes
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@228 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-06-03 18:29:25 +00:00
Matthew Fredrickson
9bcef26cd6 More ASN.1 size fixes
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@227 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-06-02 22:40:35 +00:00
Matthew Fredrickson
c9710c8b33 More fixes for indefinite length in the ASN.1 parsing routines
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@226 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-06-02 20:58:32 +00:00
Matthew Fredrickson
3c1f055287 Have a couple of operations wrong for Q.SIG from the merge
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@225 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-06-02 15:55:49 +00:00
Russell Bryant
b81d7389a9 add missing argument (bug #4405)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@223 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-05-29 15:08:23 +00:00
Matthew Fredrickson
6e98b36cfb Explicit/Implicit ds1 selection changes for NFAS
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@222 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-05-24 15:03:33 +00:00
Matthew Fredrickson
6341ab3c6e Bug fixes in output debug code
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@221 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-05-23 18:15:06 +00:00
Matthew Fredrickson
2a263061f2 New pri_set_message api
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@220 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-05-23 16:51:30 +00:00
Matthew Fredrickson
64088fe864 PRI debug additions -- testing...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@219 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-05-23 15:06:33 +00:00
Matthew Fredrickson
1e4b4fbdbb Explicit versus implicit DS1 selection options
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@218 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-05-19 14:06:43 +00:00
Matthew Fredrickson
8205ce358a Add support to enable/disable facility IE Supplementary Services
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@217 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-05-12 14:48:00 +00:00
Matthew Fredrickson
3803535593 pri show debug feature (bug 4210)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@215 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-05-10 21:02:41 +00:00
Kevin P. Fleming
099ee35431 suppress harmless warning (bug #4061)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@214 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-04-22 02:37:37 +00:00
Matthew Fredrickson
3e8f5869ae More little callername tweaks
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@213 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-04-21 21:58:21 +00:00
Matthew Fredrickson
4ecc27efab Round two with CPE callername sending
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@212 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-04-21 19:58:14 +00:00
Kevin P. Fleming
0a3a816622 ensure that Q.921/Q.931 structures are always aligned on 8-bit boundaries, even on platforms with non-default structure alignment (bug #4052)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@211 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-04-20 15:23:35 +00:00
Matthew Fredrickson
c03b48392a Q.SIG timer rearrangement
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@210 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-04-08 23:04:37 +00:00
Matthew Fredrickson
e4fbf8c388 BIG libpri-matt merge. Adding new event information and fixing the
parsing routing for DivertingLegInformation2 so that it can work with
indefinite length-encoded ASN.1 parameters


git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@209 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-04-06 19:42:41 +00:00
Mark Spencer
7f866680ad Add ability to detect old libpri
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@208 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-04-06 19:14:39 +00:00
Matthew Fredrickson
fa826f1151 Add missing PRI/Q.931 progress mask
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@207 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-04-05 21:54:15 +00:00
Matthew Fredrickson
240cd3ece0 Merging Advice of Charge code into libpri (bug #3843)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@206 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-04-05 03:55:58 +00:00
Kevin P. Fleming
241f97782c silence signed/unsigned warnings with upcoming gcc-4 (bug #3915)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@204 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-04-03 23:07:55 +00:00
Matthew Fredrickson
02abf57233 Fix callernumber IE to be read only once
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@203 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-03-31 20:56:52 +00:00
Mark Spencer
23a638cf66 Allow PRI to support callback functions (Diana's patch, placed in public domain)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@202 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-03-17 15:46:23 +00:00
Matthew Fredrickson
d7b60b28e0 Just send callername APDUs if we're network side
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@201 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-03-16 15:10:41 +00:00
Matthew Fredrickson
84adda970c Fixed some free() bugs in the APDU code.
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@200 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-03-10 20:37:16 +00:00
Matthew Fredrickson
545e628f65 Make sure WE release the connection if we're the one that started the signalling only connection
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@197 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-03-04 15:56:37 +00:00
Matthew Fredrickson
9d279a6d6e Adding debug level for APDUs
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@196 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-03-02 16:03:22 +00:00
Matthew Fredrickson
86cf50b9c3 Big PRI commit. Merges bugs 3623 and 3554 back. Includes additional
event for Q931_IE_KEYPAD_FACILITY and all of the various Q.SIG functions,
2BCT on 5ESS, and a few other random changes


git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@195 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-03-02 15:56:11 +00:00
Mark Spencer
c164cccc87 Reflect 7k audio name change (bug #3547)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@194 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-02-28 06:34:24 +00:00
Mark Spencer
bbaa1ed2e7 Make exception for OpenH323 here, not just in Asterisk.
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@190 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-02-19 22:04:11 +00:00
Mark Spencer
e7b075b6f6 Add missing line from bug #3448
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@188 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-02-05 16:54:52 +00:00
Matthew Fredrickson
6f32fe5793 Support for DivertingLegInformation2 ROSE ADPU. Thanks PCadach!
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@187 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-02-03 22:14:44 +00:00
Mark Spencer
75a5597f39 Fix mkdep for dynamic library version (bug #3497)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@186 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-02-03 05:09:05 +00:00
Mark Spencer
0e0d251e15 Present message code properly (bug #3447)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@185 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-01-28 22:11:24 +00:00
Mark Spencer
dc74d755a8 Check for data presense (bug #3435 again)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@184 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-01-27 20:47:10 +00:00
Mark Spencer
14796a30af Produce more verbose PRI output (bug #3435)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@183 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-01-27 06:05:09 +00:00
Mark Spencer
f89bbdd6a3 Fix generic digit byte order (bug #2788)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@182 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-01-27 05:39:17 +00:00