[asterisk-bugs] [JIRA] (ASTERISK-28071) Chan_sip ignores the "fromdomain" option if "fromuser" option is presented

Asterisk Team (JIRA) noreply at issues.asterisk.org
Tue Sep 25 04:03:54 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=244946#comment-244946 ] 

Asterisk Team commented on ASTERISK-28071:
------------------------------------------

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].

> Chan_sip ignores the "fromdomain" option if "fromuser" option is presented
> --------------------------------------------------------------------------
>
>                 Key: ASTERISK-28071
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28071
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/Registration
>    Affects Versions: 13.23.1
>         Environment: CentOS Linux release 7.5.1804 (Core)
>            Reporter: Aliaksandr Hrechny
>
> My sip provider requires domain for a registration. But I faced with issue when `fromdomain` option if `fromuser` option is presented. 
> For example with the following configuration
> {noformat}
> username=123456789012
> type=peer
> transport=udp
> secret=sip-secret
> qualify=yes
> outboundproxy=sip.server:5060
> insecure=invite,port
> host=sip.server
> fromdomain=10.10.10.10
> disallow=all
> context=from-trunk-sip-custom
> allow=alaw
> {noformat}
> result is next:
> {noformat}
> To: <sip:10.126.17.231>
> From: "Unknown"<sip:Unknown at 10.10.10.10>
> {noformat}
> But if I add to the config `fromuser=+123456789012` the result is as follows:
> {noformat}
> From: "Unknown"<sip:+123456789012 at sip.server>
> To: <sip:+123456789012 at sip.server>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list