[asterisk-bugs] [JIRA] (ASTERISK-24352) Problem with SIP privacy - fromdomain

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Sep 30 14:01:30 CDT 2014


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

Rusty Newton commented on ASTERISK-24352:
-----------------------------------------

Features requests are no longer submitted to or accepted through the issue tracker. Features requests are openly discussed on the mailing lists [1] and Asterisk IRC channels and made note of by Bug Marshals.

[1] http://www.asterisk.org/support/mailing-lists





> Problem with SIP privacy - fromdomain
> -------------------------------------
>
>                 Key: ASTERISK-24352
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24352
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 11.10.0
>            Reporter: Krzysztof Chmielewski
>
> Hi,
> i think there is a problem with SIP privacy in from header. To be more specific, problem concerns fromdomain part of sip message. 
> According to RFC fromdomain should be set to: anonymous.invalid
> Unfortunately that only works when configuration for this peer leaves "fromdomain"  empty. In other case fromdomain is overwritten. I think this is why:
> chan_sip.c
> {code}
> /* Allow domain to be overridden */
> 	if (!ast_strlen_zero(p->fromdomain))
> 		d = p->fromdomain;
> 	else /* Save for any further attempts */
> 		ast_string_field_set(p, fromdomain, d);
> {code}
> Earlier we have condition checking if there are any privacy settings on.
> If fromdomain empty (in my db config for this peer) fromdomain is set to anonymous.invalid.
> There will be no problem if we have any method to change fromdomain otherwise that through configuration.



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



More information about the asterisk-bugs mailing list