Commit Graph

3071 Commits (ae8dbde4a8bd3b622fe88ce57f9a90032a0f94e6)

Author SHA1 Message Date
Joshua Colp 4c07c7a6b2 Ensure the default settings are applied for T.38 when we set it up for a peer.
17 years ago
David Vossel 5f73ab9f4e Merged revisions 202671 via svnmerge from
17 years ago
Russell Bryant e2bfdbac0a Merged revisions 202414 via svnmerge from
17 years ago
Mark Michelson f142cbe10c Merged revisions 202341-202342 via svnmerge from
17 years ago
Mark Michelson e68e6f9d75 Merged revisions 202336 via svnmerge from
17 years ago
Matthew Nicholson 55c6789f74 Use sched_yield() instead of usleep(1)
17 years ago
Joshua Colp e85296e244 Add support for allowing an RTP engine to decide on whether it is possible for specific formats to be transcoded for an RTP instance.
17 years ago
Matthew Nicholson 21ad428d0d Added deadlock protection to try_suggested_sip_codec in chan_sip.c.
17 years ago
Mark Michelson dce6a54a4a Trunk implementation of setting an alternate RTP source.
17 years ago
David Vossel a11ac5ae2f parsing extension correctly from sip register lines
17 years ago
Mark Michelson 99b98d8f9a Fix problem with no audio due to ignoring the SDP.
17 years ago
David Brooks ecfbab0782 Merged revisions 201380 via svnmerge from
17 years ago
David Vossel 9bf67151c9 SIP registry ref count error
17 years ago
David Vossel 9a66b1dcdf fix issue with build_contact introduced by the "SIP trasnport type issues" commit
17 years ago
Kevin P. Fleming f1dc620467 Enable applications to enable/disable digit and tone detection.
17 years ago
David Vossel ee8cdd555f SIP transport type issues
17 years ago
Kevin P. Fleming 85e57521ab Accept T.38 re-INVITE responses with invalid SDP versions.
17 years ago
Kevin P. Fleming 4379249674 Convert a number of global module variables to 'static'.
17 years ago
Kevin P. Fleming 78ee46f13f Some minor structure size improvements in sip_pvt and sip_peer.
17 years ago
Mark Michelson d224f78dd5 Merged revisions 200513 via svnmerge from
17 years ago
Mark Michelson 616e85c95f Fix a crash due to a potentially NULL p->options.
17 years ago
Mark Michelson 28fe3938b7 Only try to use the invite_branch on outgoing INVITEs with auth credentials.
17 years ago
David Vossel 59d93c1e2d CLI NOTIFY sending wrong transport type.
17 years ago
Mark Michelson 5965e276a7 Fix a deadlock that could occur when setting rtp stats on SIP calls.
17 years ago
Joshua Colp 5fcf193d7b Correct documentation for the register line, specifically where the domain should be specified.
17 years ago
Mark Michelson 298d745fb4 Add the ability to execute connected line interception macros.
17 years ago
Joshua Colp 6e1bd8aad7 Fix a bug where the Event and Content-Type headers were added twice to outgoing SIP NOTIFY messages.
17 years ago
Joshua Colp 5c8626e315 When removing all packets from a dialog we also need to free the data if present.
17 years ago
Joshua Colp 9944bce43c Fix a bug where the default setting did not perform a remote bridge when it should have.
17 years ago
Mark Michelson 14d05f57d7 A few fixes to SIP with regards to connected line updates during transfers.
17 years ago
Mark Michelson 3eab939301 Treat 405 responses the same way we would a 501.
17 years ago
Eliel C. Sardanons a109652532 Merged revisions 197562 via svnmerge from
17 years ago
Joshua Colp 318929b75f Merged revisions 197466 via svnmerge from
17 years ago
Olle Johansson b6d95bef99 Adding some generic handling of error codes sent to us in replys to requests.
17 years ago
Mark Michelson 83500e9b06 Remove some redundant or unnecessary connected line-related function calls.
17 years ago
Joshua Colp d4efe15c09 Fix a bug where the sip unregister CLI command did not completely unregister the peer.
17 years ago
David Vossel f50bb3bfa4 SIP set outbound transport type from Registration
17 years ago
Eliel C. Sardanons 2c882626a0 Implement a new element in AstXML for AMI actions documentation.
17 years ago
Mark Michelson ee4f11cd24 s/it's/its/
17 years ago
Kevin P. Fleming e6b2e9a750 Const-ify the world (or at least a good part of it)
17 years ago
Mark Michelson 56903a7485 Get rid of some duplicated code and correct a connected line error.
17 years ago
Mark Michelson 7b4eeed257 Add basic support for handling connected line-related UPDATE requests.
17 years ago
Joshua Colp 99a1e0ce01 Merged revisions 195448 via svnmerge from
17 years ago
Joshua Colp 9f4e8a5bda Fix a bug where specifying an empty outboundproxy would cause packets to get sent to ourself.
17 years ago
Mark Michelson 64c6397bd0 Merged revisions 194484 via svnmerge from
17 years ago
Mark Michelson 56275abb32 Update spiral support in trunk and 1.6.X to match what is in 1.4.
17 years ago
David Vossel fbad7a508d TCP not matching valid peer.
17 years ago
Tilghman Lesher 01e5a86e1a Merged revisions 192932 via svnmerge from
17 years ago
Joshua Colp 19916d118d Merged revisions 192633 via svnmerge from
17 years ago
Richard Mudgett 7019ff68db Fixed crashes from issue8824 review board channel locking changes.
17 years ago
Joshua Colp 2e7c1e3613 Fix a bug with setting t38pt_udptl at the user or peer level.
17 years ago
Tilghman Lesher a3229fd3e2 Merged revisions 191559 via svnmerge from
17 years ago
David Vossel ca138fc807 Consistent SSL/TLS options across conf files
17 years ago
David Vossel 8f0b88c8c8 TLS/SSL private key option
17 years ago
Russell Bryant cba19c8a67 Convert the ast_channel data structure over to the astobj2 framework.
17 years ago
Joshua Colp f314c5f13f Fix nat setting on RTP instances.
17 years ago
Russell Bryant bbcf30787d Merged revisions 190356 via svnmerge from
17 years ago
David Vossel 00d7c4fefc Fixes segfault when switching UDP to TCP in sip.conf after reload.
17 years ago
Joshua Colp b5b18b7810 Fix a bug with non-UDP connections that caused dialogs to not get freed.
17 years ago
Mark Michelson 4bf5e1b805 Prevent a crash when SIP blonde transferring an unbridged call.
17 years ago
Joshua Colp 6d2b446384 Merged revisions 188946 via svnmerge from
17 years ago
Tilghman Lesher ecc3c7c4a6 Merged revisions 188835 via svnmerge from
17 years ago
David Vossel a9895c6833 SIP state notify reorganization
17 years ago
Joshua Colp 84fd750c10 Fix a bug with the change I made yesterday to outbound proxy support.
17 years ago
Joshua Colp 75dba8ca1d Fix a bug where using an outbound proxy would cause the local address to be 127.0.0.1.
17 years ago
Joshua Colp 8e4b5df187 Fix some uninitialized memory notices that appeared under valgrind.
17 years ago
Tilghman Lesher 15e040d3f3 Ensure pvt is not NULL before dereferencing it.
17 years ago
Mark Michelson 4d74179f20 Add a new option, mwi_from, to sip.conf.
17 years ago
Mark Michelson e53bd994d0 Merged revisions 187484 via svnmerge from
17 years ago
Tilghman Lesher 7304ac444e Allow '/' in username portion of register; this is a regression.
17 years ago
Tilghman Lesher 3a220874cc Merged revisions 187362 via svnmerge from
17 years ago
Joshua Colp abcc0b9397 Add support for allowing the channel driver to handle transcoding.
17 years ago
Russell Bryant c4058865dd Remove duplicate prototype for temp_peer().
17 years ago
Russell Bryant 0fab071d13 Update some comments and resolve potential memory corruption in chan_sip.
17 years ago
Tilghman Lesher b289374dfe Add lastms to the require API call.
17 years ago
Mark Michelson 21dd185512 Fix bad merge from fix for issue 13867.
17 years ago
Joshua Colp 369ca78928 Fix problem when authenticating a non-RTP dialog.
17 years ago
Joshua Colp 4eaa651a8a Add support for changing the outbound codec on a SIP call using
17 years ago
Mark Michelson 6f53ed4c67 This commit introduces COLP/CONP and Redirecting party information into Asterisk.
17 years ago
Joshua Colp 2d9c6ef3d5 Add better support for relaying success or failure of the ast_transfer() API call.
17 years ago
Joshua Colp 63de834395 Merge in the RTP engine API.
17 years ago
Tilghman Lesher 08971ce205 Merged revisions 186059 via svnmerge from
17 years ago
David Vossel 729f225225 Merged revisions 185845 via svnmerge from
17 years ago
Joshua Colp aa056be678 Merged revisions 184947 via svnmerge from
17 years ago
Joshua Colp 0580121cee Merged revisions 184565 via svnmerge from
17 years ago
Russell Bryant ee77b475f2 Improve performance of the ast_event cache functionality.
17 years ago
Joshua Colp 9ae51a21c0 Fix issue with a T38 reinvite being sent even if not configured to do so.
17 years ago
David Vossel da2230adf0 SIP preferred codec only feature
17 years ago
Mark Michelson 7ed6354989 Fix chan_sip so it builds.
17 years ago
Mark Michelson abb71e3d55 Merged revisions 183115 via svnmerge from
17 years ago
Joshua Colp 12bd92898d Improve our triggering of a T38 switchover internally when triggered by a received reinvite.
17 years ago
Joshua Colp a6734b5a95 Fix an issue with requesting a T38 reinvite before the call is answered.
17 years ago
Kevin P. Fleming 87a8295303 improve a bit of suboptimal code
17 years ago
Mark Michelson 593d643d24 Merged revisions 181768 via svnmerge from
17 years ago
Joshua Colp 1fc574dbf7 Merged revisions 181328 via svnmerge from
17 years ago
Joshua Colp 60d58b8d15 Merged revisions 181295 via svnmerge from
17 years ago
Jeff Peeler 58cf8b69da Fix malloc debug macros to work properly with h323.
17 years ago
Mark Michelson c1e2636be7 Add missing comment that quotes RFC 3891
17 years ago
Mark Michelson 85a5f68fe1 Merged revisions 181029,181031 via svnmerge from
17 years ago
Russell Bryant 6c9f6d33c7 Resolve object matching issues related to the removal of the sip_user object.
17 years ago
Mark Michelson 3a14487abf Allow for "magic" pickups to work when we wish to ignore the context
17 years ago
Olle Johansson f000d5bb0f Please prefix default values with DEFAULT
17 years ago
Mark Michelson c9252cbaf0 Properly free memory and remove scheduler entries when a transmission failure occurs.
17 years ago
Joshua Colp 9ccad1406b Merged revisions 178205 via svnmerge from
17 years ago
Tilghman Lesher bafd3372cf On update, test against the existence of sipregs.
17 years ago
Michiel van Baak d9eb973a3d make chan_sip.c compile on OpenBSD again.
17 years ago
Jeff Peeler 138f3de410 Set sip_request ast_str data to NULL so ast_str_copy allocates space properly
17 years ago
Joshua Colp 2ff89e817e Fix ordering of output for a ChannelUpdate manager event.
17 years ago
Dwayne M. Hubbard 8f8f4adf7d T38 faxdetect should jump to the 'fax' extension for incoming calls only
17 years ago
Dwayne M. Hubbard e28b2b52b2 create a UDPTL structure in create_addr_from_peer() if it does not already exist for T38
17 years ago
Tilghman Lesher ef94685d32 In this version, we can combine the queries, because we support dropping
17 years ago
Tilghman Lesher 274c71e6ae Merged revisions 176426 via svnmerge from
17 years ago
Joshua Colp 8d00e7a6ed Merged revisions 176029 via svnmerge from
17 years ago
Michiel van Baak 115c6abef4 Merged revisions 175921 via svnmerge from
17 years ago
Russell Bryant ca9d3b8ac9 Fix a number of problems with ast_sched_report().
17 years ago
Olle Johansson c9a8142e58 Merged revisions 175777 via svnmerge from
17 years ago
Kevin P. Fleming 2a53f2ec98 Add basic (passthrough, playback, record) support for ITU G.722.1 and G.722.1C (also known as Siren7 and Siren14)
17 years ago
Russell Bryant a741658f58 Remove useless string copy, and make sscanf safe again
17 years ago
Russell Bryant 768c73160e Avoid using ast_strdupa() in a loop.
17 years ago
Joshua Colp 6304c09149 Only decrease inringing count if above zero.
17 years ago
Joshua Colp 8e6780a5b1 Set the type for the peer structure to be a peer as the default.
17 years ago
Joshua Colp bb327036f1 Make the logic for inuse and inringing manipluation match that of 1.4. The old broken logic would reset the values back to 0 during certain scenarios causing the wrong state to be reported.
17 years ago
Mark Michelson e0b0ae07a3 Fix something I messed up in the merge I just did
17 years ago
Mark Michelson a02ef73b25 Merged revisions 174282 via svnmerge from
17 years ago
Dwayne M. Hubbard 0024ad62ab Merged revisions 174082 via svnmerge from
17 years ago
Joshua Colp 550f7f1e65 Merged revisions 173967-173968 via svnmerge from
17 years ago
Matthew Nicholson 647b68ec23 Merged revisions 173917 via svnmerge from
17 years ago
Russell Bryant 326587ebe3 Fix a spelling mistake.
17 years ago
Olle Johansson a9ee30da54 Add a todo. I do need to really check what's going on with this kill-the-user business ;-)
17 years ago
Olle Johansson 81a3d40c08 Small formatting change
17 years ago
Olle Johansson 9ea148b260 Add some well-needed improvements to the wishlist in the code, so that we can close
17 years ago
Sean Bright 2af8f59958 The CID lookup feature wasn't actually working properly with dialog-info+xml
17 years ago
Olle Johansson 7ecda45482 Fix "cancel answered elsewhere" through app_queue with members in chan_local.
17 years ago
Olle Johansson b79a12e929 - Make sure we set setvar= variables on outbound calls too, not only inbound calls.
17 years ago
Olle Johansson 3e144e2a71 Make sure register= line supports both port and expiry at the same time.
17 years ago
Olle Johansson 55782a8dfa Merged revisions 172169 via svnmerge from
17 years ago
Olle Johansson a0a8a4d68e Solving the same issue, but a bit different in trunk...
17 years ago
Olle Johansson e9beff5969 Moving generic setting to friends
17 years ago
Olle Johansson f35874c3f5 Continue to move variables into the sip_cfg structure to make them easier to handle in the future as a group of settings for a group of devices.
17 years ago
Olle Johansson a6228ccaf3 Just moving around variable declarations so that we have all globals in the same place.
17 years ago
Olle Johansson 08640496d1 Merged revisions 171264 via svnmerge from
17 years ago
Joshua Colp a394fe3a7a Merged revisions 170504 via svnmerge from
17 years ago
Mark Michelson 28dc82ea4e Further fix some oddities in sip show users and sip show peers logic
17 years ago
Mark Michelson 419bb42e04 Convert the character pointers in a sip_request to be pointer offsets
17 years ago
Terry Wilson 6b32f4600d Fix port :0 added to SIP INVITE URI when outboundproxy used
17 years ago
Mark Michelson a2ac43cb8a Merged revisions 168975 via svnmerge from
17 years ago
Mark Michelson 73694e15f1 Add missing brace
17 years ago
Mark Michelson 78c440b7ad Fix the compactheaders option in sip.conf
17 years ago
Mark Michelson 5c9daf4d3d Remove an unneeded condition for line addition to a SIP request/response
17 years ago
Olle Johansson 8ab629c767 Make sure that we have the same terminology in sip.conf.sample and the source code warning.
17 years ago
Olle Johansson 27c1d88021 Add capability to remove added SIP headers *before* INVITE is generated.
17 years ago
Mark Michelson b4271327d7 Restore the "sip show users" and "sip show user" CLI commands
17 years ago
Terry Wilson 938191bc19 Merged revisions 168551 via svnmerge from
17 years ago
Mark Michelson 453b4cb8fb Allow specifying a port number in the user portion of a register => line in sip.conf
17 years ago
Mark Michelson f488a2eec5 Merged revisions 168482 via svnmerge from
17 years ago
Tilghman Lesher aebe65d9e7 sizeof for a stringfield is 4. Kinda low for reconstructing a field value.
17 years ago
Mark Michelson 9f355bf9fc Merged revisions 168128 via svnmerge from
17 years ago
Mark Michelson 5f3f4f0f33 Revert chan_sip changes which were accidentally committed
17 years ago
Mark Michelson 454241dd58 Add the average talk time for a queue
17 years ago
Kevin P. Fleming 92b6225abe Merged revisions 167714 via svnmerge from
17 years ago
Kevin P. Fleming d5f97b4052 Merged revisions 167620 via svnmerge from
17 years ago
Mark Michelson 129e8a04e8 Merged revisions 167179 via svnmerge from
17 years ago
Terry Wilson 8664b9111a There is no section 22.2.2 in rfc 3261. I believe 26.2.2 is what was meant:
17 years ago
Tilghman Lesher 8c2030b489 Allow semicolons and extended characters in user-specified SIP headers.
17 years ago
Joshua Colp 654ea55a65 Numerous documentation updates.
17 years ago
Joshua Colp 4534957e81 Call proxy_update so that the IP address gets populated. Sending stuff to 0.0.0.0 is silly!
17 years ago
Matthew Nicholson 91192e30c5 This patch adds a new 'ignoresdpversion' option to sip.conf. When this is
17 years ago
Mark Michelson 1d2b4e7a02 Merged revisions 164977 via svnmerge from
17 years ago
Terry Wilson 2e59fce6d8 Make a note of the feature request in bug #11157 as per the reporter and oej, and suspend the bug since no one seems to be keen on implementing it any time soon.
17 years ago
Joshua Colp fd62012a31 Qualify trumps poke per lmadsen.
17 years ago
Joshua Colp 92a4edc593 Add configuration options for finer control over how Asterisk handles having to poke all peers at seemingly the same time.
17 years ago
Russell Bryant 36b1d08dc0 Merged revisions 164672 via svnmerge from
17 years ago
Joshua Colp ec6e4d2f60 When using externhost make sure the port gets set to the bindaddr port if one was not specified in the externhost value itself.
17 years ago
Tilghman Lesher 42e26ee700 Revert ast_str opacity in chan_sip for now, since something wasn't quite right
17 years ago
Joshua Colp ae30bbf43d Merged revisions 164350 via svnmerge from
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Russell Bryant 90e65dc7d3 Rename a number of tcptls_session variables. There are no functional changes here.
17 years ago
Russell Bryant 4dde380315 Fix a small race condition in sip_tcp_locate().
17 years ago
Russell Bryant 4295303c56 Resolve crashes when using SIP TCP/TLS with qualify.
17 years ago
Joshua Colp 44b93b6859 When a device registers we need to unlink them (if linked) from the peers_by_ip container and link them back in since their IP address has changed. This would have manifested itself if you configured a new device (as type=peer), registered, and then tried to place a call from the device. Since the peer was not linked into the peers_by_ip container it would have never been found.
17 years ago
Joshua Colp 035a7552d6 Since chan_sip is callback devicestate driven do not pass in actual states, pass in unknown so we get asked. Additionally do not pass in an actual device state value in ast_setstate since the channel may be callback driven.
17 years ago
Joshua Colp a4a9815fe2 When a device registers to use it is entirely possible that they may be in use, so tell the core that we don't know the devstate and have it ask us for it.
17 years ago
Joshua Colp a039a65656 Merged revisions 162804 via svnmerge from
17 years ago
Joshua Colp 02ce4faaeb Merged revisions 162738 via svnmerge from
17 years ago
Mark Michelson d659ec3cd2 Merged revisions 162663 via svnmerge from
17 years ago
Joshua Colp d8c152f7f0 When transmitting a register set the socket port to the local one for the transport being used, not the port for the remote server.
17 years ago
Joshua Colp ac12d0d4ce Merged revisions 161725 via svnmerge from
17 years ago
Matthew Nicholson 8b77d66a61 Fix a crash that can occur on a transfer in chan_sip when attempting to collect
17 years ago
Terry Wilson f6dda1e544 Add the ability to play a courtesy tone to the transfer target in a native SIP attended transfer by setting the variable ATTENEDED_TRANSFER_COMPLETE_SOUND.
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
17 years ago
Dwayne M. Hubbard f9b6507796 If 'faxdetect=yes' in sip.conf, switch to a 'fax' extension (if it exists) after T38 is negotiated.
17 years ago
Tilghman Lesher c9f471ac77 Merged revisions 160480 via svnmerge from
17 years ago
Tilghman Lesher f96547b0b9 Merged revisions 160297 via svnmerge from
17 years ago
Kevin P. Fleming 887e28d7aa incorporates r159808 from branches/1.4:
17 years ago
Sean Bright fd8caa1778 This is basically a complete rollback of r155401, as it was determined that
17 years ago
Sean Bright 7bd3ce358b If you enabled 'notifycid' one of the limitations is that the calling channel
17 years ago
Sean Bright 74c112a501 No need to use a separate structure for this since we can just pass
17 years ago
Doug Bailey d68e8b8e02 Add fix to prevent crash during reload if there is an outstanding MWI registration message pending.
17 years ago
Mark Michelson 95c416df0b Use a more expressive constant for a 64-bit scanned int
17 years ago
Mark Michelson bd6586e3d7 Use some magic constants to get the right size
17 years ago
Mark Michelson 4e67fdd3f9 Fix the build for 32-bit systems. %lu is only 32-bits
17 years ago
Mark Michelson e8aa0e29ce Change the remote user agent session version variable
17 years ago
Mark Michelson 3a9c27459e Merged revisions 158072 via svnmerge from
17 years ago
Mark Michelson 2d4e3b21ee Merged revisions 158071 via svnmerge from
17 years ago
Mark Michelson 7a554a7386 Merged revisions 158053 via svnmerge from
17 years ago
Mark Michelson 1a4fc71415 Merged revisions 157503 via svnmerge from
17 years ago
Mark Michelson 2ede9a603f Based on Russell's advice on the asterisk-dev list, I have
17 years ago
Mark Michelson 16efb5c4dd * Add a lock to be used in the update_call_counter function.
17 years ago
Russell Bryant 1148e648b8 Fix a few more places where the case insensitive hash should be used since
17 years ago
Mark Michelson 6254c5cd2f Revision 155513 of chan_sip.c in trunk inadvertently
17 years ago
Michiel van Baak 86f900b201 This commit does two things:
17 years ago
Russell Bryant 72d5d58069 Remove commentary from the issues list for SIP TCP/TLS
17 years ago
Sean Bright 48522988ab In order to move away from nested function use, some changes to the recently introduced
17 years ago
Russell Bryant ef489f8195 - Check for failure when putting the packet in the ast_str
17 years ago
Russell Bryant 648ea2aab9 Remove some code that is basically a no-op. Code above this already ensures that
17 years ago
Mark Michelson 111203aed9 Set the invite state to INV_CANCELLED in a place that
17 years ago
Sean Bright 30d1744ffc Add ability to pass arbitrary data to the ao2_callback_fn (called from
17 years ago
Tilghman Lesher bd3f685f20 Merged revisions 155398 via svnmerge from
17 years ago
Kevin P. Fleming 90e573c373 stringfields conversion for struct sip_peer, as requested :-)
17 years ago
Russell Bryant 41ab61a2a2 Remove a bogus ast_free() that Kevin noticed. This was probably just left over
17 years ago
Russell Bryant 1a239454f1 Fix some code in chan_sip that was intended to unlink multiple objects from a
17 years ago
Sean Bright 086a52d9d1 Introduce a new API call ast_channel_search_locked, which iterates through the
17 years ago
Sean Bright 6ba4e7853e Allow devices that accept dialog-info+xml (like snoms) to get the Caller ID of
17 years ago
Olle Johansson 204845843e Adding a separation of remote authentication and our authentication.
17 years ago
Eliel C. Sardanons 105a020b6f Add XML documentation for:
17 years ago
Kevin P. Fleming bd4eb070f3 bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
17 years ago
Russell Bryant 981c2d03b6 Don't ignore the result of find_peer() when looking for a peer by IP in check_peer_ok().
17 years ago
Russell Bryant 1fef0f63bb Ensure that the sip_pvt properly has its refcount incremented when the scheduler holds
17 years ago
Tilghman Lesher 44b484195e Merged revisions 153114 via svnmerge from
17 years ago
Russell Bryant 19f1e7e578 Fix the sip_peer reference count with respect to scheduler entries for
17 years ago
Russell Bryant 46a8b1deed Fix the sip_peer reference count with respect to scheduler entries for
17 years ago
Mark Michelson c0b9b259ca I just noticed this construct and thought it was
17 years ago
Russell Bryant 3d5b3249a8 Modify the documentation of the sip_registry struct
17 years ago
Russell Bryant 0dbd863733 Merged revisions 152539 via svnmerge from
17 years ago
Olle Johansson 0fdde26109 Trying to fix the user/peer matching correctly. This will need some testing before
17 years ago
Olle Johansson 9137733e11 Moving more variables to the sip_cfg structure, as I have some future ideas for the usage of that structure.
17 years ago
Olle Johansson 31a9f1e6f0 Doxygen changes and some formatting.
17 years ago
Olle Johansson 5aa23add8c Adding a small new feature.
17 years ago
BJ Weschke d7422c975e revert the changes in issue #13705 - it's being re-opened as while the results fixed the complaint in the issue, it introduced other more undesirable issues than what was already reported
17 years ago
Russell Bryant 89e0def9f9 Print out the right var in the log message
17 years ago
Russell Bryant ca14f718d7 Fix this check to use the proper variable (the result from get_in_brackets)
17 years ago
Mark Michelson cfa9531311 The logic of a strncasecmp call was reversed.
17 years ago
Mark Michelson 97dac2d91a Make the sip_standard_port function more granular by allowing separate
17 years ago
Mark Michelson f4561c0e46 Get this compiling in dev-mode
17 years ago
Mark Michelson 2c55dcf8a8 If a peer uses any transport other than UDP, then MWI will
17 years ago
Mark Michelson bceb0845e6 When attempting to resolve hostnames, we need to be sure
17 years ago
BJ Weschke 5a6a59c84b Fix configuration parsing so type=friend still identifies "friend" as a peer even though it is now a legacy configuration verb.
17 years ago
Kevin P. Fleming 1ddc834b39 cleaup of the TCP/TLS socket API:
17 years ago
Olle Johansson 235d4159f6 Adding changes from train and flight back home from SIPit23 in Lannion, France.
17 years ago
Olle Johansson e3ea5c3c36 Adding some additional thoughts on configuration changes to TCP/TLS
17 years ago
Mark Michelson 1b1efebf4b After a long discussion on #asterisk-bugs, it seems kind of
17 years ago
Mark Michelson 4d983e34cf INVITES with proxy auth were sent with a different branch
17 years ago
Kevin P. Fleming 2f3193ec70 ensure that type=peer entries are only matched on IP/port, not on name (after oej audits all the calls to find_peer() to make sure that forcenamematch is set correctly in each case)
17 years ago
Olle Johansson 11a94d5b01 Doxygen addition
17 years ago
Olle Johansson 1d2ef991e2 Add some notes on problems with the TCP/TLS implementation
17 years ago
Kevin P. Fleming 4ca2b3836a return this logic to where it used to be, *after* the dialog->needdestroy flag has been determined to be set; otherwise, we generate these debug messages every time we inspect every active dialog
17 years ago
Kevin P. Fleming 1e56eb7e87 some additional debugging tools added at SIPit23:
17 years ago
Mark Michelson e701f8ee2d Make the sip_proxy struct reference counted. This is
17 years ago
Olle Johansson 216673ad76 Adding a note about a missing part of "kill-the-user" - I got lost in the Ao2 world...
17 years ago
Kevin P. Fleming f00735b317 Merged revisions 149452 via svnmerge from
17 years ago
Olle Johansson 7fa8f65425 Fixing sytax errors ;-)
17 years ago
Mark Michelson 63b894e391 Merged revisions 149266 via svnmerge from
17 years ago
Mark Michelson 83663de0ed Merged revisions 149207 via svnmerge from
17 years ago
Tilghman Lesher d5837ba8c2 Add additional memory debugging to several core APIs, and fix several memory
17 years ago
Mark Michelson c6caf2a06f Merged revisions 149130 via svnmerge from
17 years ago
Joshua Colp f230048cd3 Fix reference count issue that Russell brought up in SIP MWI NOTIFY support. Bump the reference count up before we add it to the scheduler, duh.
17 years ago
Kevin P. Fleming 6ccc37dec9 fix some references to the owner of a private structure that may not be present
17 years ago
Kevin P. Fleming b616f924c6 this structure should be static
17 years ago
Kevin P. Fleming 90e01fcb0b ensure that *all* fields in the req structure are cleared out before reusing it; has_to_tag was not cleared, which caused the second incoming call over a TCP socket to fail if pedantic checking was enabled
17 years ago
Olle Johansson 7877ed93bb Adding some clarifications
17 years ago
Olle Johansson c3e6dbb72f - Doxygen formatting. (tss tss)
17 years ago
Olle Johansson 32d93bbc0e Highlightning even more bugs in the current tcp/tls implementation.
17 years ago
Olle Johansson 1ec31a5f93 Sending a 403 after a 200 is considered very bad.
17 years ago
Mark Michelson 399d82541a The logic used when checking a peer got changed subtly
17 years ago
Mark Michelson 1d4bb1ce59 Make sure that the inUse and inRinging fields for
17 years ago
Joshua Colp cebd2c1df2 Add support for subscribing to a voice mailbox on a remote SIP server and making the new/old message count available to local devices. (issue #AST-77)
17 years ago
Terry Wilson cfaef11e0f A blind transfer to the parking thread would cause a segfault because copy_request accesses dst->data w/o being able to tell whether it is proerly initialized
17 years ago
Tilghman Lesher 63b165dbb9 Merged revisions 146799 via svnmerge from
17 years ago
Jason Parker b37300a4a5 Recorded merge of revisions 146448 via svnmerge from
17 years ago
Jeff Peeler 81415abc21 (closes issue #13337)
17 years ago
Russell Bryant f1dd1fe1c7 Add support for call pickup on Snom phones. Asterisk now includes a magic
17 years ago
Mark Michelson ad859c943e Fix a conflict in flag values
17 years ago
Mark Michelson 8625eb9d2a When a promiscuous redirect contained both a user and
17 years ago
Steve Murphy 12073c2a96 Merged revisions 143534 via svnmerge from
17 years ago
Tilghman Lesher 08af5bb312 Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
17 years ago
Tilghman Lesher aada13230f Merged revisions 142865 via svnmerge from
17 years ago
Mark Michelson 3226c29cd6 Merged revisions 142218 via svnmerge from
17 years ago
Mark Michelson 01b2894d2e Merged revisions 142079 via svnmerge from
17 years ago
Mark Michelson 0d0c5190fd Um, apparently I didn't actually finish merging before committing.
17 years ago
Mark Michelson 13222b52ef Merged revisions 141809 via svnmerge from
17 years ago
Steve Murphy 1ca1ef6775 Merged revisions 141565 via svnmerge from
17 years ago
Michiel van Baak 28764dd1f6 Some fixes to autocompletion in some commands.
17 years ago
Sean Bright b74c9b910e When a call is rejected because of call-limit, the channel driver is behaving
17 years ago
Mark Michelson 5dfefa5ee6 Merged revisions 140488 via svnmerge from
17 years ago
Mark Michelson b116defba8 Merged revisions 140417 via svnmerge from
17 years ago
Mark Michelson f150dfb95a Merged revisions 140299 via svnmerge from
17 years ago
Russell Bryant d787786ac9 Merged revisions 140060 via svnmerge from
17 years ago
Terry Wilson 2717c21561 Merged revisions 139869 via svnmerge from
17 years ago
Mark Michelson 261d1eeb13 The -1 return value from incomplete or improper
17 years ago
Jason Parker d22fe17322 Fix output of sipshowpeer manager response.
17 years ago
Mark Michelson c4b34ef45d Merged revisions 139015 via svnmerge from
17 years ago
Sean Bright d8fc34c771 Let it compile now, too (woops)
17 years ago
Sean Bright 0f396d9b8b And remove code we don't need anymore.
17 years ago
Sean Bright 0e9bb93b87 While we're at it, make this machine parseable too.
17 years ago
Sean Bright 711cc76722 Change event header to RegistrationTime to be more consistent (and avoid
17 years ago
Tilghman Lesher 8b6dd2ad43 Merged revisions 138258 via svnmerge from
17 years ago
Tilghman Lesher 2a3211f8dd regseconds is actually stored as the epoch time, not registration length
17 years ago
Jason Parker 3bcc8510b3 Make sure we set the socket port, so we don't try to use <ip address>:0.
17 years ago
Jason Parker 84e049c075 Correctly end locally ended calls.
17 years ago
Sean Bright db1ed285c4 More RSW merges. This should do it for the channels/ dir.
17 years ago
Tilghman Lesher 62db05502f Picky, picky, buildbot
17 years ago
Tilghman Lesher 6cb6583475 SIP should use the transport type set in the Moved Temporarily for the next
17 years ago
Mark Michelson 560475ba74 Fix the parsing of the "reason" parameter in the
17 years ago
Tilghman Lesher 853f6a8b3e Move implementation of an attended-transfer-complete sound from one channel
17 years ago
Tilghman Lesher 0c23159464 Deprecate *_device_state_* APIs in favor of *_devstate_* APIs
17 years ago
Mark Michelson 223c04ec53 Merged revisions 133572 via svnmerge from
17 years ago
Russell Bryant 2bb1317783 Minor coding guidelines tweaks ...
17 years ago
Tilghman Lesher 1d64381314 Merged revisions 133488 via svnmerge from
17 years ago
Brett Bryant 3faa4aa4e0 Fix issue where tcp in sip is enabled by default, despite what it says in the config sample file. Also fix "sip show settings" for tcp connections.
17 years ago
Olle Johansson 8216722ed0 Well, the content of a channel variable may be longer than the size of a pointer...
17 years ago
Mark Michelson c1c75b0cbe Merged revisions 132777 via svnmerge from
17 years ago
Olle Johansson d231a9cf7d Merged revisions 132645 via svnmerge from
17 years ago
Brett Bryant 4ec0d5d762 Fix bug where ast_parse_arg would inadvertantly enable sip tcp when parsing a tcpbindaddr if it was disabled.
17 years ago
Tilghman Lesher 49715c05f1 Merged revisions 130959 via svnmerge from
18 years ago
Tilghman Lesher 5a1d90e1fb Additional option for videosupport (always) that disables the optimization to
18 years ago
Sean Bright 6a00263d9c Missed one. Formatting only.
18 years ago
Brett Bryant 5b7933fe5e Janitor patch to change uses of sizeof to ARRAY_LEN
18 years ago
Sean Bright f2ab15a506 A couple more minor text changes
18 years ago
Sean Bright 7711b33c81 Remove extraneous \n. Pointed out by eliel on #asterisk-dev.
18 years ago
Tilghman Lesher da03cdd174 Merged revisions 129149 via svnmerge from
18 years ago
Brett Bryant d185405755 Janitor project to convert sizeof to ARRAY_LEN macro.
18 years ago
Olle Johansson 01214ba763 Merged revisions 128950 via svnmerge from
18 years ago
Olle Johansson c969c0f24b Merged revisions 128912 via svnmerge from
18 years ago
Russell Bryant 69782233e4 As pointed out on the -dev list, actually use the result of find_peer() so that
18 years ago
Olle Johansson e18e813814 - Adding alias "udpbindaddr" for the UDP port to comply with "tcpbindaddr" and "tlsbindaddr".
18 years ago
Olle Johansson 638234f146 - Fixing issues with "sip show settings"
18 years ago
Olle Johansson 3586b6212d - Remove unused variable "expiry"
18 years ago
Olle Johansson 40c0e6ed47 More doxygen comments.
18 years ago
Olle Johansson fce9af0fa0 - Formatting changes
18 years ago
Olle Johansson e057380907 Adding note about incorrect manager registration...
18 years ago
Olle Johansson ccb718b560 Remove comments that doesn't make sense. The deprecation of type=user will come at a later stage,
18 years ago
Olle Johansson 25ce6ce19e Fix severe problem with my previous commit of "kill-the-user". Russell saw a problem with this
18 years ago
Olle Johansson bc99e067e6 Disabling code used by dumpdb with #ifdef, since I believe we might use it sometime in the
18 years ago
Olle Johansson 29770b1cd8 Removing the CLI dumpdb command (see asterisk-dev discussion and decision)
18 years ago
Olle Johansson cf9c4ce883 Adding a few reminders
18 years ago
Olle Johansson 9056540e35 Adding doxygen comments to missing parts, moving some #define
18 years ago
Olle Johansson d5525e3778 Adding TCP and TLS to "sip show settings".
18 years ago
Olle Johansson 6de5e8552b Add some comments...
18 years ago
Olle Johansson fc7517d76e Set tls setting to default in reload_config.
18 years ago
Michiel van Baak bf848cc694 fix compiling of chan_sip.c
18 years ago
Joshua Colp eff212635c I like it when the tree is not broken.
18 years ago
Olle Johansson 318fd4186b KILL THE USER!
18 years ago
Olle Johansson b04d101ee5 Stop cli command completion with tabs
18 years ago
Olle Johansson 0a52297cf0 Add new SIP cli command "sip show channelstats" that displays some QoS data (if we have RTCP reports
18 years ago
Tilghman Lesher 1d0637521a Fullcontact needs more than 20 characters, even for the simplest case
18 years ago
Olle Johansson 6f621e6205 - reorganize SIP extensions alphabetically, to make it easier to synch with the IANA list
18 years ago
Steve Murphy bc2cfb3e81 Merged revisions 127663 via svnmerge from
18 years ago
Olle Johansson f99a310219 Make sure we stop session timers as soon as we start hanging up an active call.
18 years ago
Olle Johansson 2491cc6e65 Revert some logic for session timers. We do send in-dialog requests that should not have session-timer
18 years ago
Olle Johansson b423a939b0 Fix bad formatting in a very confusing function. Who added the sipdb sql output?
18 years ago
Brett Bryant 6aa9419cfe Update transport= in sip so that the option is not broken from a recent commit.
18 years ago
Tilghman Lesher 885d17506b Keep ast_app_inboxcount API compatible with 1.6.0.
18 years ago
Brett Bryant b30ed551e0 Fix to sip_parse_host so that it passes the correct information to sip_registry.
18 years ago
Tilghman Lesher cce1ec5463 Change the global timer B to be dependent on the value of the T1 timer, as
18 years ago
Brett Bryant 1b07e87538 Add a configuration option so the global outboundproxy can use tcptls without it being defined by each sip user.
18 years ago
Olle Johansson b6b5525347 Merged revisions 126902 via svnmerge from
18 years ago
Olle Johansson f3170a4946 Merged revisions 126899 via svnmerge from
18 years ago
Olle Johansson 42bed356d1 Merged revisions 126789 via svnmerge from
18 years ago
Olle Johansson 983b851e3b Merged revisions 126735 via svnmerge from
18 years ago
Olle Johansson 33a54ee23b The following patch with some changes for trunk...
18 years ago
Tilghman Lesher 1503ea7128 Merged revisions 126056 via svnmerge from
18 years ago
Brett Bryant 4ebadd6d21 Small error in the function that converts peer transports to a string.
18 years ago
Brett Bryant 12d5cebea2 Change the way that the transport option works for sip users. transport will now take multiple arguments, the first one listed will be the one used
18 years ago
Olle Johansson 4f32bf72f9 Merged revisions 125384 via svnmerge from
18 years ago
Mark Michelson 0f62296eb6 Add a missing "ChannelType" header to one of the "PeerStatus" manager
18 years ago
Michiel van Baak 8e8359465b Older versions of GNU gcc do not allow 'NULL' as sentinel.
18 years ago
Brett Bryant 249ac33ab0 Fix bug in sip registration that sets the default port to 5060 for tls.
18 years ago
Brett Bryant 2aae0ba13d Updates all usages of ast_tcptls_session_instance to be managed by reference counts so that they only get destroyed when all threads are done using
18 years ago
Mark Michelson 67ca33e267 Merged revisions 123485 via svnmerge from
18 years ago
Steve Murphy bb20ef7017 Changes to list peers and users in alpha. order, as per a reasonable request in 12494. Due to changes in trunk to use the astobj2 i/f in the sip channel driver, the order of the entries in the config file was lost, thus the output was in a random order, but no longer.
18 years ago
Mark Michelson 8c6184f0da Merged revisions 123333 via svnmerge from
18 years ago
Tilghman Lesher 596f8b5186 Merged revisions 123113 via svnmerge from
18 years ago
Tilghman Lesher ba07bd38b7 Merged revisions 123110 via svnmerge from
18 years ago
Joshua Colp 523532204a Merged revisions 122919 via svnmerge from
18 years ago
Joshua Colp 1c8f33b0d6 Merged revisions 122869 via svnmerge from
18 years ago
Tilghman Lesher b2ef18dab4 Add some more IAX2-specific information about the channel to the CHANNEL()
18 years ago
Joshua Colp 7025da48e5 Fix issue where session timer headers were present when they should not have been.
18 years ago
Joshua Colp 51602928e3 Merged revisions 121495 via svnmerge from
18 years ago
Tilghman Lesher 53459f86b2 Expand RQ_INTEGER type out to multiple types, one for each precision
18 years ago
Tilghman Lesher ba622c3431 Add storage of the useragent in the realtime database.
18 years ago
Tilghman Lesher 07265a5033 Added a facility for sending arbitrary SIP notify commands from AMI.
18 years ago
Jeff Peeler c7da6df5e1 Merged revisions 120959 via svnmerge from
18 years ago
Jeff Peeler 0bc65f7465 Merged revisions 120908 via svnmerge from
18 years ago
Jeff Peeler 5934801d84 Merged revisions 120863,120885 via svnmerge from
18 years ago
Tilghman Lesher 9471b87d27 Merge the adaptive realtime branch, which will make adding new required fields
18 years ago
Brett Bryant c1451b5537 This patch adds more detailed statistics for RTP channels, and provides an API call to access it, including maximums, minimums, standard deviatinos,
18 years ago
Joshua Colp 16e401cc68 Merged revisions 119926 via svnmerge from
18 years ago
Joshua Colp e4d1b39bd8 Merged revisions 118646 via svnmerge from
18 years ago
Joshua Colp cfb40367f4 Merged revisions 118558 via svnmerge from
18 years ago
Tilghman Lesher f67e8ec980 Merged revisions 118251 via svnmerge from
18 years ago
Michiel van Baak f1e9371da8 - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause
18 years ago
Joshua Colp c126127fd5 Merged revisions 117574 via svnmerge from
18 years ago
Russell Bryant 29a9d477df Remove duplicate colon on Reason header
18 years ago
Joshua Colp 30aedbade7 Try to fix attended transfers.
18 years ago
Jeff Peeler f97d547aba Fixes a problem I was having with two SIP phones using Packet2Packet bridging dropping audio nearly immediately. The problem was that the lock on the SIP dialog was not being unlocked while the bridge was still active. (Related to issue #12566)
18 years ago
Joshua Colp 46423f6e09 Fix pedanticness.
18 years ago
Olle Johansson eecea3268e Don't add linefeed on received MESSAGE
18 years ago
Olle Johansson f07454f25d Properly declare charset for text messages.
18 years ago
Olle Johansson bb386c84e7 Adding spport for T.140 RED - Simple RTP redundancy to prevent packet loss in text stream
18 years ago
Olle Johansson 47bf217ee8 Merged revisions 116230 via svnmerge from
18 years ago
Olle Johansson 29b1d73567 Add support for codec settings in originate via call file and manager.
18 years ago
Olle Johansson 9c2956a3b0 Reformatting
18 years ago
Olle Johansson 615ed013d3 Adding comments
18 years ago
Mark Michelson 7daebcd610 Adding support for "urgent" voicemail messages. Messages which are
18 years ago
Russell Bryant c02cf176e1 Merged revisions 115561 via svnmerge from
18 years ago
Joshua Colp 4555f32184 Remove redundant header getting.
18 years ago
Russell Bryant e9f62e1d41 Change some NOTICE log messages to debug.
18 years ago
Russell Bryant 2a966cdb03 Merged revisions 115304 via svnmerge from
18 years ago
Tilghman Lesher b11854445b Add attributes to various API calls, to help track down bugs (and remove a deprecated function)
18 years ago
Joshua Colp f4237076bf Add support for specifying the registration expiry on a per registration basis in the register line. This comes from a Switchvox patch. (issue AST-24)
18 years ago
Olle Johansson 4c3aecfc55 Merged revisions 114890 via svnmerge from
18 years ago
Tilghman Lesher 72b5d8d982 Unleak reference
18 years ago
Tilghman Lesher c5f11a59d0 Add 'sip qualify peer <peer>' command (with AMI SIPqualifypeer)
18 years ago
Michiel van Baak 08e674bce0 Pass the hangup cause all the way to the calling app/channel.
18 years ago
Joshua Colp a50b48dacd Hey look, it builds.
18 years ago
Mark Michelson cb80defb68 Merged revisions 114632 via svnmerge from
18 years ago
Olle Johansson 9a4e9f5944 Merged revisions 114603 via svnmerge from
18 years ago
Russell Bryant 767fa7a909 Change a verbose message to debug.
18 years ago
Olle Johansson 2958831a97 Merged revisions 114584 via svnmerge from
18 years ago
Tilghman Lesher b170c36350 Merged revisions 114571 via svnmerge from
18 years ago
Joshua Colp 1e066813ac Add support for authenticating on a NOTIFY request. This is useful for phones that require it when sending them a special packet to get them to do something (such as reload their configuration).
18 years ago
Steve Murphy 161b4abd79 Hopefully, this will resolve the issues that russellb had with this log_show_lock().
18 years ago
Jeff Peeler 41fd7a6a21 (closes issue #6113)
18 years ago
Joshua Colp a79214b5b1 Merged revisions 114322 via svnmerge from
18 years ago
Sean Bright e4dce85331 Merged revisions 114245 via svnmerge from
18 years ago
Steve Murphy 5203c664de Thanks to snuff for finding these omissions
18 years ago
Steve Murphy 5fb4b1bbe5 This is the scariest commit I've done in a long time. This is the astobj2-ification of chan_sip. I've tested a number of scenarios like crazy. It used to have 4x the call setup/teardown performance of trunk, but now it's roughly at parity. I will attempt to find the bottlenecks and get it back to the 4x mark. The changes made were somewhat invasive, but the value to the community of these upgrades outweighs waiting further for more testing. Every change being made to chan_sip was lousing this code up when we tried to merge. Peers, Users, Dialogs, are all now astobj2 objects, indexed via hashtables. Refcounting is used to track objects and free them at the bitter end of their lives. Please file issues on bugs.digium.com, and PLEASE, please, please be patient. One natural advantage to all the hash-table work is that loading large sip.conf files full of thousands of peers now goes much faster. One more please: PLEASE help thrash this code and test it.
18 years ago
Olle Johansson 18866623dc Merged revisions 114148 via svnmerge from
18 years ago
Olle Johansson f239f24580 Adding chanvar to SIPPEER from 1.4 branch
18 years ago
Joshua Colp c5d0ca23f0 Merged revisions 114103 via svnmerge from
18 years ago
Mark Michelson d13b45564b Merged revisions 114045 via svnmerge from
18 years ago
Joshua Colp a4e73acaf8 Merged revisions 114021 via svnmerge from
18 years ago
Mark Michelson 88cc98ea94 Merged revisions 113927 via svnmerge from
18 years ago
Mark Michelson 925924386a Merged revisions 113681 via svnmerge from
18 years ago
Tilghman Lesher fa875c0578 Merged revisions 113348 via svnmerge from
18 years ago
Jeff Peeler bb13bf705e Merged revisions 113013 via svnmerge from
18 years ago
Jeff Peeler 566e073606 Merged revisions 113012 via svnmerge from
18 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.
18 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.
18 years ago
Jeff Peeler 6699761f80 Added dnsmgr status output for sip show registry.
18 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.
18 years ago
Joshua Colp a8be22f9da Merged revisions 112204 via svnmerge from
18 years ago
Joshua Colp dcf4e46d8f Demote a log message down to a warning.
18 years ago
Russell Bryant 76baf34555 This fixes a high fence violation that MALLOC_DEBUG reported to me.
18 years ago
Mark Michelson bf4893fdce This time the fix is proper for issue 12284. I have tested it thoroughly and found
18 years ago
Mark Michelson 3a0f4cc933 Temporary revert of 111662. It's causing lots of trouble and appears to not be
18 years ago
Mark Michelson ca8e44c051 The copy_request function did not take into account the necessary null terminator
18 years ago
Joshua Colp 438361c0b8 Add expiry value to the sip show subscriptions CLI command.
18 years ago
Joshua Colp a3d7dc8903 Merged revisions 111020 via svnmerge from
18 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.
18 years ago
Mark Michelson a49b6591f5 Oops here too. I need to stop coding for a while...
18 years ago
Mark Michelson 67efba6e50 Merged revisions 110635 via svnmerge from
18 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.
18 years ago
Olle Johansson 676d9d3303 Use the "Server" header when responding to SIP requests.
18 years ago
Mark Michelson c05501d812 Remove the "Event: registration" header from Asterisk-generated
18 years ago
Mark Michelson 625f6bd203 Merged revisions 110618 via svnmerge from
18 years ago
Joshua Colp 5a77d16eda Only print out the set_address_from_contact host verbose message if debugging is enabled on the dialog.
18 years ago
Russell Bryant 2860d9f83c Merged revisions 110336 via svnmerge from
18 years ago
Jason Parker 9e3603dac9 Rename DSP_FEATURE_DTMF_DETECT, because we are *NOT* only detecting DTMF digits.
18 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...
18 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.
18 years ago
Russell Bryant 5f7e81b564 Set req->data to NULL after free'ing to ensure that it never gets accidentally
18 years ago
Mark Michelson 8bceb4f2a1 Since a sip request's data field is now a stringfield, we not only have to check
18 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
18 years ago
Joshua Colp 10cdbe28a8 Merged revisions 109386 via svnmerge from
18 years ago
Jason Parker 263c658a6b Do not return with a successful authentication if the From header ends up empty.
18 years ago
Olle Johansson 0de4eba640 Add manager peerstatus events when peer can't authenticate.
18 years ago
Joshua Colp 7980ac1261 Remove something that is never ever used.
18 years ago
Joshua Colp ba63fd28c2 Merged revisions 109107 via svnmerge from
18 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.
18 years ago
Mark Michelson 086d4f0e56 Merged revisions 108737 via svnmerge from
18 years ago
Russell Bryant 5f58a11ff2 Merged revisions 108530 via svnmerge from
18 years ago
Russell Bryant 1a2b358588 Merge changes from team/jamesgolovich/chan_sip-ast_str
18 years ago
Russell Bryant 8bbef5f996 Rename ast_tcptls_server_instance to session_instance, since this pertains to
18 years ago
Mark Michelson ff1527de3d Let's get this to compile
18 years ago
Mark Michelson 39cc1b4f36 Merged revisions 108288 via svnmerge from
18 years ago
Kevin P. Fleming 5ebfa5638a Merged revisions 108086 via svnmerge from
18 years ago
Tilghman Lesher 582d3b4ba7 Deadlock fixes
18 years ago
Terry Wilson a9a3f001e0 Merged revisions 107290 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
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
Tilghman Lesher 7a3f642207 Merged revisions 106015 via svnmerge from
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
Joshua Colp b336ac48cf Merged revisions 105557 via svnmerge from
18 years ago