Matthew Fredrickson
9037525b7b
Improve call state handling code. ( #7269 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@365 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-07-21 15:43:31 +00:00
Russell Bryant
cd91dba660
ensure buffer gets initialized (issue #7512 , klaus3000)
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@359 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-07-12 19:04:12 +00:00
Matthew Fredrickson
a24748c0f8
Fix for #7378 , namespace collision issue.
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@357 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-07-07 15:35:48 +00:00
Matthew Fredrickson
8c69834e21
Updates to add T309 to libpri. Thanks flefoll!
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@356 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-07-06 21:11:37 +00:00
Kevin P. Fleming
fe9fff6dcb
revert change that didn't actually change anything, and fix formatting of conditional expression so it's more clear what it does
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@352 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-06-08 22:34:25 +00:00
Matthew Fredrickson
2ce7890fdd
Make sure we don't send display if callername is set to a 0 length string.
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@351 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-06-08 22:16:55 +00:00
Matthew Fredrickson
7db8af4b80
Minor state fix ( #7269 )
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@348 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-06-02 16:06:27 +00:00
Matthew Fredrickson
a33fd59dc6
Fix for 7115. Don't call pri_message multiple times
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@346 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-06-02 14:34:20 +00:00
Matthew Fredrickson
a3ee176154
Fixes so that fields are initialized in events from #7241 . Thanks flefoll!
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@343 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-06-01 18:00:31 +00:00
Matthew Fredrickson
ed9c90a985
Make sure we pass the call back in setup_ack
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@328 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-04-27 16:09:11 +00:00
Matthew Fredrickson
f57f033aac
Fix for 6841, so that we offer caller name on NI1 within the display IE
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@324 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-04-04 15:38:25 +00:00
Matthew Fredrickson
533412e361
Fix the transmit_display function to not send DISPLAY from CPE->Network on EuroISDN
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@321 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-03-31 22:37:46 +00:00
Matthew Fredrickson
e2091c29ef
Cause code clarifications (Q.SIG versus non Q.SIG)
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@317 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-02-17 21:19:37 +00:00
Matthew Fredrickson
b92b08dad7
Fix for 6480 (crash when accepting calling_part_subaddress with nothing in it)
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@315 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-02-17 18:54:20 +00:00
Matthew Fredrickson
3c061000b5
Make sure we reset the field if we get one in a disconnect
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@310 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-02-14 19:30:32 +00:00
Matthew Fredrickson
0a326a9744
More little updates for RLT on DMS100. Fix ASN.1 dump code for multibyte facility IE headers
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@303 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-01-19 22:24:41 +00:00
Matthew Fredrickson
30188c642d
More changes for RLT
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@302 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-01-19 22:18:01 +00:00
Matthew Fredrickson
3f78370c92
More fixes for RLT
...
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@301 2fbb986a-6c06-0410-b554-c9c1f0a7f128
2006-01-19 21:56:10 +00:00
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