[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:all-tabpanel ]

Joshua C. Colp updated ASTERISK-28071:
--------------------------------------

    Assignee: Aliaksandr Hrechny
      Status: Waiting for Feedback  (was: Triage)

> 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
>            Assignee: 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