Commit Graph

5205 Commits (982959c04f8d25f5513c6c52ec47cf6c166fa084)

Author SHA1 Message Date
Olle Johansson 18866623dc Merged revisions 114148 via svnmerge from
17 years ago
Olle Johansson f239f24580 Adding chanvar to SIPPEER from 1.4 branch
17 years ago
Jason Parker b9bb0749d1 Shorten the mac address pattern, since some phones use different identifiers (such as the i2050 softphone).
17 years ago
Jason Parker 6e6d6f2e10 Merged revisions 114120 via svnmerge from
17 years ago
Joshua Colp 6fad8249f5 During hangup it is possible for p->chan or p->owner to be NULL, so just return what the channel is bridged to instead of what they are *really* bridged to. Thanks Matt Nicholson!
17 years ago
Joshua Colp c5d0ca23f0 Merged revisions 114103 via svnmerge from
17 years ago
Matthew Fredrickson 5110d3bc69 Make sure linkset is locked exiting ss7_start_call
17 years ago
Matthew Fredrickson f9960bc748 Make sure we start incoming calls on SS7 with echo cancellation enabled. Also make sure when completing a COT we call ss7_start_call with the proper locks held. Lastly, make sure if we fail to get a channel from zt_new that we don't assume it's there.
17 years ago
Terry Wilson 4bc75c9a55 Merged revisions 114083 via svnmerge from
17 years ago
Joshua Colp a08c4b2064 A 'b' option has been added which causes chan_local to return the actual channel that is behind it when queried. This is useful for transfer scenarios as the actual channel will be transferred, not the Local channel. If you have been using Local channels as queue members and having issues when the agent did a blind transfer this option may solve the issue.
17 years ago
Mark Michelson d13b45564b Merged revisions 114045 via svnmerge from
17 years ago
Joshua Colp 4a21c5dd22 Fix spelling of existent in a few places.
17 years ago
Joshua Colp a4e73acaf8 Merged revisions 114021 via svnmerge from
17 years ago
Mark Michelson 88cc98ea94 Merged revisions 113927 via svnmerge from
17 years ago
Joshua Colp 0351ef6e6e Enable enough RTP bridging to allow P2P to work.
17 years ago
Jason Parker d314fd5336 Move all messages wrapped in skinnydebug from debug to verbose.
17 years ago
Joshua Colp 230d9d1465 Merged revisions 113784 via svnmerge from
17 years ago
Mark Michelson 925924386a Merged revisions 113681 via svnmerge from
17 years ago
Terry Wilson 3ee1602b6a Merged revisions 113596 via svnmerge from
17 years ago
Jason Parker b52ec53da7 Merged revisions 113504 via svnmerge from
17 years ago
Jason Parker f469ee8cf2 Merged revisions 113454 via svnmerge from
17 years ago
Tilghman Lesher fa875c0578 Merged revisions 113348 via svnmerge from
17 years ago
Jeff Peeler bb13bf705e Merged revisions 113013 via svnmerge from
17 years ago
Jason Parker 63f574ceb4 Merged revisions 113118 via svnmerge from
17 years ago
Jeff Peeler 566e073606 Merged revisions 113012 via svnmerge from
17 years ago
Steve Murphy f291c2af0a Found a little problem with the sip request handling that could lead to a quick crash of asterisk, and a road to a DOS attack if left unfixed.
17 years ago
Philippe Sultan 71dc6a4771 Merged revisions 112820 via svnmerge from
17 years ago
Philippe Sultan db884798db Merged revisions 112766 via svnmerge from
17 years ago
Mark Michelson 3fd8236d28 Merged revisions 112599 via svnmerge from
17 years ago
Tilghman Lesher cbf80c1a3c Make MISDN generate channel rename events when the name changes.
17 years ago
Joshua Colp b5cccfe1a4 Since the SIP request structure gets reused multiple times with TCP handling we have to clear the debug state or else we will keep spitting out debug even after it has been turned off.
17 years ago
Jeff Peeler 6699761f80 Added dnsmgr status output for sip show registry.
17 years ago
Russell Bryant 094fc2c616 Fix a typo that prevented configuration of non-dynamic peers.
17 years ago
Jeff Peeler e9825d7c8a Existing DNS manager lookups extended to check for SRV records.
17 years ago
Tilghman Lesher d751947b1a Fix last commit
17 years ago
Jeff Peeler a5cdd849e5 This adds DNS SRV record support to DNS manager. If there is a SRV record for a given domain, the hostname and port listed in the SRV record will be used. If no SRV record exists or a SRV lookup is not attempted, the DNS lookup on the specified domain will be performed as normal. Chan_sip has been modified to take advantage of the new SRV support.
17 years ago
Joshua Colp a8be22f9da Merged revisions 112204 via svnmerge from
17 years ago
Joshua Colp dcf4e46d8f Demote a log message down to a warning.
17 years ago
Russell Bryant af9c1ee0df Now that zaptel trunk has been removed, add the PSTN deprecation notice to chan_zap, as well.
17 years ago
Jason Parker 652ce60a6f I missed a place when this define was changed.
17 years ago
Russell Bryant 76baf34555 This fixes a high fence violation that MALLOC_DEBUG reported to me.
17 years ago
Mark Michelson bf4893fdce This time the fix is proper for issue 12284. I have tested it thoroughly and found
17 years ago
Mark Michelson 3a0f4cc933 Temporary revert of 111662. It's causing lots of trouble and appears to not be
17 years ago
Jason Parker 5591c696a5 Merged revisions 111720 via svnmerge from
17 years ago
Mark Michelson ca8e44c051 The copy_request function did not take into account the necessary null terminator
17 years ago
Tilghman Lesher bdf4443586 Oops, missed one
17 years ago
Joshua Colp 438361c0b8 Add expiry value to the sip show subscriptions CLI command.
17 years ago
Jason Parker 6412a96e43 Large cleanup of DSP code
17 years ago
Joshua Colp a3d7dc8903 Merged revisions 111020 via svnmerge from
17 years ago
Joshua Colp febd162ed2 Merged revisions 110628 via svnmerge from
17 years ago
Tilghman Lesher ef4eff9a9b Add the "config reload <conffile>" command, which allows you to tell Asterisk
17 years ago
Jeff Peeler 13787bc595 This one line change makes an if inside a for loop (in realtime_peer) check all the ast_variables the loop was intending to test rather than just the first one.
17 years ago
Mark Michelson a49b6591f5 Oops here too. I need to stop coding for a while...
17 years ago
Mark Michelson 67efba6e50 Merged revisions 110635 via svnmerge from
17 years ago
Joshua Colp 738e4ec94e Add a special dialplan variable to chan_sip which will cause an audio file to be played upon completion of an attended transfer.
17 years ago
Olle Johansson 676d9d3303 Use the "Server" header when responding to SIP requests.
17 years ago
Mark Michelson c05501d812 Remove the "Event: registration" header from Asterisk-generated
17 years ago
Mark Michelson 625f6bd203 Merged revisions 110618 via svnmerge from
17 years ago
Russell Bryant c087390452 Merged revisions 110614 via svnmerge from
17 years ago
Joshua Colp 5a77d16eda Only print out the set_address_from_contact host verbose message if debugging is enabled on the dialog.
17 years ago
Russell Bryant 2860d9f83c Merged revisions 110336 via svnmerge from
17 years ago
Tilghman Lesher 0be1d98624 Fix recent trunk breakage
17 years ago
Jason Parker 9e3603dac9 Rename DSP_FEATURE_DTMF_DETECT, because we are *NOT* only detecting DTMF digits.
17 years ago
Jason Parker 8d4276578a Rename very poorly named function to reflect what it actually does. This was causing quite a bit of confusion for me...
17 years ago
Jeff Peeler 515ec9d92f This change adds DNS manager support for registrations not referencing a peer entry. It looks like there is support for DNS manager for realtime peers as well, however it is not implemented correctly. The improper usage occurs when ast_dnsmgr_lookup is called with one of the arguments being an address from the stack to be continually updated. The variable from the stack will go out of scope and dnsmgr will continue to try and update the memory there, causing possible stack corruption. This problem will be worked on next as well as adding DNS manager support for peer entries.
17 years ago
Russell Bryant 5f7e81b564 Set req->data to NULL after free'ing to ensure that it never gets accidentally
17 years ago
Mark Michelson 37fcf0e0fe Fix a typo which caused a double free in chan_zap. This was discovered
17 years ago
Mark Michelson 8bceb4f2a1 Since a sip request's data field is now a stringfield, we not only have to check
17 years ago
Mark Michelson f1181cb04e Merged revisions 109575 via svnmerge from
17 years ago
Kevin P. Fleming 3a8268bc29 fix up various warnings found via the addition of format string checking... some of these were really, really bad code
17 years ago
Terry Wilson b02bc230af Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not
17 years ago
Joshua Colp 10cdbe28a8 Merged revisions 109386 via svnmerge from
17 years ago
Jason Parker 263c658a6b Do not return with a successful authentication if the From header ends up empty.
17 years ago
Olle Johansson 0de4eba640 Add manager peerstatus events when peer can't authenticate.
17 years ago
Michiel van Baak 5729b0ec40 Update the directory of placed calls on skinny phones
17 years ago
Joshua Colp 7980ac1261 Remove something that is never ever used.
17 years ago
Joshua Colp ba63fd28c2 Merged revisions 109107 via svnmerge from
17 years ago
Joshua Colp f7f58d194e Make sure that the temporary sip_request structure is empty so that copy_request doesn't think it already has an ast_str.
17 years ago
Russell Bryant 5bd4e32a4c Merged revisions 108796 via svnmerge from
17 years ago
Mark Michelson 086d4f0e56 Merged revisions 108737 via svnmerge from
17 years ago
Russell Bryant 5f58a11ff2 Merged revisions 108530 via svnmerge from
17 years ago
Russell Bryant 1a2b358588 Merge changes from team/jamesgolovich/chan_sip-ast_str
17 years ago
Russell Bryant 8bbef5f996 Rename ast_tcptls_server_instance to session_instance, since this pertains to
17 years ago
Mark Michelson ff1527de3d Let's get this to compile
17 years ago
Mark Michelson 39cc1b4f36 Merged revisions 108288 via svnmerge from
17 years ago
Kevin P. Fleming a3a8aa6547 add support for named sections in zapata.conf, and fix a few bugs in config file parsing
17 years ago
Kevin P. Fleming 5ebfa5638a Merged revisions 108086 via svnmerge from
17 years ago
Tilghman Lesher 582d3b4ba7 Deadlock fixes
18 years ago
Jason Parker 1c0bc928d1 Merged revisions 107714 via svnmerge from
18 years ago
Kevin P. Fleming 3ee2872f40 Merged revisions 107713 via svnmerge from
18 years ago
Kevin P. Fleming acb73c7448 fix another potential bug found by gcc 4.3
18 years ago
Kevin P. Fleming 4925e7b835 Merged revisions 107464 via svnmerge from
18 years ago
Terry Wilson a9a3f001e0 Merged revisions 107290 via svnmerge from
18 years ago
Jason Parker 6477f207f1 Merged revisions 107173 via svnmerge from
18 years ago
Joshua Colp 362b184c9c If we receive a 488 on a T38 request reinvite back to audio. As well reinvite across a bridge back to audio if one side doesn't negotiate to T38.
18 years ago
Kevin P. Fleming f5bee50ad1 Merged revisions 106945 via svnmerge from
18 years ago
Matthew Fredrickson 8874940104 Make sure we don't start a call when we have already done so in response to a COT message
18 years ago
Steve Murphy 377e51c4d4 (closes issue #6002)
18 years ago
Tilghman Lesher 8718878490 Merged revisions 106552 via svnmerge from
18 years ago
Joshua Colp 496adc6fc0 Merged revisions 106235 via svnmerge from
18 years ago
Russell Bryant 82b3a87fd7 Merged revisions 106237 via svnmerge from
18 years ago
Kevin P. Fleming c6585e5b5d Merged revisions 106038 via svnmerge from
18 years ago
Tilghman Lesher 7a3f642207 Merged revisions 106015 via svnmerge from
18 years ago
Tilghman Lesher 7007c565fe Fix minor misuses of snprintf
18 years ago
Russell Bryant 96e04792bd add a destroy API call for a server instance
18 years ago
Russell Bryant cc55483858 More public API name changes to use an appropriate ast_ prefix
18 years ago
Russell Bryant efb1e30a38 Rename public object server_instance to ast_tcptls_server_instance
18 years ago
Russell Bryant 7b1e335999 Fix some bugs in the SIP tcp helper thread.
18 years ago
Joshua Colp 4de0d8368f Merged revisions 105674 via svnmerge from
18 years ago
Russell Bryant 0db8a98efe Fix some code that was improperly changed in revision 104866 from issue #12079.
18 years ago
Russell Bryant a584b51dd9 Merged revisions 105570 via svnmerge from
18 years ago
Russell Bryant bc3f768547 Merged revisions 105568 via svnmerge from
18 years ago
Joshua Colp b336ac48cf Merged revisions 105557 via svnmerge from
18 years ago
Philippe Sultan 7293986e44 Remove unnecessary if statements before calling iks_delete (redundant check is
18 years ago
Tilghman Lesher 557c38bc8d Fix crash when configuration does not match hardware detection.
18 years ago
Jason Parker decec84c56 Merged revisions 104920 via svnmerge from
18 years ago
Russell Bryant 60eec5bdcb reduce indentation in alloc_sub
18 years ago
Joshua Colp 1281c05afa After further discussion revert my previous commit for this. Currently in order to ensure devicestate is the expected value in another module (such as app_queue) then chan_sip must be loaded before hand.
18 years ago
Joshua Colp 5a5b0be411 When queueing up a device state change when the peer is loaded from the configuration give it a state of not in use. We have to do this because the channel technology may not yet be registered so the state could not be queried and would be considered invalid.
18 years ago
Joshua Colp dca12f4aa7 Fix T38 passthrough regression introduced by state changes.
18 years ago
Tilghman Lesher 4aff24881b Bring Voicetronix driver up to date with current drivers
18 years ago
Russell Bryant 0036cde5f3 Rename version.h to ast_version.h. Next, I will be re-adding version.h as an
18 years ago
Olle Johansson 82cef0fa88 Formatting and doxygen while waiting on an airport...
18 years ago
Russell Bryant 3a8756c9b4 Merged revisions 104119 via svnmerge from
18 years ago
Russell Bryant f8412a637d Deprecate the "stripmsd" option in favor of dialplan substring variable syntax.
18 years ago
Joshua Colp b5a5db340c Merged revisions 104095 via svnmerge from
18 years ago
Joshua Colp 581c8c7bf2 Instead of outputting a verbose message every so often let's make it a debug message.
18 years ago
Russell Bryant 871e86846e Merged revisions 104086 via svnmerge from
18 years ago
Joshua Colp 26e297b27f Merged revisions 104084 via svnmerge from
18 years ago
Joshua Colp 5410140ae1 Merged revisions 104082 via svnmerge from
18 years ago
Steve Murphy c33c0855b8 Enforce a space between function args as per code review.
18 years ago
Doug Bailey 552b782fc2 Add protection to chan_zap build when NEONMWI events are not defined
18 years ago
Tilghman Lesher e537a1368c Merged revisions 104037 via svnmerge from
18 years ago
Russell Bryant 0bcd2ae4b0 fix a typo
18 years ago
Doug Bailey ee4137f337 Added configuration distinction between neon and fsk mwi detection
18 years ago
Joshua Colp 715ab328c1 Try to do Packet2Packet bridging with chan_h323 if reinviting isn't enabled.
18 years ago
Joshua Colp 22f70f2db1 Merged revisions 103953 via svnmerge from
18 years ago
Mark Michelson b895cda7a3 Merged revisions 103904 via svnmerge from
18 years ago
Joshua Colp 369af0f291 Merged revisions 103823 via svnmerge from
18 years ago
Russell Bryant 85cd43c3c9 Merged revisions 103821 via svnmerge from
18 years ago
Jeff Peeler 19d238dee3 (closes issue #11864)
18 years ago
Joshua Colp e54da94808 Add a non-invasive API for application level manipulation of T38 on a channel. This uses control frames (so they can even pass across IAX2) to negotiate T38 and provided a way of getting the current status of T38 using queryoption. This should by no means cause any issues and if it does I will take responsibility for it.
18 years ago
Jason Parker f6a1b64de9 Merged revisions 103795 via svnmerge from
18 years ago
Matthew Fredrickson 05ead467bd Commit chan_zap portion of #11964: add the ability to get ORIG_CALLED_NUM
18 years ago
Jason Parker e0e9ff2e43 Merged revisions 103790 via svnmerge from
18 years ago
Matthew Fredrickson 484214d534 Make sure EC is enabled when SS7 call comes in. Also add support for multiple DPCs per linkset. #11779
18 years ago
Tilghman Lesher 2c3c489ade Merged revisions 103780 via svnmerge from
18 years ago
Olle Johansson f04d5fb83d Make sure we can set up calls without audio (text+video).
18 years ago
Mark Michelson e9d0cda77d Merged revisions 103770 via svnmerge from
18 years ago
Joshua Colp 67ac1d44da Merged revisions 103763 via svnmerge from
18 years ago