[Home]

Summary:ASTERISK-28489: Channel variable SIPFROMDOMAIN for chan_pjsip to setup From header URI domain
Reporter:Stas Kobzar (stas.kobzar)Labels:pjsip
Date Opened:2019-07-30 11:44:14Date Closed:2019-08-21 09:06:22
Priority:MinorRegression?No
Status:Closed/CompleteComponents:pjproject/pjsip
Versions:Feature Tracker Frequency of
Occurrence
Related
Issues:
must be completed before resolvingASTERISK-27309 Feature Parity with chan_sip
Environment:Attachments:
Description:There is a chan_sip channel variable  SIPFROMDOMAIN that allows to set From URI domain per channel.
PjSIP channel allows to configure From URI domain per end-point with configuration parameter from_domain. But it does not have channel variable like chan_sip.

We are using Asterisk behind SIP proxy (opensips) and we have multi-domain system that is managed by opensips. Asterisk in our infrastructure has only one end-point that is opensips to accept calls and we use opensips as outbound proxy. With chan_sip we were using variable SIPFROMDOMAIN to make SIP packets fit our multi-tenant environment.

We are missing this feature to migrate our system to PJSIP channel and stop using chan_sip.
Comments:By: Asterisk Team (asteriskteam) 2019-07-30 11:44:15.663-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

By: Stas Kobzar (stas.kobzar) 2019-07-31 10:04:18.317-0500

The patch is done.
Please, see the commit: https://gerrit.asterisk.org/c/asterisk/+/11651

By: Richard Mudgett (rmudgett) 2019-07-31 14:43:18.860-0500

Not done until patch merged.

By: Friendly Automation (friendly-automation) 2019-08-21 09:06:22.716-0500

Change 12762 merged by Friendly Automation:
res_pjsip: Channel variable SIPFROMDOMAIN

[https://gerrit.asterisk.org/c/asterisk/+/12762|https://gerrit.asterisk.org/c/asterisk/+/12762]

By: Friendly Automation (friendly-automation) 2019-08-21 18:43:58.210-0500

Change 11651 merged by George Joseph:
res_pjsip: Channel variable SIPFROMDOMAIN

[https://gerrit.asterisk.org/c/asterisk/+/11651|https://gerrit.asterisk.org/c/asterisk/+/11651]

By: Friendly Automation (friendly-automation) 2019-08-21 18:44:20.030-0500

Change 12760 merged by George Joseph:
res_pjsip: Channel variable SIPFROMDOMAIN

[https://gerrit.asterisk.org/c/asterisk/+/12760|https://gerrit.asterisk.org/c/asterisk/+/12760]

By: Friendly Automation (friendly-automation) 2019-08-21 18:44:42.540-0500

Change 12761 merged by George Joseph:
res_pjsip: Channel variable SIPFROMDOMAIN

[https://gerrit.asterisk.org/c/asterisk/+/12761|https://gerrit.asterisk.org/c/asterisk/+/12761]