Commit graph

100 commits

Author SHA1 Message Date
Jeremy McNamara
f4d1002166 Fix G.729 name annoucement to Open H.323 and inform Asterisk's RTP stack specifically which codec we are expecting.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-21 00:07:56 +00:00
Jeremy McNamara
8b679b004a Create string properly and cast peer correctly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-20 00:14:19 +00:00
Jeremy McNamara
d999f80dbe oopsie
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-18 07:10:46 +00:00
Jeremy McNamara
d2f64f963d Fix incoming caller*id. Bug #3077
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-18 04:09:39 +00:00
Jeremy McNamara
c49adea89c Properly deal with Q.931 cause codes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-16 04:25:49 +00:00
Jeremy McNamara
0155dee2fd Properly deal with Caller*ID, document the new RTP Payload setting, remove compiler option that may confuse g++ and force chan_h323.so to be relinked on every compile
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-16 02:03:19 +00:00
Jeremy McNamara
4082e265d6 Major fixes: Fixed deadlock issue, added support for inband call progress and correct Progress Indicator messages, added configurable RTP payload to send RFC2833 DTMF and correct sending of RFC2833 User Input capability, fixed hostname parsing on peers, preliminary support for correct Q.931 cause codes and fixed bindaddr compile warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-15 23:24:13 +00:00
Jeremy McNamara
eb035201f8 Another temp fix attempt, until I can do it correctly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-16 15:37:56 +00:00
Jeremy McNamara
0543c58018 A [possibly] better solution to the CalledPartyAddress problem. Test and report please
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-11 21:30:30 +00:00
Jeremy McNamara
b1b95fe6f1 Use passed dest value, for the moment. A better fix is being worked on
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-11 20:34:46 +00:00
Jeremy McNamara
a17779bba8 lets try it this way
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-11 20:10:45 +00:00
Jeremy McNamara
7db49b3107 Use the right charector, dummy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-11 20:04:00 +00:00
Jeremy McNamara
42cb459cce copy over username to create a proper called addr
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-11 19:51:55 +00:00
Jeremy McNamara
a15297d29f more code clean-up
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-28 06:06:58 +00:00
Mark Spencer
a82963fb1c Fix H.323 doc stuff (bug #2739)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-27 20:02:35 +00:00
Mark Spencer
8a13712e45 Pass concept of status back, permit "leaveempty" to work with static agents who are not loggedon (bug #2719)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-26 22:25:43 +00:00
Jeremy McNamara
9f0d70a9e6 re-implement callerid, still might not be right. Remove channel limits, in favor to app_groupcount. A lot more code cleanup. Please test and report as I am sure I broke something
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-22 19:04:02 +00:00
Jeremy McNamara
ddd6a40a44 stop seg on reload if no h323.conf file and hopefully not break the monitor thread
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-15 07:07:50 +00:00
Jeremy McNamara
839d68586b stop a seggy..it helps if you dont try to print out something we already know is NULL :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-14 23:59:22 +00:00
Jeremy McNamara
1dfc11aec9 use the right variable to ensure it copied correctly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-14 05:29:55 +00:00
Jeremy McNamara
9695141c09 sorta fix External IP Address discovery. We really need a better way than bindaddr, but this hack works, for now
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3998 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-14 05:21:12 +00:00
Jeremy McNamara
34afeec2e7 finish implementing type=peer, implement setting of FastStart and H.245 Tunneling per user/peer, update External RTP implemenation, fixed compile process/other buglets to operate with Open H.323 v1.14.4 and PWLib v1.7.5, and massive code clean up. All of the above is untested, please test and report
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-10 12:20:18 +00:00
Jeremy McNamara
9c65039c32 a major rework - type=peer, code cleanup, and optimization
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-04 10:13:01 +00:00
Mark Spencer
fce17976e9 Major PBX revamps (including labels, update examples)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-03 04:19:59 +00:00
Jeremy McNamara
c82026012e work on peers some more, still highly broken
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-01 04:50:34 +00:00
Jeremy McNamara
83f342776e massive changes, very broken, do not use (from airport)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-30 19:36:46 +00:00
Jeremy McNamara
ef889d6672 support early media/intercept Bug #562
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3815 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-21 18:42:37 +00:00
Jeremy McNamara
199ec4356a protect against seg on busy systems. Bug #2249
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-19 16:53:01 +00:00
Mark Spencer
7acee329e1 Merge BSD stack size work (bug #2067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-08 17:15:02 +00:00
Mark Spencer
57b6515d82 Fix potential overflow in H.323
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-30 20:01:58 +00:00
Jeremy McNamara
0afbb8bcbf clean up warnings, and re-add a return, how did that get removed?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-22 04:24:50 +00:00
Jeremy McNamara
a59c1d2ac4 first attempt to properly copy and then free call detail strings.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-20 21:04:16 +00:00
Jeremy McNamara
f10148d3e3 actually implement the setting of noFastStart and noH245Tunneling.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-17 19:38:30 +00:00
Mark Spencer
bba1faf910 Last set of strncpy/snprintf updates (bug #2049)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-16 04:40:54 +00:00
Jeremy McNamara
069d045513 fix seg fault condition
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-09 08:52:35 +00:00
Mark Spencer
2f911dfba6 Use INET_ADDRLEN (bug #1956) (from airport!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-30 16:56:51 +00:00
Mark Spencer
e7bd1ce7b9 Remove duplicate declaration (bug #1950)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-29 18:00:14 +00:00
Mark Spencer
f97df161f4 Create reentrant ast_inet_ntoa and replace all inet_ntoa's with ast_inet_ntoa's (but #1944)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-29 12:56:46 +00:00
Mark Spencer
3db853b428 Merge source cleanups (bug #1911)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-26 03:50:14 +00:00
James Golovich
8801247d76 Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 18:49:00 +00:00
Mark Spencer
5546e32355 Merge major BSD mutex and symbol conflict patches (bug #1816) (link patch still pending)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 17:42:14 +00:00
Jeremy McNamara
1f4eadaf6a check to make sure the extension exists b4 actually accepting the call and lets hope this gives Open H.323 enough time to sync up (bug #1714)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-15 20:56:06 +00:00
Mark Spencer
5b9cab6c13 Separate PROCEEDING and PROGRESS
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-14 21:18:52 +00:00
Jeremy McNamara
c359ec8f5c fix list initialization
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-12 03:44:51 +00:00
Mark Spencer
727abcdec7 Merge FreeBSD locking fixes (bug #1411)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-09 01:45:08 +00:00
Mark Spencer
cf57ba2310 Make RTP handle codecs (first pass)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-27 04:18:46 +00:00
Jeremy McNamara
89dbeddcfc backout code optimization, add more explict error reporting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-20 21:56:12 +00:00
Jeremy McNamara
eff9477388 properly send call progress and alerting PDUs, re-fix one-way audio on call manager, and hopefully add call progress (N+101) support (not tested)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-20 07:07:18 +00:00
Jeremy McNamara
a73524874c fix documenation bug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3005 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-18 16:06:30 +00:00
Jeremy McNamara
a54a0e5ecb clean up code and attempt to stablize inbound h.323 calls
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-18 10:33:46 +00:00