]> git.ipfire.org Git - thirdparty/asterisk.git/commit
PJSIP: provide transport type with received messages 79/3379/1
authorScott Griepentrog <scott@griepentrog.com>
Tue, 21 Jun 2016 15:53:05 +0000 (10:53 -0500)
committerJoshua Colp <jcolp@digium.com>
Mon, 1 Aug 2016 10:54:47 +0000 (05:54 -0500)
commit164bfc8574ee8b5879ea05ff5eda2ecc151b1a0f
tree078416e6e08e96f9f3548237a8d27f3aea81d123
parent7809034c0dff1dae870a7a858d79d5f6c3993c0e
PJSIP: provide transport type with received messages

The receipt of a SIP MESSAGE may occur over any transport including TCP
and TLS. When the message is received, the original URI is added to the
message in the field PJSIP_RECVADDR, but this is insufficient to ensure
a reply message can reach the originating endpoint. This patch adds the
PJSIP_TRANSPORT field populated with the transport type.

ASTERISK-26132 #close

Change-Id: I28c4b1e40d573a056c81deb213ecf53e968f725e
(cherry picked from commit 69d58a1e377938e5236f51200e222eb219739441)
res/res_pjsip_messaging.c