Commit Graph

267 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Mark Spencer
06d9c2aeb3 Bring into full TBR4 compliance
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@60 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-09-25 06:13:14 +00:00
Martin Pycko
4e6c9e0410 Fix q931_hangup for (call received, call delivered)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@58 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-09-09 23:49:10 +00:00
Martin Pycko
88656d9497 Don't reset peercallstate when we receive the STATUS message
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@57 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-09-09 23:40:16 +00:00
Martin Pycko
fe0eba8175 Fix the displaying of the information about the ANI/callerid
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@56 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-08-13 03:08:22 +00:00
Martin Pycko
24b85a379b Add pri_destroycall
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@55 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-08-12 20:16:55 +00:00
Martin Pycko
ec99ad86dd Regarding the new pri hangup: rewrite a little bit and introduce the PRI_EVENT_HANGUP_REQ
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@54 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-08-07 00:45:04 +00:00
Martin Pycko
ee9ef9ef3c One last thing fixed so that libpri would compile on 'other' systems
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@53 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-08-06 16:53:40 +00:00
Martin Pycko
f6966bc35b Fix the compilation errors on some systems due to -Werror flag
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@52 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-08-06 15:20:49 +00:00
Martin Pycko
45efb97ebd Update q931_hangup routine
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@51 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-08-05 20:37:32 +00:00
Martin Pycko
110062aef6 Allow to send the CAUSE IE along with RELEASE_COMPLETE message
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@50 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-08-05 19:26:07 +00:00
Martin Pycko
de24dd76a6 Send RELEASE COMPLETE if the cause is UNALLOCATED NUMBER (1) instead of sending DISCONNECT (although that should be ok too)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@49 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-08-05 18:42:55 +00:00
Martin Pycko
2809056303 Fix and improve (based on callstates) the hangup routines
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@46 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-08-05 01:00:45 +00:00
Mark Spencer
f8d3569b56 Handle sendingcomplete properly
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@45 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-07-26 15:14:44 +00:00
Martin Pycko
5f1aba027a Add posibility of choosing a diffrent form of ALERTING messages that has to be changed to work e.g. with Mitel switches.
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@44 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-07-07 23:37:18 +00:00
Mark Spencer
a85d2c508b Handle sending complete
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@43 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-07-01 20:25:34 +00:00
Martin Pycko
34f700b584 Change the way we store the callednum from INFORMATION messages
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@42 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-06-05 21:15:56 +00:00
Mark Spencer
5137d733f9 Add National ISDN 1 switchtype
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@41 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-05-28 22:34:59 +00:00
Martin Pycko
5478d68b2a Pass the info about SETUP_ACKNOWLEDGE outside libpri
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@40 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-05-15 22:15:38 +00:00
Martin Pycko
6e8e051464 Don't send IE field 'Sending Complete' when we want to do overlap dialing (sending)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@39 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-05-15 19:35:05 +00:00
Mark Spencer
80355d96c5 Don't automatically send release
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@38 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-05-12 16:59:12 +00:00
Martin Pycko
e4d3ca388b Add PRI_EVENT_PROCEEDING when we get CALL_PROCEEDING or PROGRESS
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@37 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-04-18 15:56:38 +00:00
Martin Pycko
426336f4e6 Don't use a function call in pri_information
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@35 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-03-25 17:02:23 +00:00
Martin Pycko
af1366fcde Add sending INFORMATION messages
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@34 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-03-24 21:52:51 +00:00
Matteo Brancaleoni
96695361e4 Wed Mar 19 07:00:01 CET 2003
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@33 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-03-19 06:00:31 +00:00
Matteo Brancaleoni
cc7adcd328 Wed Mar 5 07:00:00 CET 2003
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@32 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-03-05 06:00:35 +00:00
Matteo Brancaleoni
2a1c974412 Tue Mar 4 07:00:01 CET 2003
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@31 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-03-04 06:00:37 +00:00
Matteo Brancaleoni
c0ce1c85ed mer feb 12 14:56:57 CET 2003
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@29 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2003-02-12 13:59:23 +00:00
Mark Spencer
64f6535c65 Version 0.3.1 from FTP
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@27 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2002-04-25 03:51:36 +00:00
Mark Spencer
a6bebcaafc Version 0.3.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@22 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2002-03-18 14:04:47 +00:00
Mark Spencer
9ed9f37ada Version 0.2.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@15 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2001-12-07 19:45:45 +00:00
Mark Spencer
46baaa36df Version 0.1.1 from FTP
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@9 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2001-07-17 12:12:42 +00:00
Mark Spencer
30f86c22db Version 0.1.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@3 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2001-05-12 16:41:32 +00:00