[asterisk-bugs] [JIRA] (ASTERISK-25156) chan_pjsip’s CHAN_START cel event lacks the correct context and exten
cloos (JIRA)
noreply at issues.asterisk.org
Thu Jun 11 14:18:33 CDT 2015
cloos created ASTERISK-25156:
--------------------------------
Summary: 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
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