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

Mark Petersen (JIRA) noreply at issues.asterisk.org
Tue Nov 23 10:03:49 CST 2021


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

Mark Petersen updated ASTERISK-29772:
-------------------------------------

    Affects Version/s: 16.22.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
>         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