Matthew Fredrickson
0e2e37b537
Numerous updates for RLT (just remember, trunk can be a bumpy ride)
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@297 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-01-19 18:22:06 +00:00
Kevin P. Fleming
d97a630a81
Merged revisions 291 via svnmerge from
...
https://origsvn.digium.com/svn/libpri/branches/1.2
........
r291 | kpfleming | 2006-01-17 07:43:18 -0600 (Tue, 17 Jan 2006) | 2 lines
ensure that user-user info field in call is properly reset when not needed
........
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@292 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-01-17 13:44:12 +00:00
Matthew Fredrickson
8fa183a4bc
Lots of changes for APDU handling and debugging. Thanks PCadach (bug #5265 )!
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@286 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-01-05 20:50:51 +00:00
Matthew Fredrickson
9e03b9b8c7
Add tzanger's patch which (among other things) prints whitespace in IE dumps
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@285 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-01-05 19:33:32 +00:00
Matthew Fredrickson
274f535654
Make sure that the called number field is reset in case we only get sending complete in an INFORMATION message
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@283 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-12-27 13:59:37 +00:00
Russell Bryant
bb1f882f8a
fix compiler warning that actually causes the build to fail since we treat
...
warnings as errors in libpri
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@276 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-12-02 03:59:41 +00:00
Matthew Fredrickson
8d6d58ab09
Add in keypad facility transmission support
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@271 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-12-01 17:59:56 +00:00
Matthew Fredrickson
d6cab1d527
Allow receival of single digit keypad facility IEs. Was broken before.
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@269 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-11-30 22:42:40 +00:00
Kevin P. Fleming
cf8c723f8b
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@266 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-11-29 18:39:18 +00:00
Matthew Fredrickson
014fd45a37
Fix typo in commit
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@255 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-10-25 16:59:59 +00:00
Matthew Fredrickson
e0de929e20
Updates so that one can do user to user IE transmission
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@253 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-10-21 20:20:22 +00:00
Anthony Minessale II
9842934154
fixing compile errors! check the patch but if it's wrong it's better than not compiling at all
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@250 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-09-16 17:15:57 +00:00
Matthew Fredrickson
f64108e394
Don't specify DS1 on Q.SIG
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@249 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-09-16 17:02:44 +00:00
Matthew Fredrickson
83c78f9e85
Q.SIG fix. Don't send DISPLAY IE for callername
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@248 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-09-15 15:46:09 +00:00
Kevin P. Fleming
4bbe741b99
send calling plan info for RDNIS and originally called number in new call events
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@246 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-09-02 18:37:03 +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
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
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
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
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
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
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
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
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
Matthew Fredrickson
1cfe36a944
Don't send callername as CPE
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@181 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-01-25 00:36:34 +00:00
Mark Spencer
3cfff2fe15
Fix switch compatibility issue with STATUS and S-12 switch (bug #3415 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@180 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-01-24 20:57:04 +00:00
Mark Spencer
c05e4b45c0
Merge pcadach's new progress code (bug #2822 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@179 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2005-01-17 12:58:05 +00:00
Matthew Fredrickson
073bd4fa70
Support callername being sent over NI2 type switches
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@175 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-12-27 16:25:29 +00:00
Matthew Fredrickson
b210417743
For switches (NI2) that implement GR-1367 callername can't be greater than 15
...
characters.
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@174 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-12-27 16:22:30 +00:00
Mark Spencer
eb07e6e76c
Support original number (bug #3134 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@171 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-12-23 01:55:51 +00:00
Matthew Fredrickson
610abad23b
Mods so that PRI_NETWORK side on NI2 switches sends Callername
...
over facility IE
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@170 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-12-22 18:46:23 +00:00
Mark Spencer
a6977c6ddb
Complete port to solaris (bug #3062 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@168 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-12-15 20:15:28 +00:00
Matthew Fredrickson
0f6b3ad8ac
Adding redirecting reason support if exists to public interface
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@167 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-12-15 19:48:15 +00:00
Mark Spencer
77bc439e4a
Add support for codeset 6 DISPLAY
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@165 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-12-15 15:48:20 +00:00
Mark Spencer
56dc30315b
Fix ANI2 support (bug #2788 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@160 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-11-07 18:58:05 +00:00
Mark Spencer
8ae7489b5a
Fix ANI II digits (bug #2788 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@159 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-11-05 20:27:56 +00:00
Mark Spencer
2728db0c83
Merge Paul's generic digits support (bug #2788 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@158 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-11-05 02:12:02 +00:00
Mark Spencer
52f8d6bbd9
Minor debugging improvements (bug #2758 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@157 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-10-30 20:22:04 +00:00
Mark Spencer
b6d1f4016f
Add progress support reporting to PRI (bug #2759 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@156 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-10-30 20:19:18 +00:00
Mark Spencer
5b2bc04f41
Add ability to send redirecting number (bug #2760 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@155 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-10-30 20:13:20 +00:00
Mark Spencer
660a6a7754
Don't be picky about PROGRESS having PROGRESS INDICATOR.
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@154 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-10-29 15:41:59 +00:00
Matthew Fredrickson
69e8d42ac2
Change to which switchtypes to send facility IEs to
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@152 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-10-28 16:18:14 +00:00
Matthew Fredrickson
cea480c941
Rudimentery support for transmitting and receiving calling name
...
via facility information elements
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@150 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-10-27 20:43:23 +00:00
Mark Spencer
8ac2db33d4
Add missing case in pres2str (bug #2567 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@139 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-10-04 14:41:02 +00:00
James Golovich
ba5a5ca907
Allow PRI timers to be congfigurable. (bug 2518)
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@138 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-10-02 14:55:20 +00:00
Mark Spencer
2b7b7e2e68
Make sure retranstimer is set to 0
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@135 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-09-20 13:29:37 +00:00
Mark Spencer
9682be31fb
Merge BKW's ANI2 patch (bug #2450 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@134 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-09-17 04:02:16 +00:00
Mark Spencer
ea146a8f6f
Check for existance of *caller* number when sending caller, not called number (bug #2453 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@133 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-09-16 20:38:13 +00:00
Mark Spencer
96535a0c17
Fix redirecting number (bug #2146 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@131 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-08-25 06:20:50 +00:00
Mark Spencer
cac414333f
Matt's requested fix
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@130 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-07-23 16:20:06 +00:00
Mark Spencer
5166adfb1e
Never send channel identifier with SETUP when GR303 CPE
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@125 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-29 04:28:34 +00:00
Mark Spencer
f8b7c404a0
Don't expect connect acknowledge on CPE when GR-303 mode
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@124 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-27 20:29:53 +00:00
Mark Spencer
18958fa7e8
Add NSF support (bug #1927 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@122 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-26 04:37:09 +00:00
Mark Spencer
c9bb969586
Add subaddress support
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@121 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-25 19:33:12 +00:00
Mark Spencer
7cdd6c7f2c
Don't send Character set in EuroISDN
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@120 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-24 13:43:36 +00:00
Mark Spencer
3193d779ef
Don't change states on progress!
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@119 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-17 16:24:10 +00:00
Mark Spencer
97648bb1b4
Handle DISC and REL with missing mandatory information elements
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@118 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-16 22:19:11 +00:00
Mark Spencer
20e146406b
More codeset fixes (thanks to pcadach)
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@117 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-16 18:25:35 +00:00
Mark Spencer
1e5fad5fe7
Don't send proceeding when sending progress
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@116 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-16 18:04:22 +00:00
Mark Spencer
dd9ba5b8a5
Allow number complete to be forced on SETUP
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@115 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-16 17:16:37 +00:00
Mark Spencer
d4eab6216e
Create new, more extensible setup method (pri_setup)
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@114 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-16 15:33:58 +00:00
Mark Spencer
1cabafb5fb
Handle locking and non-locking shift (bug #1687 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@113 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2004-06-14 22:21:05 +00:00
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
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