Commit Graph

7459 Commits (4a4189b085d20baa88daf2fa5c7e191514791fc2)

Author SHA1 Message Date
Richard Mudgett a22b56235b Add ability for chan_dahdi ISDN to block connected line updates per span.
14 years ago
Terry Wilson 699d2bd705 Make hints for invalid SIP devices return Unavail, not idle
14 years ago
Terry Wilson 786f5898d1 Finalize ast_channel opaquification
14 years ago
Igor Goncharovskiy c369a4416b Massive changes in chan_unistim channel driver. Include many fixes in channel driver operation and add additional functionality:
14 years ago
Sean Bright 99bd5b1e2e Eliminate a bunch of shadow warnings.
14 years ago
Jonathan Rose 587cb230b2 Make transfer not ignore port information with SIP.
14 years ago
Richard Mudgett b9a7421482 Change directly setting _softhangup in sig_ss7.c to use ast_softhangup_nolock().
14 years ago
Richard Mudgett 82ac7fb643 Fix ring cadance setup for outgoing calls on FXS ports.
14 years ago
Richard Mudgett a0f8821749 Add dialtone_detect option for analog incoming calls.
14 years ago
Richard Mudgett 85484c050d Drop SS7 call if not connected yet when INCOMPLETE/BUSY/CONGESTION.
14 years ago
Richard Mudgett dda40528ed Setup DSP when SS7 call is connected or early media is available.
14 years ago
Joshua Colp 2736fe9917 Defer sending the connected line reinvite if a reinvite is already in progress.
14 years ago
Kinsey Moore dec0d4f9e3 Ensure Asterisk acknowledges ACKs to 4xx on Replaces errors
14 years ago
Terry Wilson b71deb0518 Fix unused-but-set-variable warnings
14 years ago
Terry Wilson e8f8d2c81e Make chan_usbradio compile under dev mode
14 years ago
Richard Mudgett 9926662aba Remove ISDN hold restriction for non-bridged calls.
14 years ago
Richard Mudgett ced1211fad Fix compile error from latest channel opaquification change.
14 years ago
Sean Bright f6b2f05f8c The default value for mohinterpret is the empty string, so when resetting to
14 years ago
Mark Michelson 4094a9f57e Fix compilation error due to typo during channel opaquification.
14 years ago
Terry Wilson 0e5c761c28 Opaquify ast_channel typedefs, fd arrays, and softhangup flag
14 years ago
Terry Wilson a9d607a357 Opaquify ast_channel structs and lists
14 years ago
Richard Mudgett 764d2ccae2 Use more reasonable cause code when rejecting incoming call waiting calls.
14 years ago
Mark Michelson 1bef7695ce Add a security event for the case where fake authentication challenge is sent.
14 years ago
Richard Mudgett 85ea4277f1 Convert struct ast_tcptls_session_instance to finally use the ao2 object lock.
14 years ago
Jonathan Rose 565f411868 Changes transport option in sip.conf so that using multiple instances doesn't stack.
14 years ago
Sean Bright c20cfcdcf0 Address comments from Mark Michelson
14 years ago
Sean Bright 3cf09f40f7 Convert netsock.h over to use ast_sockaddrs rather than sockaddr_in and update
14 years ago
Jonathan Rose 299dd5d4fc Adds an option to sip.conf that prevents diversion headers from being added.
14 years ago
Sean Bright 9ed6de9fd2 There isn't much point in saving off and restoring a value that we never use again.
14 years ago
Sean Bright 51c24c88a1 Prefer ast_set_qos() over ast_netsock_set_qos()
14 years ago
Richard Mudgett ebe2c33b72 Fix worker thread resource leak in SIP TCP/TLS.
14 years ago
Matthew Jordan 670797e5da Allow SRTP policies to be reloaded
14 years ago
Terry Wilson ebaf59a656 Opaquification for ast_format structs in struct ast_channel
14 years ago
Richard Mudgett 235f88d122 Fix blind transfer parking issues if the dialed extension is not recognized as a parking extension.
14 years ago
Mark Michelson c078a1819c Fix ACK routing for non-2xx responses.
14 years ago
Kevin P. Fleming 25a9b03cd1 Correct some set-but-unused variable warnings in the mISDN library.
14 years ago
Terry Wilson 90a6848c67 Fix chan_misdn after the lastest opaquification changes
14 years ago
Matthew Jordan a8d9e0bf0b Merged revisions 356215 via svnmerge from
14 years ago
Sean Bright 1c971ae604 Make 'iax2 show callnumber usage' output make sense when an IP is passed in.
14 years ago
Terry Wilson 57f42bd74f ast_channel opaquification of pointers and integral types
14 years ago
Sean Bright 25e5eb3b96 Remove spurious warning when 'qualifyfreqnotok' is set successfully.
14 years ago
Sean Bright db487bd7f8 This was a LOG_NOTICE, so roll it back.
14 years ago
Sean Bright 2bd6649a93 Change some debug messages from LOG_DEBUG to ast_debug.
14 years ago
Sean Bright bec0ee0851 Add some boilerplate documentation for IAXVAR and IAXPEER.
14 years ago
Sean Bright 2c1b3144cb Set the length of the ast_sockaddr, so that we can set it's port later.
14 years ago
Alec L Davis a4f6d96b2e push 'outgoing' flag from sig_XXX up to chan_dahdi
14 years ago
Sean Bright 3816fdde94 Don't allow trunkfreq to be greater than 1000ms.
14 years ago
Sean Bright 7c373d8c13 Pass the correct value to ast_timer_set_rate() for IAX2 trunking.
14 years ago
Mark Michelson 8a20faa8d7 Fix regressions with regards to route-set creation on early dialogs.
14 years ago
Sean Bright b69fb773d2 When IAX2 debugging is enabled, make sure to log 'apathetic' messages too.
14 years ago
Sean Bright 45f361c9bd Remove IAX_OLD_FIND from chan_iax2.
14 years ago
Sean Bright 0d12368261 Use TRUNK_CALL_START as originally intended.
14 years ago
Mark Michelson 03894236d0 Properly invert the return of a strncmp call.
14 years ago
Sean Bright 98111f8f1f Clear the high order bit from the destination call number before sending.
14 years ago
Richard Mudgett d8af1a4882 Fix compile error from most recent ast_channel opaquification installment.
14 years ago
Terry Wilson 34c55e8e7c Opaquify char * and char[] in ast_channel
14 years ago
Kinsey Moore 6225c6cadc Fix parsing of SIP headers where compact and non-compact headers are mixed
14 years ago
Terry Wilson e5c51ee44c Add auto_force_rport and auto_comedia NAT options
14 years ago
Matthew Jordan dff9b61f5c Clean-up of minor formatting issues in r354542/3/4
14 years ago
Matthew Jordan ba08e9f4d6 Fix SIP INFO DTMF handling for non-numeric codes
14 years ago
Richard Mudgett 16fbc7e902 Fix some compile problems from the 'cppcheck' patch.
14 years ago
Terry Wilson 3342183016 Add callbackextension matching & realtime callbackextensions
14 years ago
Kevin P. Fleming f0e321b88a Restore some variables removed by the 'cppcheck' patch that were actually needed.
14 years ago
Walter Doekes db24fc2523 Avoid cppcheck warnings; removing unused vars and a bit of cleanup.
14 years ago
Terry Wilson 8ba2d70602 Fix multiple SIP realtime issues
14 years ago
Richard Mudgett a4f5d2c2ef Restore alternate SIG_PRI_DEBUG_DEFAULT meaning.
14 years ago
Kinsey Moore 49ed50d8ac Allow more control over the output of pri debug
14 years ago
Jonathan Rose a898eb4d07 Fixes deadlocks occuring in chan_agent due to r335976
14 years ago
Kinsey Moore 29318afc15 Ensure entering T.38 passthrough does not cause an infinite loop
14 years ago
Richard Mudgett 63c5eaee43 Restore the 'w' modifier support for ISDN spans. Dial(DAHDI/g0/1234w888)
14 years ago
Jonathan Rose 5164196972 Fix sip show peers port output, align columns, and fix ami port output.
14 years ago
Jonathan Rose 0e334d427b Use ast_sockaddr_stringify_fmt wrappers for various functions in chan_sip
14 years ago
Richard Mudgett 23bc964e1c Constify some more channel driver technology callback parameters.
14 years ago
Terry Wilson de57235ac6 Re-link peers by IP when dnsmgr changes the IP
14 years ago
Alec L Davis f92d6412ab Merged revisions 353369 via svnmerge from
14 years ago
Alec L Davis 0ccc1f5274 Merged revisions 353321 via svnmerge from
14 years ago
Kevin P. Fleming 82f313b7b8 Clarify log WARNING message when port-zero SDP 'm' lines received.
14 years ago
Damien Wedhorn 843c7ef088 Allow softkey reject while device onhook.
14 years ago
Richard Mudgett 27b69e7d29 Audit of ao2_iterator_init() usage for v1.8.
14 years ago
Alec L Davis e0ca02fe21 Merged revisions 352863 via svnmerge from
14 years ago
Jonathan Rose f4d98aeb28 Copy amaflags to sip_pvt from peer during create_addr_from_peer
14 years ago
Alec L Davis ed32b1c098 Merged revisions 352705 via svnmerge from
14 years ago
Terry Wilson 080ea28515 Remove some extraneous debugging from registry memleak fix
14 years ago
Richard Mudgett cbe57b11cb Fixes for sending SIP MESSAGE outside of calls.
14 years ago
Terry Wilson 4bf5e3716e Clean up some SIP registry-related memory leaks
14 years ago
Terry Wilson 213f7a65b5 Fix channel opaquification of stringfields for chan_vpb
14 years ago
Mark Michelson 0fe9043233 Don't do a DNS lookup on an outbound REGISTER host if there is an outbound proxy configured.
14 years ago
Terry Wilson 99cae5b750 Opaquify channel stringfields
14 years ago
Richard Mudgett 74508e3bca Fix sip_cfg.notifycid to be set with the defined enum values.
14 years ago
Mark Michelson 02408a2476 Remove XXX comment that is not necessary.
14 years ago
Mark Michelson ab8ba431b6 Fix RTP reference leak.
14 years ago
Richard Mudgett d0c765497d Make CLI sip show channel list the complete route set.
14 years ago
Kinsey Moore c6fd4f5d74 SIP session timeout AMI event
14 years ago
Jonathan Rose 1a6960099b Adds setting of mwi_from field to check_auth_result check_peer_ok
14 years ago
Richard Mudgett ae32acfa3e Misc minor fixes in reqresp_parser.c and chan_sip.c.
14 years ago
Jonathan Rose 6fd0ac9dcd Eliminates doubling the :port part of SIP Notify Message-Account headers.
14 years ago
Joshua Colp ddf421bd5c Prevent crash when an SDP offer is received with an encrypted video stream when support for video is disabled and res_srtp is loaded.
14 years ago
Stefan Schmidt f69fd136f4 The get_pai function in chan_sip.c didn't recognized a proper callerid name and
14 years ago
Mark Michelson 5af788ccd0 Use built-in parsing functions for Contact and Record-Route headers.
14 years ago
Matthew Jordan f86621eb93 Fix udptl issue with initial INVITE introduced by r351027
14 years ago
Russell Bryant 141dd18848 Merged revisions 351183 via svnmerge from
14 years ago
Terry Wilson aacc158072 Ensure ACK retransmit & hangup on non-200 response to INVITE
14 years ago
Terry Wilson fb5924ebe8 Don't prematurely stop SIP session timer
14 years ago
Matthew Jordan e09527b10d Create and initialize udptl only when dialog negotiates for image media
14 years ago
Kevin P. Fleming 0f83634984 Multiple revisions 350788-350789
14 years ago
Mark Michelson 9c161503dc Set port to a default sane value if a bogus one is provided when parsing hostnames.
14 years ago
Matthew Jordan a8276fe8ef Fix crash from bridge channel hangup race condition in ConfBridge
14 years ago
Terry Wilson 04da92c379 Replace direct access to channel name with accessor functions
14 years ago
Richard Mudgett 64d1b247c4 Fix joinable thread terminating without joiner memory leak in chan_iax.c.
14 years ago
Terry Wilson b35a3a5c4a Don't leak CID in From header when presentation=unavailable
14 years ago
Richard Mudgett 963d52f63e Fix segfault in chan_dahdi for CHANNEL(dahdi_span) evaluation on hangup.
14 years ago
Jonathan Rose dd3f9b51c8 Adds Subscription-State header to notify with call completion. per RFC3265
14 years ago
Russell Bryant 1a8b769fdc Fix some minor formatting issues based on coding guidelines.
14 years ago
Russell Bryant 2b2d34b3c9 Constify tag argument in REF_DEBUG related code.
14 years ago
Jonathan Rose 19a4928fee INFO/Record request configurable to use dynamic features
14 years ago
Jonathan Rose 03596bcb47 chan_sip autocreatepeer=persist option for auto-created peers to survive reload
14 years ago
Richard Mudgett 32e35e5fcd Fix extension state callback references in chan_sip.
14 years ago
Damien Wedhorn 48f9a8f668 Fix segfault on answer.
14 years ago
Richard Mudgett e58d4e4093 Fix chan_iax2 to not report an RDNIS number if it is blank.
14 years ago
Stefan Schmidt 7d1c55d093 Fix possible misshandling of an incoming SIP response as a peer poke response.
14 years ago
Walter Doekes 463bfdb400 Fix regression when using tcpenable=no and tlsenable=yes.
14 years ago
Terry Wilson e279b30f5a Don't crash on INFO automon request with no channel
14 years ago
Damien Wedhorn 5952117559 Fix segfault on answer.
14 years ago
Richard Mudgett 7e634c21f8 Make SIP INFO messages for dtmf-relay signals case insensitive.
14 years ago
Walter Doekes e14f572132 Don't allow transport=tcp when tcpenable=no.
14 years ago
Matthew Jordan b8dba87a4c Fixed crash from orphaned MWI subscriptions in chan_sip
14 years ago
Richard Mudgett 938b642245 Restore call progress code for analog ports.
14 years ago
Walter Doekes 6209c5a894 For SIP REGISTER fix domain-only URIs and domain ACL bypass.
14 years ago
Matthew Jordan fa4a7dcc45 Update SIP MESSAGE To parsing to correctly handle URI
14 years ago
Alexandr Anikin db0ed2e5c8 Merged revisions 346763 via svnmerge from
14 years ago
Jonathan Rose 39424ebad2 Change 183 Ringing in sipfrag body to 180 ringing. 183 Ringing isn't even a thing.
14 years ago
Tilghman Lesher 56b21b4683 Remove the few places where we try to ast_verbose() without a newline.
14 years ago
Jonathan Rose 9ef171ffe0 r346525 | jrose | 2011-11-30 15:10:38 -0600 (Wed, 30 Nov 2011) | 18 lines
14 years ago
Jonathan Rose fb4c483eb7 Reverting 346525 due to accidental patch against trunk instead of 1.8
14 years ago
Jonathan Rose 6fa827b5d0 Cleaning up chan_sip/tcptls file descriptor closing.
14 years ago
Tilghman Lesher 77b670c4ab Allow each logging destination and console to have its own notion of the verbosity level.
14 years ago
Richard Mudgett 7d9ba4875b Fix calls to ast_get_ip() not initializing the address family.
14 years ago
Walter Doekes 2ee874178e Minor cleanup in chan_sip get_msg_text() function.
14 years ago
Kinsey Moore e6ca768081 Fix res_jabber resource leaks
14 years ago
Matthew Jordan 76394a727f Fixed SendMessage stripping extension from To: header in SIP MESSAGE
14 years ago
Terry Wilson 32d0faac9c Default to nat=yes; warn when nat in general and peer differ
14 years ago
Richard Mudgett 4a125f45a0 Remove dead code since pri_grab() can never fail.
14 years ago
Richard Mudgett bd4f81b51f Fix typo in sig_pri using wrong structure name.
14 years ago
Richard Mudgett 113612b9d6 Restore SIP DTMF overlap dialing method.
14 years ago
Walter Doekes 6ef49c3214 Update reqresp_parser parse_uri doxygen comments.
14 years ago
Kinsey Moore 818ac23b92 Ensure that a null vmexten does not cause a segfault
14 years ago
Gregory Nietsky 3845299e46 mISDN Round Robin break when no channel is available
14 years ago
Walter Doekes 863d7189b9 Remove unneeded if(params) checks in reqresp_parser.
14 years ago
Kinsey Moore a4365a8ae2 Fix regression introduced by SDP fixups
14 years ago
Richard Mudgett e48cecc848 Check sip.conf maxforwards parameter for range 1 <= x <= 255.
14 years ago
Kinsey Moore c225800646 Fix several bugs with SDP parsing and well-formedness of responses
14 years ago
Richard Mudgett 6d481420ce Fix deadlock during dialplan reload.
14 years ago
Terry Wilson 04f04ff39d Don't treat a host:port string as a domain
14 years ago
Richard Mudgett 9537f22c54 Residual changes for Asterisk v10 branch from ASTERISK-18747.
14 years ago
David Vossel 5cb719acec Merged revisions 343900 via svnmerge from
14 years ago
Richard Mudgett cee432c9d8 Fixed reference to incorrect variable if unknown host configured crash.
14 years ago
Kinsey Moore 5249a147b8 Make "sip show settings" CLI command get RPID flags from the right global page
14 years ago
Matthew Nicholson 2b6ebcb9e9 respect case changes in peer names on sip reload
14 years ago
Richard Mudgett 98e494d4a0 Fix __sip_subscribe_mwi_do() incorectly changing dialogs hash key callid.
14 years ago
Kinsey Moore 1c526d3d7d Prevent BLF subscriptions from causing deadlocks
14 years ago
Richard Mudgett 7a5f6684f0 Fix deadlock if peer is destroyed while sending MWI notice.
14 years ago
Terry Wilson e28d306387 Make room for the fax detect flags
14 years ago
Terry Wilson 7f883ef495 Remove registertrying option in chan_sip
14 years ago
Walter Doekes f7bdc835a4 Fix improper warning introduced by r342927 and more tweaks
14 years ago
Walter Doekes b41b49ea0e Several fixes to the chan_sip dynamic realtime peer/user lookup
14 years ago
Matthew Jordan 9333071c1f Fixed invalid memory access when adding extension to pattern match tree
14 years ago
Richard Mudgett 6cf08ad550 Change D-channel warning to be less confusing on non-NFAS setups.
14 years ago
Jonathan Rose 05c6628c55 Outbound SIP OPTIONS messages will now include fromuser of related peer.
14 years ago
Paul Belanger 1ed8cd087a Outgoing calls with Google Voice
14 years ago
Terry Wilson 5f8648892f Don't use is_int() since it doesn't link well on all platforms
14 years ago
Stefan Schmidt 2816ccc516 Don't sent in-dialog requests like UPDATE when Asterisk has not yet received a Contact URI from a UAS
14 years ago
Terry Wilson b0076c5be1 Don't resolve numeric hosts or contact unresolved hosts
14 years ago
Richard Mudgett 10de040b6e More parking issues.
14 years ago
Terry Wilson 9f83c2b513 Initialize variables before calling parse_uri
14 years ago
Terry Wilson 2cb5178d29 Don't try to remove peers without IPs from peers_by_ip
14 years ago
Damien Wedhorn 899df042f5 Fix simple switch to not progress a call when call already progressed.
14 years ago
Kinsey Moore 4b9546abdf Merged revisions 340971 via svnmerge from
14 years ago
Stefan Schmidt c48bee8e82 Merged revisions 340718 via svnmerge from
14 years ago
Terry Wilson 5c77498afd Initialize ast_sockaddr before calling ast_sockaddr_resolve
14 years ago
Stefan Schmidt ee8844782c Merged revisions 340577 via svnmerge from
14 years ago
Terry Wilson e7ebf7d5ab Merged revisions 340578 via svnmerge from
14 years ago
Richard Mudgett 3bc3e9bbb7 Initialize the PRI channel alarms properly on startup.
14 years ago
Paul Belanger f2cc666a99 Fix verbose messages when IPv6 logic was added
14 years ago
Richard Mudgett 9abab10b66 Add protection for SS7 channel allocation and better glare handling.
14 years ago
Richard Mudgett b63c1cc545 Fix some potential deadlocks pointed out by helgrind.
14 years ago
Matthew Jordan 4ec8d57454 Merged revisions 340165 via svnmerge from
14 years ago
Damien Wedhorn 7cb2ac8664 Add skinny version 17 protocol support.
14 years ago
Damien Wedhorn c5546e2bd7 Increase SKINNY_MAX_PACKET and add some logging.
14 years ago
Damien Wedhorn 0ac40dc255 Merged revisions 340031 via svnmerge from
14 years ago
Damien Wedhorn b90964eda5 Merged revisions 339992 via svnmerge from
14 years ago
Igor Goncharovskiy 7e5ce2ac49 Merged revisions 339942 via svnmerge from
14 years ago
Igor Goncharovskiy 326c3a39d5 Merged revisions 339885 via svnmerge from
14 years ago
Igor Goncharovskiy a01b34f488 Merged revisions 339831 via svnmerge from
14 years ago
Damien Wedhorn d59bb319fc Fixed segfault on core stop gracefully.
14 years ago
Richard Mudgett 2f82296096 Merged revisions 339626 via svnmerge from
14 years ago
Leif Madsen 34bf1527e8 Merged revisions 339148 via svnmerge from
14 years ago
Terry Wilson 2644af39b4 Merged revisions 339088 via svnmerge from
14 years ago
Richard Mudgett cb0a0a9f29 Merged revisions 338801 via svnmerge from
14 years ago
Olle Johansson 260648043b Formatting changes only
14 years ago
Richard Mudgett 977742747d Fix formatting of AMI header for SIP show peer.
14 years ago