I am completely new to the asterisk as well as to ARI. I am trying to communicate with asterisk server through python application “channel-dump.py”(demo app already mentioned in asterisk wiki) via ari-py.
i have created two sip extensions 1000,1001 and written dialplan like as below
[from-internal]
exten => 1000,1,Dial(SIP/1000,10)
same => n,Stasis(channel-dump)
same => n,Hangup()
First i started asterisk server and then tried to run channel.dump.py. Later tried to call to 1000 extension from softphone. At this instance asterisk server prompting" res_ari.c:769 process_cors_request : Origin header ‘http://localhost:8088’ does not match an allowed origin."
Connected to Asterisk 13.21.0 currently running on gopi-VirtualBox (pid = 1218)
[Jun 4 12:37:25] NOTICE[18807]: res_ari.c:769 process_cors_request: Origin header ‘http://localhost:8088’ does not match an allowed origin.
Creating Stasis app ‘channel-state’
== WebSocket connection from ‘127.0.0.1:48428’ for protocol ‘’ accepted using version ‘13’
Activating Stasis app ‘channel-state’
[general]
2 enabled = yes
3 pretty = yes
4 allowed_origins = *
5
6 [asterisk]
7 type = user
8 read_only = no
9 password = asterisk