Commit Graph

2692 Commits (0ef680cff0d1bd1ccc69119cc45be895824eb266)

Author SHA1 Message Date
Richard Mudgett 4ca5745dbe AST-2014-007: Fix DOS by consuming the number of allowed HTTP connections.
12 years ago
Kevin Harwell 870394c051 res_pjsip_pubsub: unauthenticated remote crash in PJSIP pub/sub framework
12 years ago
Mark Michelson e6cb6974fe Fix potential deadlock situation in res_pjsip.
12 years ago
Joshua Colp 58f4c18ab6 res_pjsip_pubsub: Persist subscriptions in sorcery so they are recreated on startup.
12 years ago
Jonathan Rose a0adb8a26b PJSIP: PJSIPNotify - Strip content-length headers and add documentation
12 years ago
Mark Michelson 45db91dd98 chan_pjsip: Fix bug where custom SIP headers could be duplicated on outgoing INVITEs.
12 years ago
Kinsey Moore 5510e3c699 PJSIP: Remove premature write of raw formats
12 years ago
Kevin Harwell e763d70470 res_http_websocket: Create a websocket client
12 years ago
Matthew Jordan 4f603c5da3 res_pjsip_session: Add debug statement for session refreshes
12 years ago
Kinsey Moore 00077c46db PJSIP: Prevent crash on blind transfer
12 years ago
Matthew Jordan 53968c00b3 TALK_DETECT: A channel function that raises events when talking is detected
12 years ago
Matthew Jordan fb5690ce4b Logger/CLI/etc.: Fix some aesthetic issues; reduce chatty verbose messages
12 years ago
Richard Mudgett 69125a7ae2 res_pjsip_session: Fix leaked video RTP ports.
12 years ago
Joshua Colp dcfae78574 res_config_odbc: Use dynamically sized buffers to store row data so values do not get truncated.
12 years ago
Walter Doekes b14a4389e6 res_config_odbc: Fix old and new ast_string_field memory leaks.
12 years ago
Scott Griepentrog cf21644d6a ARI: Add ability to raise arbitrary User Events
12 years ago
Jonathan Rose d00882108f res_pjsip_refer: Fix bugs involving Parking/PJSIP/transfers
12 years ago
Matthew Jordan 9cee08f502 res_corosync: Update module to work with Stasis (and compile)
12 years ago
Paul Belanger 4988d4932b Replace __ast_answer with ast_raw_answer in app_control_answer
12 years ago
Matthew Jordan 42a1dee02d Undo r414123
12 years ago
Matthew Jordan 17ff4d9282 bridge_native_rtp/bridge_channel: Fix direct media issues due to frame hook
12 years ago
Walter Doekes 8fd6a88633 res_musiconhold: Minor cleanup.
12 years ago
Walter Doekes 0eda637fc4 h264: Fix H264 SDP payload format.
12 years ago
Kinsey Moore abd3e4040b Allow Asterisk to compile under GCC 4.10
12 years ago
Mark Michelson 2d572eafb9 Fix encoding of custom prepare extra data.
12 years ago
Mark Michelson 065bd7d703 Improve XML sanitization in NOTIFYs, especially for presence subtypes and messages.
12 years ago
Mark Michelson 9eae6c3f5b Check for an act on failures to update contacts during registration.
12 years ago
Mark Michelson 3f5d4516bd Ensure that all parts of SQL UPDATEs and DELETEs are encoded.
12 years ago
Mark Michelson ff1841fcfb Prevent crashes in res_config_odbc due to uninitialized string fields.
12 years ago
Mark Michelson ff1658ed3b Return the number of rows affected by a SQL insert, rather than an object ID.
12 years ago
Richard Mudgett 119599407b res_pjsip_refer: Add Referred-By header on INVITE for blind transfers.
12 years ago
Jonathan Rose 57372e61d2 Parking: Add 'AnnounceChannel' argument to manager action 'Park'
12 years ago
Mark Michelson fc4c5ca3de Remove unnecessary repetition checks from res_pjsip_exten_state
12 years ago
Joshua Colp 45a7132480 res_pjsip: Add the ability to configure ciphers based on name.
12 years ago
Richard Mudgett 20750e261b chan_sip.c: Fixed off-nominal message iterator ref count and alloc fail issues.
12 years ago
Kinsey Moore a7fc217837 Websocket: Add session locking and delay close
12 years ago
Joshua Colp 10f4d0f65d res_stasis: Add progress indications to operations which perform media.
12 years ago
Joshua Colp 7378d3e054 res_pjsip_sdp_rtp: Fix issue where sending a hold SDP twice could cause an unhold.
12 years ago
Joshua Colp 56ca10c7f1 chan_pjsip: Add support for picking up calls in the configured pickup group.
12 years ago
Mark Michelson 7dd64ff993 Add DeviceStateChanged and PresenceStateChanged AMI events.
12 years ago
Matthew Jordan bf81470083 res_rtp_asterisk: Add support for DTLS handshake retransmissions
12 years ago
Russell Bryant 4b9b4790d9 Fix error loading res_monitor.
12 years ago
Joshua Colp 9b71a87108 res_stasis: Fix crash when handling a failed blind transfer message.
12 years ago
Jonathan Rose b9d7dfcc62 ARI: Make bridges/{bridgeID}/play queue sound files
12 years ago
Mark Michelson f5b8ab445f Allow for multiple contacts to be configured in a single contact= line.
12 years ago
Kinsey Moore 9a85fc0aa0 ARI: Add debug logging for events and responses
12 years ago
Joshua Colp 1a9ff2fffb res_pjsip: Handle reloading when permanent contacts exist and qualify is configured.
12 years ago
Jonathan Rose a8742e327f ARI: Add tones playback resource
12 years ago
Kevin Harwell 3043cd363d res_pjsip_refer: Channel variable SIPREFERTOHDR not being set during blind transfer
12 years ago
Russell Bryant 5b7a769fd8 (mix)monitor: Add options to enable a periodic beep
12 years ago
Richard Mudgett ba1db5d8f5 Eliminate some more unnecessary RAII_VAR() uses.
12 years ago
Richard Mudgett 45ade68cb4 Remove unused RAII_VAR() declarations.
12 years ago
Kinsey Moore d6e2c50058 bridging: Ensure locking during snapshot creation
12 years ago
Russell Bryant af95d8c1d2 monitor: use app options parsing helper code
12 years ago
Matthew Jordan 0c1342bd2b res_hep_pjsip: Use the channel name instead of the call ID when it is available
12 years ago
Kevin Harwell 6905ac0f5e res_pjsip_pubsub: Set the body generation result to 0 for a valid path
12 years ago
Kinsey Moore c613ef6b30 res_stasis_answer: Add missing newlines
12 years ago
Joshua Colp 909f835066 res_pjsip: Ignore explicit transport configuration if a WebSocket transport is specified.
12 years ago
Kinsey Moore fcb04d889a PJSIP: Ensure test event has new state
12 years ago
Kinsey Moore 62e2bf68f0 Stasis: Fix Stasis() bridge refcount issue
12 years ago
Kinsey Moore 5d9a1281ee PJSIP: Fix crash introduced in r411671
12 years ago
Richard Mudgett 9be438299d Add some asserts that were handy when looking for a stasis cache problem.
12 years ago
Kinsey Moore 045285f8e3 res_pjsip_pubsub: Add test event for state change
12 years ago
Matthew Jordan db5bd60c2a res_hep: Fix crash when hep.conf not available
12 years ago
Mark Michelson eefcb79bfb Prevent duplicate sorcery wizards from being applied to sorcery object types.
12 years ago
Richard Mudgett c704795dcb res_parking: Minor tweaks.
12 years ago
Matthew Jordan ef0c9fe4d8 res_hep/res_hep_pjsip: Add a HEPv3 capture agent module and a logger for PJSIP
12 years ago
Matthew Jordan a438a0e65f res_config_odbc: Fix for nullable integer columns and keyfield existence check in update_odbc.
12 years ago
Corey Farrell fbe0dfaf44 Fix dialplan function NULL channel safety issues
12 years ago
Sean Bright c32fe8b8e5 ARI: Don't complain about missing ARI users when we aren't enabled
12 years ago
Mark Michelson 2bf37a417d Add a "message_context" option for PJSIP endpoints.
12 years ago
Richard Mudgett c1c8300e27 res_pjsip: Fix contact authenticate_qualify endpoint lookup when qualifing a contact.
12 years ago
Jonathan Rose eb0a982f8c ARI: Resolve a subscription leak against implicit bridge subscriptions
12 years ago
Richard Mudgett 236d17362d res_pjsip_registrar.c: Miscellaneous cleanup in rx_task().
12 years ago
Sean Bright b44d324891 Make the AEL load process less chatty.
12 years ago
Sean Bright 14942ecb17 Revert r410981. aelparse blew up.
12 years ago
Sean Bright 922d0b7565 Make the AEL load process less chatty.
12 years ago
Richard Mudgett 1ba13718fc assigned-uniqueids: Miscellaneous cleanup and fixes.
12 years ago
Mark Michelson 57239bfe37 PJSIP: Allow for identify sections to be specified in sorcery.conf.
12 years ago
Joshua Colp 326153d949 res_stasis: Fix a bug where the default bridge type was not set.
12 years ago
Joshua Colp 1cf74b8776 res_stasis: Extend bridge type to be a comma separated list of bridge attributes.
12 years ago
Matthew Jordan e33e003f78 res_ari: Fix documentation schema error
12 years ago
Rusty Newton 35fb3a564b res_ari: Add notes about Asterisk HTTP server to the "enabled" config option for the res_ari general section
12 years ago
Joshua Colp 216b04e6f4 res_pjsip: Fix memory leak of nameservers in off-nominal resolver creation failure.
12 years ago
Sean Bright 8357027080 res_fax_spandsp: Use g711_free() when available.
12 years ago
Joshua Colp cc40bf5317 res_pjsip: Enable PJSIP DNS client support.
12 years ago
Joshua Colp 932fb5a6e2 res_pjsip_multihomed: Make address replacement less aggressive.
12 years ago
Mark Michelson eba91d2a98 Revert changes to sorcery that accidentally got committed.
12 years ago
Mark Michelson d44aefeef4 Fix stuck channel in ARI through the introduction of synchronous bridge actions.
12 years ago
Matthew Jordan 2c5484c869 stasis/app.c: Add some extra debugging for subscription counts
12 years ago
Mark Michelson 9665c2d3eb Handle the return values of realtime updates and stores more accurately.
12 years ago
Mark Michelson 1fc33bc795 Prevent conflicts regarding unsolicited and solicited MWI to an endpoint.
12 years ago
Jonathan Rose ff63012c4e PJSIP: TOS values should be represented as decimals in sorcery objects
12 years ago
Jonathan Rose 4c2b1c225b ARI/bridges: Forward Playback/Recording Started/Finished to bridge topic
12 years ago
Richard Mudgett 66718a06f7 res_mwi_external: Clear the stasis cache entry when the external MWI is deleted.
12 years ago
Kinsey Moore 5247a0d990 ARI: Ensure managing application receives ChannelEnteredBridge messages
12 years ago
Joshua Colp 1b5c098976 Multiple revisions 410509-410510
12 years ago
Richard Mudgett f627a0aca0 res_musiconhold.c: Generate MOH start/stop events whenever the MOH stream is started/stopped.
12 years ago
Joshua Colp d00c1ac23e res_pjsip_multihomed: Fix a bug where outgoing messages for TCP would go out using UDP.
12 years ago
Joshua Colp 2fa1ff6e75 res_pjsip_multihomed: Add module which places the correct address within messages.
12 years ago
Scott Griepentrog ef69b5176d unqiueid: correct max uniqueid length test
12 years ago
Joshua Colp aa57dcf634 AST-2014-003: res_pjsip: When handling 401/407 responses don't assume a request will have an endpoint.
12 years ago
George Joseph 3ff60b75b1 pjsip_cli: Create pjsip show channel and contact, and general cli code cleanup.
12 years ago
Matthew Jordan 5ca081e053 resource_channels: Check if a passed in ID is NULL before checking its length
12 years ago
Matthew Jordan dd603ca96f res_pjsip: Fix documentation for one touch recording see-also links
12 years ago
Mark Michelson c162101d69 Make res_sorcery_realtime filter unknown retrieved results.
12 years ago
Scott Griepentrog feae552139 pjsip: allow and disallow show same codecs
12 years ago
Scott Griepentrog 80ef9a21b9 uniqueid: channel linkedid, ami, ari object creation with id's
12 years ago
Russell Bryant fbf8700c10 moh: fix a refcount error with realtime MOH
12 years ago
George Joseph a4906e9f86 sorcery: Create AST_SORCERY dialplan function.
12 years ago
Jonathan Rose f0b8590c14 pjsip configuration: Make transport TOS values consistent with endpoints
12 years ago
Joshua Colp 3f730662f7 res_stasis_recording: Add a "target_uri" field to recording events.
12 years ago
Mark Michelson 59ff66ef02 Don't attempt to link in an aggregate MWI subscription if an endpoint does not aggregate MWI.
12 years ago
Matthew Jordan 38da8d2fda res_fax_spandsp: Fix crash when passing ulaw/alaw data to spandsp
12 years ago
Richard Mudgett 4515cb3145 res_musiconhold.c: Remove some unnecessary RAII_VAR() usage.
12 years ago
Moises Silva bcb0f94604 Fix res/res_http_websocket.c build failure in 32bit due to incorrect print format for uint64_t
12 years ago
Moises Silva e4e5cfa9b8 Fix WebRTC over WSS not working
12 years ago
Jonathan Rose a0fff439ab res_rtp_asterisk: Fix one way audio problems with hold/unhold when using ICE
12 years ago
Joshua Colp c5bd5be298 res_stasis_recording: Fix memory leak of the absolute name.
12 years ago
Joshua Colp 597690f363 res_pjsip_session: Set options (100rel, timers) on incoming sessions.
12 years ago
Jonathan Rose a40ea867cd Multiple revisions 409129-409130
12 years ago
Matthew Jordan 83b2063ea5 res_pjsip_sdp_rtp: Apply packetization rules on inbound SDP handling
12 years ago
Joshua Colp 0e279c215e res_ari: Make some additional error responses consistent with the rest of the system.
12 years ago
Kinsey Moore c3123956cd PJSIP: Prevent crash if channel has gone away
12 years ago
Kevin Harwell 73ad9430e8 res_pjsip_exten_state: Presence for digium phones
12 years ago
Kevin Harwell eee4313fe8 res_pjsip_send_to_voicemail: transferring to voicemail for digium phones
12 years ago
Corey Farrell e468e73b9e Remove extra defines of AST_PBX_MAX_STACK.
12 years ago
Richard Mudgett d277f3ec3e json: Fix off-nominal json ref counting issues.
12 years ago
George Joseph 39a450d924 pjsip_cli: Add pjsip commands 'show registrations' and 'show contacts'.
12 years ago
George Joseph 31a18c14b8 pjsip_cli: Fix memory leak in ast_sip_cli_print_sorcery_objectset.
12 years ago
George Joseph a94c8562fd sorcery: Create sorcery instance registry.
12 years ago
Matthew Jordan 8e1c5b62be res_pjsip: Update documentation for 'use_avpf' option
12 years ago
Richard Mudgett 61a4a98ed9 res_sorcery_astdb.c: Fix regex handling and keep simple prefix matching performance.
12 years ago
Mark Michelson ed66eefdf0 Store SIP User-Agent information in contacts.
12 years ago
Mark Michelson 584f9bafa0 Remove all PJSIP MWI-specific use from our MWI code.
12 years ago
Mark Michelson db0d0363af Fix crash in AMI PJSIPShowEndpoint action.
12 years ago
Matthew Jordan 0ebbeac69f ari/resource_channels: Add channel variables earlier in the creation process
12 years ago
Walter Doekes 72bf9b1315 res_config_pgsql: Fix ast_update2_realtime calls.
12 years ago
Joshua Colp e8e2f91bba timing: Improve performance for most timing implementations.
12 years ago
Richard Mudgett b5ca213e34 res_pjsip: Updates and adds more PJSIP CLI commands.
12 years ago
Kevin Harwell 99f8f0f80a res_pjsip: When no global type the debug option defaults to "yes"
12 years ago
Richard Mudgett 844df94f9b res_pjsip: Fix assertion for pjsip.conf authorization list options.
12 years ago
Joshua Colp 61aa7ce7f7 res_clialiases: Fix crash when reloading and re-aliasing an alias that is in use.
12 years ago
Joshua Colp e5899852cc res_stasis: Enable transfers and provide events when they occur.
12 years ago
Kevin Harwell 10e38fb10c res_pjsip: Config option to enable PJSIP logger at load time.
12 years ago
Kevin Harwell f5bb5b3e8c res_pjsip_exten_state: Exporting global symbols caused load order issues
12 years ago
Mark Michelson f55abe9cf1 Decouple subscription handling from NOTIFY/PUBLISH body generation.
12 years ago
Kevin Harwell 6b114b654e res_pjsip_mwi: Subscribe fails when missing aor name
12 years ago
Kinsey Moore d5431ed358 PJSIP: Fix address for ACK in NAT situations
12 years ago
Corey Farrell c35d07950f res_rtp_asterisk & udptl: fix port selection to work with SELinux restrictions
12 years ago
Kevin Harwell 565198b44b res_pjsip_pubsub: potential crash on timeout
12 years ago
Kevin Harwell 01a537d515 res_pjsip,compat: INFINITY and NAN undefined
12 years ago
Kinsey Moore 3eae87fdfe ARI: Make double subscribe respond with success
12 years ago
Joshua Colp ff455ee2aa res_pjsip_session: Be less strict with core requested outgoing capabilities.
12 years ago
Jonathan Rose b78d0c0187 res_config_pgsql: Fix a memory leak and use RAII_VAR for cleanup when practical
12 years ago
Mark Michelson 9b8f2db47e Multiple revisions 406294-406295
12 years ago
Kinsey Moore 761d7271d4 res_stasis_playback: Correct error argument order
12 years ago
Rusty Newton a1d6e8ebab res_pjsip: Documentation improvement for Endpoint and AOR mailbox options.
12 years ago
Kinsey Moore e0da867dbe PJSIP: Handle headers in a list appropriately
12 years ago
Kinsey Moore 1590d32ab0 ARI: Support channel variables in originate
12 years ago
Scott Griepentrog 2b14601bdc pjsip: fix support for allow=all
12 years ago
Rusty Newton 926081461b Fixing some XML syntax issues with my previous commit at r405777 for ASTERISK-23071
12 years ago
Rusty Newton 3fb2906955 res_pjsip: enhance documentation for mailboxes options, for both endpoints and aors
12 years ago
Walter Doekes 72cb7a254f Enable wide band audio in musiconhold streams.
12 years ago
Kevin Harwell 1f6c34a6c9 res_pjsip: AOR option qualify_frequency not respected on startup
12 years ago
Kinsey Moore fc241d6f52 PJSIP: Fix outbound OPTIONS support
12 years ago
Kevin Harwell a48798ce95 res_fax: check_modem_rate() returned incorrect rate for V.27
12 years ago
Kinsey Moore 7cbb6eab15 PJSIP: Add Path header support
12 years ago
Jonathan Rose aa9db707c5 ARI: Add mailboxes resource for controlling and polling external MWI
12 years ago
Mark Michelson aced8bdd2e Fix erroneous behavior when sending auth rejection to artificial endpoint.
12 years ago
Kinsey Moore f1497fe220 res_pjsip: Fix CLI tab completion issues
12 years ago
Joshua Colp 8585340b87 res_ari: Fix various memory leaks.
12 years ago
Mark Michelson 60ed8159a1 Print "<unknown>" for artificial endpoint in PJSIP security events.
12 years ago
Jonathan Rose 42b087c2df PJSIP: Add unhold on reinvite without SDP behavior
12 years ago
Kevin Harwell 04c5c39d56 res_pjsip_messaging: potential for field values in from/to headers to be missing
12 years ago
Kinsey Moore 51901aa2ed astobj2: Correct ao2_iterator opacity violations
12 years ago
Kevin Harwell bce38c0cc5 res_rtp_asterisk: Fails to resume WebRTC call from hold
12 years ago
Mark Michelson 9674196009 Use proper case for checking if digest authentication is used.
12 years ago
Joshua Colp 34c595beb9 res_pjsip_acl: Fix another case of assuming a contact will always contain a URI.
12 years ago
Joshua Colp f89ab79862 res_pjsip_nat: Don't assume a Contact header will always contain a URI.
12 years ago
Richard Mudgett 61f215250e External MWI AMI support.
12 years ago
Richard Mudgett 9fa171e547 External MWI core support.
12 years ago
Joshua Colp 986c9e897d res_pjsip_outbound_registration: Don't assume that a registration client will always exist.
12 years ago
Joshua Colp 11f18e4724 res_pjsip_outbound_registration: Create registration client in pj thread.
12 years ago
Matthew Jordan f8b55f16d2 res_pjsip_logger: Add the ASTERISK_FILE_VERSION macro
12 years ago
Matthew Jordan c6df713da7 res_pjsip_authenticator_digest: Fix md5 hash buffer
12 years ago
Joshua Colp 0ae89e7b7e res_pjsip: Ensure more URI validation happens in pj threads.
12 years ago
Joshua Colp f0f23655c9 res_pjsip_outbound_registration: Ensure URI validation happens in a pjlib thread.
12 years ago
Kevin Harwell 821ab51381 res_pjsip: add 'set_var' support on endpoints
12 years ago
Joshua Colp f720a9ac89 chan_pjsip: Handle hanging up before calling.
12 years ago
Joshua Colp e583dca9dd res_pjsip_endpoint_identifier_ip: Accept hostnames in the 'match' field.
12 years ago
Joshua Colp 135b9d3562 res_pjsip_outbound_registration: Add validation for 'server_uri' and 'client_uri'.
12 years ago
Joshua Colp c3d5c41dae res_pjsip_pubsub: Ensure dialog manipulation happens on proper thread.
12 years ago
Matthew Jordan 5a15803a1b res_pjsip/pjsip_cli: fix compilation error caused by passing ast_free
12 years ago
David M. Lee 40a7f68e4b ari: Remove support for specifying channel vars during origination.
12 years ago
Matthew Jordan b172d369c4 res_pjsip: Add PJSIP CLI commands
12 years ago
Mark Michelson 344cdab3a7 Fix issue where PJSIP blind transferer dialog may not complete as planned.
12 years ago
Matthew Jordan 7ddfe12aff res_stasis_device_state: Set resource type for subscriptions to deviceState
12 years ago
Richard Mudgett 72c282cc66 ao2_iterator: Mini-audit of the ao2_iterator loops in the new code files.
12 years ago
Joshua Colp 433c6f010f res_pjsip: Ignore 401/407 responses for transactions and dialogs we don't know about.
12 years ago