[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
Thu Jun 11 19:02:33 CDT 2015


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

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

    Attachment: ASTERISK-25156-13.diff

[~cloos]: I've attached a patch for Asterisk 13 that I believe will solve this issue, and placed it up for review on Gerrit (https://gerrit.asterisk.org/#/c/646/). If you could test it out, that'd be greatly appreciated. Thanks!

> 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
>         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