[asterisk-bugs] [JIRA] (ASTERISK-24952) global timerb is disregarded by chan_sip

yarique (JIRA) noreply at issues.asterisk.org
Sun Apr 12 09:46:32 CDT 2015


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

yarique commented on ASTERISK-24952:
------------------------------------

Please feel free to fix the obvious bug without looking at my 'patch'. Sorry but I don't think I can sign your CLA due to my legal commitments elsewhere.

> global timerb is disregarded by chan_sip
> ----------------------------------------
>
>                 Key: ASTERISK-24952
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24952
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>            Reporter: yarique
>            Assignee: yarique
>            Severity: Minor
>
> Global timerb setting in sip.conf never has effect. It is obvious from chan_sip.c why:
> {code}
> 		} else if (!strcasecmp(v->name, "timerb")) {
> 			int tmp = atoi(v->value);
> 			if (tmp < 500) {
> 				global_timer_b = global_t1 * 64;
> 				ast_log(LOG_WARNING, "Invalid value for timerb ('%s').  Setting to default ('%d').\n", v->value, global_timer_b);
> 			}
> 			timerb_set = 1;
> 		}
> {code}
> [\Edit\]
> *inline patch removed*
> Thank you.



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



More information about the asterisk-bugs mailing list