[asterisk-bugs] [JIRA] (ASTERISK-29772) chan_sip: ${CHANNEL(ruri)} in Dial/Queue b(test, s, 1) cause a coredump

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Feb 3 07:03:11 CST 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-29772:
-------------------------------------

    Target Release Version/s: 19.2.0

> chan_sip: ${CHANNEL(ruri)} in Dial/Queue b(test,s,1) cause a coredump
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-29772
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29772
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 16.22.0, 18.8.0
>            Reporter: Mark Petersen
>            Assignee: N A
>      Target Release: 19.2.0, 18.10.0, 16.24.0
>
>         Attachments: core.asterisk.985.c428ec31e420464288b2d50876bd93b5.64539.1637661313000000-brief.txt, core.asterisk.985.c428ec31e420464288b2d50876bd93b5.64539.1637661313000000-full.txt, core.asterisk.985.c428ec31e420464288b2d50876bd93b5.64539.1637661313000000-info.txt, core.asterisk.985.c428ec31e420464288b2d50876bd93b5.64539.1637661313000000-locks.txt, core.asterisk.985.c428ec31e420464288b2d50876bd93b5.64539.1637661313000000-thread1.txt
>
>
> if you try to access CHANNEL(ruri) Before initiating an outgoing call asterisk will core dump
> {noformat}
> [default]
> exten => _X!,1,Dial(SIP/XXX,,b(test,s,1))
> [test]
> exten => s,1,NoOp(CRASH ME)
> same => n,NoOp(CHANNEL(channeltype)=${CHANNEL(channeltype)})
> same => n,NoOp(CHANNEL(from)=${CHANNEL(from)})
> same => n,NoOp(CHANNEL(peername)=${CHANNEL(peername)})
> same => n,NoOp(CHANNEL(ruri)=${CHANNEL(ruri)})  ; WARNING CHANNEL(ruri) WILL CRASH ASTERISK
> {noformat}



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



More information about the asterisk-bugs mailing list