asterisk/res/res_pjsip
George Joseph 29ef6571cb res_pjsip: Refactor endpt_send_transaction (qualify_timeout)
This patch refactors the transaction timeout processing to eliminate
calling the lower level public pjsip functions and reverts to calling
pjsip_endpt_send_request again.  This is the result of me noticing
a possible incompatibility with pjproject-2.4 which was causing
contact status flapping.

The original version of this feature used the lower level calls to
get access to the tsx structure in order to cancel the transaction
when our own timer expires. Since we no longer have that access,
if our own timer expires before the pjsip timer, we call the callbacks
and just let the pjsip transaction take it's own course.  When the
transaction ends, it discovers the callbacks have already been run
and just cleans itself up.

A few messages in pjsip_configuration were also added/cleaned up.

ASTERISK-25105 #close

Change-Id: I0810f3999cf63f3a72607bbecac36af0a957f33e
Reported-by: George Joseph <george.joseph@fairview5.com>
Tested-by: George Joseph <george.joseph@fairview5.com>
2015-05-22 10:17:32 -05:00
..
include Modules: Make ast_module_info->self available to auxiliary sources. 2015-05-04 20:47:01 -04:00
config_auth.c res_pjsip: make it unloadable (take 2) 2015-01-27 19:12:56 +00:00
config_domain_aliases.c res_pjsip: Move internal init/destroy prototypes to private header file. 2015-03-11 16:39:29 +00:00
config_global.c res_pjsip: Add global option to limit the maximum time for initial qualifies 2015-04-16 16:44:45 -05:00
config_system.c res_pjsip: add CLI command to show global and system configuration 2015-04-09 22:07:50 +00:00
config_transport.c clang compiler warnings: Fix -Winitializer-overrides 2015-03-28 12:32:42 +00:00
location.c res_pjsip: Fix SEGV on pending-qualify contacts 2015-04-27 12:19:06 -05:00
pjsip_cli.c res_pjsip: Add "pjsip show version" CLI command. 2015-02-15 16:01:09 +00:00
pjsip_configuration.c res_pjsip: Refactor endpt_send_transaction (qualify_timeout) 2015-05-22 10:17:32 -05:00
pjsip_distributor.c res_pjsip: make it unloadable (take 2) 2015-01-27 19:12:56 +00:00
pjsip_global_headers.c res_pjsip: Fixed invalid empty Server and User-Agent SIP headers. 2015-03-11 15:22:01 +00:00
pjsip_options.c Modules: Make ast_module_info->self available to auxiliary sources. 2015-05-04 20:47:01 -04:00
pjsip_outbound_auth.c res_pjsip_outbound_registration: Don't fail on delayed processing. 2015-04-29 12:04:06 -05:00
pjsip_resolver.c res_pjsip: Add external PJSIP resolver implementation using core DNS API. 2015-04-15 10:47:53 -03:00
presence_xml.c res_pjsip: Remove incorrect MODULEINFO from presence_xml.c. 2015-04-29 07:46:03 -04:00
security_events.c git migration: Refactor the ASTERISK_FILE_VERSION macro 2015-04-13 03:48:57 -04:00