I am trying to initiate a call using asterisk.
HOST = "22.214.171.124" PORT = 5060 # indian number 89788xxxxx country code 91 click_to_call(phone_to_dial='0119189788xxxxx', username = 'xxxxx', password = "xxxxxx", local_user = '600')
I am getting an error
Traceback (most recent call last): File "D:/Projects/Trails/testcall.py", line 45, in <module>
local_user = ‘600’)
File “D:/Projects/Trails/testcall.py”, line 30, in click_to_call
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Process finished with exit code 1
I dont have any extension numbers, so I tried like
click_to_call(phone_to_dial='011918978833992', username = 'xxxxx', password = "xxxxxx", local_user = '')
but still I have the same error. How to rectify the error?