]> git.ipfire.org Git - thirdparty/asterisk.git/commit
PJSIP: provide transport type with received messages 59/3059/1
authorScott Griepentrog <scott@griepentrog.com>
Tue, 21 Jun 2016 15:53:05 +0000 (10:53 -0500)
committerScott Griepentrog <sgriepentrog@digium.com>
Tue, 21 Jun 2016 15:56:12 +0000 (10:56 -0500)
commit69d58a1e377938e5236f51200e222eb219739441
tree8af481b30a800d5c390886e5f5839b7f401d07db
parentb0e71c6571ec34a1aa115ce0ba26f7e37f487eaa
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
res/res_pjsip_messaging.c