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

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Tue Sep 25 11:55:54 CDT 2018


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

Joshua C. Colp commented on ASTERISK-28071:
-------------------------------------------

Thank you for taking the time to report this bug and helping to make Asterisk better. Unfortunately, we cannot work on this bug because your description did not include enough information. Please read over the Asterisk Issue Guidelines [1] which discusses the information necessary for your issue to be resolved and the format that information needs to be in. We would be grateful if you would then provide a more complete description of the problem. At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected and the location of documentation that led you to that expectation.
3. The behavior you actually encountered.

To demonstrate the issue in detail, please include Asterisk log files generated per the instructions on the wiki [2]. If applicable, please ensure that protocol-level trace debugging is enabled, e.g., 'sip set debug on' if the issue involves chan_sip, and configuration information such as dialplan and channel configuration.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

[2] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

For example you state this is for registration but your configuration is incomplete. As well complete console output is needed.

I should also state that chan_sip is community supported, so there is no timeframe on if or when someone may look at this if it is accepted.

> 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 is ignored 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:sip.server>
> 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