Dashboard

Merge "Local channels: Alternate solution to ringback problem." into certified/13.1

lib/python/asterisk/ari: Call parent object initializor for Autobahn 0.10.5-2

In Autobahn release 0.10.5-2, a parent object of the WebSocket client protocol

added an 'is_closed' member variable. If the initializor of the parent class

is never called, the attribute is not created an an exception will be thrown

when the WebSocket disconnects. This patch corrects that issue by properly

calling the parent objects' initializors on creation of our ARI client

protocol.

Change-Id: Ie228090f61dacfcc482188ae8ba82c26f76e2dda

Merge "res_pjsip: Add common ast_sip_get_host_ip API." into certified/13.1

Merge "res_pjsip: Add common ast_sip_get_host_ip API." into 13

Merge "res_pjsip: Add common ast_sip_get_host_ip API."

Merge "Chaos: make hangup NULL tolerant"

Merge "Chaos: make hangup NULL tolerant" into 13

Chaos: handle failed allocation in get_media_encryption_type

If the ast_strndup() call fails to allocate a copy of the

transport string for parsing, fail gracefully.

ASTERISK-25323

Reported by: Scott Griepentrog

Change-Id: Ia4b905ce6d03da53fea526224455c1044b1a5a28

Chaos: handle failed allocation in get_media_encryption_type

If the ast_strndup() call fails to allocate a copy of the

transport string for parsing, fail gracefully.

ASTERISK-25323

Reported by: Scott Griepentrog

Change-Id: Ia4b905ce6d03da53fea526224455c1044b1a5a28

Chaos: make hangup NULL tolerant

In chan_pjsip_new, if allocation of the pvt

structure fails, ast_hangup is called. But

it was written to assume pvt was valid, and

this change corrects that.

ASTERISK-25323

Reported by: Scott Griepentrog

Change-Id: I5f47860fe9cee4cd56abd3f79b108678ab72cc87

Chaos: make hangup NULL tolerant

In chan_pjsip_new, if allocation of the pvt

structure fails, ast_hangup is called. But

it was written to assume pvt was valid, and

this change corrects that.

ASTERISK-25323

Reported by: Scott Griepentrog

Change-Id: I5f47860fe9cee4cd56abd3f79b108678ab72cc87

chan_sip: Allow call pickup to set the hangup cause.

The call pickup implementation in chan_sip currently sets the channel

hangup cause to "normal clearing" if call pickup is successfully

performed. This action overwrites the "answered elsewhere" hangup cause

set by the call pickup code and can result in the SIP device in

question showing a missed call when it should not.

This change sets the hangup cause to "normal clearing" as a

default initially but allows the call pickup to change it as

needed.

ASTERISK-25346 #close

Change-Id: I00ac2c269cee9e29586ee2c65e83c70e52a02cff

chan_sip: Allow call pickup to set the hangup cause.

The call pickup implementation in chan_sip currently sets the channel

hangup cause to "normal clearing" if call pickup is successfully

performed. This action overwrites the "answered elsewhere" hangup cause

set by the call pickup code and can result in the SIP device in

question showing a missed call when it should not.

This change sets the hangup cause to "normal clearing" as a

default initially but allows the call pickup to change it as

needed.

ASTERISK-25346 #close

Change-Id: I00ac2c269cee9e29586ee2c65e83c70e52a02cff

chan_sip: Allow call pickup to set the hangup cause.

The call pickup implementation in chan_sip currently sets the channel

hangup cause to "normal clearing" if call pickup is successfully

performed. This action overwrites the "answered elsewhere" hangup cause

set by the call pickup code and can result in the SIP device in

question showing a missed call when it should not.

This change sets the hangup cause to "normal clearing" as a

default initially but allows the call pickup to change it as

needed.

ASTERISK-25346 #close

Change-Id: I00ac2c269cee9e29586ee2c65e83c70e52a02cff

chan_sip: Allow call pickup to set the hangup cause.

The call pickup implementation in chan_sip currently sets the channel

hangup cause to "normal clearing" if call pickup is successfully

performed. This action overwrites the "answered elsewhere" hangup cause

set by the call pickup code and can result in the SIP device in

question showing a missed call when it should not.

This change sets the hangup cause to "normal clearing" as a

default initially but allows the call pickup to change it as

needed.

ASTERISK-25346 #close

