]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_pjsip: Store transport info for outgoing channels
authorMehrdad Seifzadeh <mehrdad.seifzadeh@gmail.com>
Fri, 5 Jun 2026 07:44:30 +0000 (11:14 +0330)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Tue, 4 Aug 2026 12:38:41 +0000 (12:38 +0000)
commit8cd58fd39d7871b16cac3fec72a142fa984b4254
treef09f06c32e7f5fd4d5c507c37d2e1b5d004d5b9d
parentc05ac3f232f85f7f264eeb4833d1602733eeda27
chan_pjsip: Store transport info for outgoing channels

Outgoing PJSIP channels did not have transport information stored in
their session datastore when CHANNEL(pjsip,local_addr) or
CHANNEL(pjsip,remote_addr) was read. As a result, the address fields
were empty on B-leg channels even though other dialog fields such as
call-id and URIs were available.

Store the selected local transport address and destination address for
outgoing UAC session requests once the request is transmitted and the
transport information is known.

Fixes: #871
channels/chan_pjsip.c