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
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."
enabled = yes
pretty = yes
allowed_origins = localhost:8088,http://ari.asterisk.org
type = user
read_only = no
password = asterisk
Could you please help to come out of this issue. Thanks in advance