lazedo
b4e825cc18
always set contact alias on a reply
* so that acks go to proper address
(cherry picked from commit 248f758ec5 )
5 years ago
lazedo
4de76993b2
use send_reply instead of sl_send_reply
* send_reply checks if there's a ongoing transaction and will call proper function to send the reply
(cherry picked from commit ff12d456b5 )
6 years ago
lazedo
4d27eb18d4
configurable 480 reply from media with session in progress
6 years ago
Daniel Finke
5318e81807
[5.0] Don't overwrite tcp_children for local listener
- Must use socket_workers instead of tcp_children for local listener so
that the override of the tcp_children value only applies to the local
listener
6 years ago
lazedo
25d176d3ef
override 480 if call is progress
* FLAG_SESSION_PROGRESS is set when
the media server sends a 180/183
which is triggered after a route reply.
if there are no endpoints to bridge
to (dnd, faulty callflow) the return code
from the media can be 480 if not set explicitly by
callflow action. in that case
we were passing it to the incoming leg
carrier/endpoint and some carriers retry
the call which we don't want.
6 years ago
lazedo
93e7781da8
add extension point for internal to external relay
6 years ago
lazedo
3b31aae2f9
add internal listener socket to dispatcher
6 years ago
lazedo
d32a40ce85
use $vn for password
initialize password variable as
variables persist in the sip process
use $vn for password which supports $null value
6 years ago
lazedo
5d19e5d966
add flag for registered user
* append endpoint to refer if flag is set
6 years ago
lazedo
ae37b17890
add debug messages to nat traversal
6 years ago
lazedo
80a2120058
no need to check authz on initial request route
6 years ago
lazedo
4b1280178b
use send_reply instead of sl_send_reply
6 years ago
lazedo
8778ea679c
fix authorized xavp after amqp reply
6 years ago
lazedo
ddaf36d91c
5.0 branch
6 years ago
lazedo
4abf4d0ea9
add sip_trace_mode - transaction
6 years ago
lazedo
313a1c183f
add sip-trace-all
* simpler way to trace - all
6 years ago
lazedo
dba2a3cc26
rework default for handling auth
6 years ago
lazedo
01375e6d09
prepare registrar for single reg publish
6 years ago
lazedo
8e73660494
add some macros & allow custom handling
6 years ago
lazedo
e7fa9df747
add QNQ to scanner list
* this should NOT be static
* we should collect and auto-add new
6 years ago
lazedo
9ca873bbe3
remove whitespaces
6 years ago
lazedo
fa702d0a8e
use auth for message
6 years ago
lazedo
befc7d3c6c
add some flags to help routing
6 years ago
lazedo
0c82b4fc2b
change default for timers
* WITH_AUTH_TOKEN is mandatory
6 years ago
lazedo
72dcf1b65f
remove unused role
* failed attempt to have a keepalive based on db/script
6 years ago
lazedo
082ecbfc40
start to support authentication for other methods
6 years ago
lazedo
1c28ee98ff
upgrade dispatcher
6 years ago
Karl Anderson
1d2c4face5
cleanup unused redirect logic
6 years ago
lazedo
679cd9bdcb
simplify internal redirects ( #125 )
* simplify internal redirects
* missing comma
* another missing comma
6 years ago
lazedo
c4be6870a7
allow disable of detection mechanism
6 years ago
lazedo
c6cea7c8e8
validate public ip before using it
6 years ago
lazedo
c2ce422b7f
don't add auth headers for in dialog messages
6 years ago
lazedo
0847946fdc
order of x-headers
* moves x-auth-token higher
so it says after x-auth-ip/port
6 years ago
lazedo
9457bd97ee
only add x-headers for INVITE|MESSAGE|REFER
* also excludes in-dialog
6 years ago
lazedo
477c9f4d3c
move EXTERNAL_FAULT near EXTERNAL_REPLY
6 years ago
lazedo
55920103ec
early return for in-dialog transactions
6 years ago
lazedo
675cd158e1
filter log for external reply
6 years ago
lazedo
20df3987b7
add cflags from contact to branch flags
* sets nat flags if device is registered
and kazoo invite format is not contact
6 years ago
lazedo
75a82a3e7c
add NOTIFY for branch_route
6 years ago
James Aimonetti
a81375cfcc
check for custom registration handlers
6 years ago
James Aimonetti
73b97a4857
ignore certs
6 years ago
lazedo
e0175d19df
create common routine AUTH_XAVP_TOKEN
6 years ago
lazedo
c20c4b6ba5
allow Token-Proxy override
* useful for nat scenarios
6 years ago
lazedo
54a095ac7e
allow pusher to log contact
6 years ago
lazedo
52d859172c
pusher external fault fix
* 408 should not be in the excluded reasons for sending the push
6 years ago
lazedo
948b674225
pusher nat handling
* needs setting MANAGE_BRANCH for nat
6 years ago
Sergey
2a070b90f3
Update local.cfg to reflect latest changes
6 years ago
lazedo
e36ac7dcfe
add text/html for message content-type
* bria uses it
6 years ago
lazedo
0316ef4fda
message role changes for im services
6 years ago
lazedo
453589e331
fail sooner for tcp/tls registrations
6 years ago