[asterisk-bugs] [JIRA] (ASTERISK-24293) Asterisk adds '; 2' to channel id in ARI events
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Sun Aug 31 23:36:29 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=222494#comment-222494 ]
Matt Jordan commented on ASTERISK-24293:
----------------------------------------
In the future, you should raise your questions on the {{asterisk-app-dev}} mailing list. Based on the description of your issue, I think you will have more questions about how Asterisk works with Local channels, and how the subscription model of ARI works. Rather than deal with this on the issue tracker - which is *not* a support forum - future questions should be directed to that mailing list.
> Asterisk adds ';2' to channel id in ARI events
> ----------------------------------------------
>
> Key: ASTERISK-24293
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24293
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 12.5.0
> Reporter: Pavel Kukin
>
> I create channel via ARI with the next data:
> { app: 'Queue',
> endpoint: 'Local/skynet.device-1900 at queue_members.dial',
> channelId: '1651f065-c45e-4dbc-b187-ca97eb1caf5b.testqueue.74' }
> ARI sends me successfull response body:
> {"id":"1651f065-c45e-4dbc-b187-ca97eb1caf5b.testqueue.74","state":"Down","name":"Local/skynet.device-1900 at queue_members.dial-00000047;1","caller":{"name":"","number":""},"connected":{"name":"","number":""},"accountcode":"","dialplan":{"context":"queue_members.dial","exten":"skynet.device-1900","priority":1},"creationtime":"2014-08-27T00:22:07.653+0000"}
> Then I add channels to existing bridge:
> /bridges/b1cc1a44-0091-49db-ad62-97d165d70c05/addChannel
> { channel: '1651f065-c45e-4dbc-b187-ca97eb1caf5b.testqueue.74,1409098921.725' }
> After that I start to receive strange events with ;2 everywhere:
> ws received: {"type":"ChannelDialplan","dialplan_app":"Set","timestamp":"2014-08-27T00:22:07.672+0000","dialplan_app_data":"QUEUE=testqueue.74;2","channel":{"id":"1651f065-c45e-4dbc-b187-ca97eb1caf5b.testqueue.74;2","state":"Ring","name":"Local/skynet.device-1900 at queue_members.dial-00000047;2","caller":{"name":"","number":""},"connected":{"name":"","number":""},"accountcode":"","dialplan":{"context":"queue_members.dial","exten":"skynet.device-1900","priority":1},"creationtime":"2014-08-27T00:22:07.660+0000"},"application":"Queue"}
> ws received: {"channel":{"id":"1651f065-c45e-4dbc-b187-ca97eb1caf5b.testqueue.74;2","state":"Ring","name":"Local/skynet.device-1900 at queue_members.dial-00000047;2","caller":{"name":"","number":""},"connected":{"name":"","number":""},"accountcode":"","dialplan":{"context":"queue_members.dial","exten":"skynet.device-1900","priority":1},"creationtime":"2014-08-27T00:22:07.660+0000"},"application":"Queue","variable":"QUEUE","type":"ChannelVarset","value":"testqueue.74;2","timestamp":"2014-08-27T00:22:07.673+0000"}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list