[asterisk-bugs] [JIRA] (ASTERISK-24293) Asterisk adds '; 2' to channel id in events

Pavel Kukin (JIRA) noreply at issues.asterisk.org
Sun Aug 31 18:02:28 CDT 2014


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

Pavel Kukin updated ASTERISK-24293:
-----------------------------------

    Summary: Asterisk adds ';2' to channel id in events  (was: Asterisk adds ';2' to channel name)

> Asterisk adds ';2' to channel id in 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