Change-Id: I00ac2c269cee9e29586ee2c65e83c70e52a02cff

chan_sip: Allow call pickup to set the hangup cause.

The call pickup implementation in chan_sip currently sets the channel

hangup cause to "normal clearing" if call pickup is successfully

performed. This action overwrites the "answered elsewhere" hangup cause

set by the call pickup code and can result in the SIP device in

question showing a missed call when it should not.

This change sets the hangup cause to "normal clearing" as a

default initially but allows the call pickup to change it as

needed.

ASTERISK-25346 #close

Change-Id: I00ac2c269cee9e29586ee2c65e83c70e52a02cff

res_pjsip: Add common ast_sip_get_host_ip API.

Modules commonly used the pj_gethostip function for retrieving the

IP address of the host. This function does not cache the result and may

result in a DNS lookup occurring, or additional work. If the DNS

server is unreachable or network issues arise this can cause the

pj_gethostip function to block for a period of time.

This change adds an ast_sip_get_host_ip and ast_sip_get_host_ip_string

function which does the same thing but caches the host IP address at

module load time. This results in no additional work being done each

time the local host IP address is needed.

ASTERISK-25342 #close

Change-Id: I3205deb679b01fa5ac05a94b623bfd620a2abe1e

res_pjsip: Add common ast_sip_get_host_ip API.

Modules commonly used the pj_gethostip function for retrieving the

IP address of the host. This function does not cache the result and may

result in a DNS lookup occurring, or additional work. If the DNS

server is unreachable or network issues arise this can cause the

pj_gethostip function to block for a period of time.

This change adds an ast_sip_get_host_ip and ast_sip_get_host_ip_string

function which does the same thing but caches the host IP address at

module load time. This results in no additional work being done each

time the local host IP address is needed.

ASTERISK-25342 #close

Change-Id: I3205deb679b01fa5ac05a94b623bfd620a2abe1e

res_pjsip: Add common ast_sip_get_host_ip API.

Modules commonly used the pj_gethostip function for retrieving the

IP address of the host. This function does not cache the result and may

result in a DNS lookup occurring, or additional work. If the DNS

server is unreachable or network issues arise this can cause the

pj_gethostip function to block for a period of time.

This change adds an ast_sip_get_host_ip and ast_sip_get_host_ip_string

function which does the same thing but caches the host IP address at

module load time. This results in no additional work being done each

time the local host IP address is needed.

ASTERISK-25342 #close

Change-Id: I3205deb679b01fa5ac05a94b623bfd620a2abe1e

Merge "res_pjsip_pubsub: On recreated notify fail deleted sub_tree is referenced"

Merge "bridge: Kick channel from bridge if hung up during action." into certified/13.1

Merge "res_pjsip_pubsub: On recreated notify fail deleted sub_tree is referenced" into 13

Merge "bridge: Kick channel from bridge if hung up during action."

Merge "bridge: Kick channel from bridge if hung up during action." into 13

Merge "res_pjsip/pjsip_configuration: Disregard empty auth values"

Merge "res_pjsip/pjsip_configuration: Disregard empty auth values" into 13

res_pjsip_pubsub: On recreated notify fail deleted sub_tree is referenced

When recreating a subscription it is possible for a freed sub_tree

to be referenced when the initial NOTIFY fails to be created.

Change-Id: I681c215309aad01b21d611c2de47b3b0a6022788

res_pjsip_pubsub: On recreated notify fail deleted sub_tree is referenced

When recreating a subscription it is possible for a freed sub_tree

to be referenced when the initial NOTIFY fails to be created.

Change-Id: I681c215309aad01b21d611c2de47b3b0a6022788

res_pjsip_pubsub: On recreated notify fail deleted sub_tree is referenced

When recreating a subscription it is possible for a freed sub_tree

to be referenced when the initial NOTIFY fails to be created.

Change-Id: I681c215309aad01b21d611c2de47b3b0a6022788

bridge: Kick channel from bridge if hung up during action.

When executing an action in a bridge it is possible for the

channel to be hung up without the bridge becoming aware of it.

This is most easily reproducible by hanging up when the bridge

is streaming DTMF due to a feature timeout. This change makes

it so after action execution the channel is checked to determine

if it has been hung up and if it has it is kicked from the bridge.

ASTERISK-25341 #close

Change-Id: I6dd8b0c3f5888da1c57afed9e8a802ae0a053062