Commit Graph

153 Commits

Author SHA1 Message Date
Mark Spencer
66781c3141 Separate PROGRESS and PROCEEDING
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@112 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-14 21:25:41 +00:00
Mark Spencer
832475b271 Debug improvements (including bug #1784)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@111 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-14 03:29:19 +00:00
Mark Spencer
6ccb8df101 Add notify support courtesy PCadach
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@110 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-14 02:48:24 +00:00
Mark Spencer
fd0f41e4a5 Include DS1 number
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@109 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-10 19:28:14 +00:00
James Golovich
0933575a5d Make q931.c:dump_display build the string first then print it in one command. Fixes remote console ugliness
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@108 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-10 06:51:01 +00:00
Mark Spencer
818a8cb57a Apprently AT&T uses 0x43 for maintenance messages too
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@107 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-10 03:57:43 +00:00
Mark Spencer
de0e6ba4cc Formatting fixes
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@106 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-07 17:00:29 +00:00
Mark Spencer
30d983f45f More GR-303 fixes, detect drop of D-channel
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@105 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-07 15:55:39 +00:00
Mark Spencer
d0c78dd62d Add the ability to slave one PRI to another with respect to calls
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@104 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-07 03:33:51 +00:00
Mark Spencer
551f0fafc8 Be careful not to destroy non-existant calls
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@103 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-06 23:26:43 +00:00
Mark Spencer
2300f57294 GR-303 updates
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@102 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-06 01:21:41 +00:00
Mark Spencer
f065327cc1 Major changes in preparation for GR-303 and NFAS support
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@101 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-05 06:50:55 +00:00
Mark Spencer
bce8bfb87f Fix minor typo (bug #1701)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@100 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-05-22 19:06:54 +00:00
Mark Spencer
4ae8cc7bcf Make build on FreeBSD
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@99 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-05-22 04:25:53 +00:00
Mark Spencer
76955b74c3 Properly handle non-transmission of channel identifier
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@98 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-05-20 00:21:16 +00:00
Mark Spencer
baefdcb18d Fix debugging of calling party number when no presentation specified (bug #1677)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@97 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-05-19 22:02:40 +00:00
Mark Spencer
7aac157b7f Only send channel identifier with call proceeding
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@96 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-05-19 21:01:36 +00:00
Mark Spencer
2c26d98a89 Add separate ability to do both progress and proceeding
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@95 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-05-19 15:34:43 +00:00
Mark Spencer
c413151375 Send progress indicator on progress if appropriate
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@94 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-05-19 15:26:16 +00:00
Mark Spencer
8098266c90 Allow progress to be sent with 1
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@93 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-05-19 15:21:15 +00:00
Mark Spencer
c8528b633a Allow ability to send just call proceeding
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@92 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-05-19 14:34:29 +00:00
Mark Spencer
c591726079 We have to update n_r when transmitting backlogged packets
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@91 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-05-17 03:32:11 +00:00
James Golovich
9f724a22f3 Extremely minor q931.c code cleanup
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@90 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-04-21 21:21:29 +00:00
Mark Spencer
c39fdd5cad On EuroISDN don't send layer1/2 since some switches seem to be concerned. (bug #960)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@89 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-04-16 18:05:41 +00:00
Mark Spencer
f2eb8afb7f Revert jcdutton's changes which are not subject to be disclaimed
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@87 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-04-11 01:55:54 +00:00
Mark Spencer
8da0a1e5a7 Debug improvements (bug #1329)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@86 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-04-11 01:27:11 +00:00
Mark Spencer
4743ebd26f Generate release complete message back to Asterisk when T308 expires twice.
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@85 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-04-06 14:50:19 +00:00
James Golovich
949afd2385 Format q921 log string before printing. Fixes those annoying half patch
packet decodes when logging data with something like script or tee


git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@84 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-04-05 08:22:14 +00:00
James Golovich
480160c5cf Add .cvsignore to libpri
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@83 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-04-04 21:44:38 +00:00
James Golovich
2f5952fa86 Make pri_switch2str know about EuroISDN (bug 1348)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@82 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-04-04 21:41:43 +00:00
James Golovich
be3a8c206b Add mkdep and 'make depend' to libpri Makefile
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@81 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-03-30 20:18:12 +00:00
James Golovich
ee394a7916 Make pri_dump_info print newly added pri->windowlen
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@80 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-03-29 09:18:38 +00:00
Mark Spencer
91b4a60c1f Add test program for windowing, implement proper windowing
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@79 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-03-29 08:09:01 +00:00
James Golovich
d00abddee3 Add pri_dump_info and q921/q931 counters to libpri
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@78 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-03-15 05:53:25 +00:00
Mark Spencer
09645488d6 Don't send release complete on the global call identifier
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@77 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-02-25 20:02:04 +00:00
Mark Spencer
24fba7f9b7 If userl1 is -1, don't include it
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@76 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-02-08 00:20:18 +00:00
Mark Spencer
c3544cb866 Add uninstall target
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@75 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-02-02 05:55:03 +00:00
Martin Pycko
ccafdd739b Add displaying User to User messages (the 2nd part of Bug #289)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@74 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-01-28 21:02:23 +00:00
Mark Spencer
acf0e055ab Makefile fixes (bug #923)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@73 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-01-27 00:39:59 +00:00
Mark Spencer
e1394704ad Fix SERVICE_ACKNOWLEDGE even with different address sizes
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@71 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-01-17 15:14:11 +00:00
Martin Pycko
0961ecb4b0 Don't expect CONNECT_ACK after we send CONNECT if we're the network and they're the user.
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@70 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-12-09 15:55:48 +00:00
Martin Pycko
a36186ce49 Don't reject SETUP without missing channel information IE if we're network.
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@69 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-12-05 23:10:33 +00:00
Mark Spencer
5f6e12c3e5 Populate ctype field
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@68 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-11-24 14:36:46 +00:00
Mark Spencer
d80324dbdd Ignore invalid/non Q.931 protocol discriminator
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@67 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-11-19 20:11:11 +00:00
Mark Spencer
e172ca2a03 Accept "PROGRESS" after "ALERTING"
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@66 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-10-15 13:56:10 +00:00
Mark Spencer
e4f9ea7583 Accept "PROGRESS" after "ALERTING"
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@65 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-10-15 13:56:09 +00:00
Martin Pycko
b5fa5986b2 Forgot to put break in the last patch
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@64 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-10-13 22:36:07 +00:00
Martin Pycko
f63cc76a94 Allow the reception of 1 byte Call Reference value
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@63 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-10-13 22:34:05 +00:00
Mark Spencer
cb01262a54 Progress OK when "CALL PROCEEDING"
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@62 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-10-10 07:04:19 +00:00
Mark Spencer
79e10c30a1 Fix for new GCC's
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@61 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-10-06 05:15:16 +00:00