[asterisk-bugs] [JIRA] (ASTERISK-25156) chan_pjsip’s CHAN_START cel event lacks the correct context and exten

Matt Jordan (JIRA) noreply at issues.asterisk.org
Sun Jul 26 11:56:34 CDT 2015


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

Matt Jordan updated ASTERISK-25156:
-----------------------------------

    Target Release Version/s: 13.5.0

> chan_pjsip’s CHAN_START cel event lacks the correct context and exten
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-25156
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25156
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.1.0
>            Reporter: cloos
>            Assignee: Matt Jordan
>      Target Release: 13.5.0
>
>         Attachments: ASTERISK-25156-13.diff
>
>
> Matt posted this in reply:
> When we allocate a channel in chan_pjsip, we are passing empty strings into ast_channel_alloc_with_endpoint for the extension and context parameters. The act of creating the channel in ast_channel_alloc will, when the routine is finished, publish the existence of the channel to the 'world' via Stasis, which will create the CHAN_START event in CEL.
> We set the context/extension later on in chan_pjsip_new after the channel has been created; it should be trivial to refactor that to pass that information into ast_channel_alloc_with_endpoint.



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



More information about the asterisk-bugs mailing list