Call Automation - Outbound Call Sample does not work
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- api, backend, documentation
Research direction
Start with the callautomation-outboundcalling sample linked in the issue and reproduce the outbound call using the listed Python, ACS, phone-number, callback, and Cognitive Services settings. Review the sample's setup instructions and callback logs; done means the documented setup or sample behavior reliably results in the outbound call connecting to the target number.
Written by the indexing model from the issue text.
Description
Please provide us with the following information:
Setting:
I have tried to run the Call Automation - Quick Start Sample, but could not get it to do anything, but immediately disconnect when I try to make an outbound call.
This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
- install the demo by cloning the repo
- edit the required variables, in my case they look now something like this:
- ACS_CONNECTION_STRING = "endpoint=https://xxx.germany.communication.azure.com/;accesskey=xxxx"
- ACS_PHONE_NUMBER = "+4940****"
- TARGET_PHONE_NUMBER = "+4940***" (this is a Teams phone number, I also tried other numbers)
- CALLBACK_URI_HOST = "https://xxxxx.euw.devtunnels.ms:8080" (as produced by my devtunnel)
- COGNITIVE_SERVICES_ENDPOINT = "https://xxxx.cognitiveservices.azure.com/"
Any log messages given by the failure
127.0.0.1 - - [02/Feb/2024 13:57:59] "GET /outboundCall HTTP/1.1" 302 -
127.0.0.1 - - [02/Feb/2024 13:57:59] "GET / HTTP/1.1" 200 -
[2024-02-02 13:58:00,459] INFO in main: Microsoft.Communication.CallDisconnected event received for call connection id: xxxx
[2024-02-02 13:58:00,459] INFO in main: Event type: Microsoft.Communication.CallDisconnected, data: {'version': '2023-10-15', 'callConnectionId': 'xxxx', 'correlationId': 'yyyy', 'publicEventType': 'Microsoft.Communication.CallDisconnected'}
127.0.0.1 - - [02/Feb/2024 13:58:00] "POST /api/callbacks HTTP/1.1" 200 -
Expected/desired behavior
The outbound call connects to the target number.
OS and Version?
Linux
Versions
Python 3.9.18
pip list produces:
Package Version
azure-communication-callautomation 1.1.0
azure-core 1.29.7
azure-eventgrid 4.11.0
blinker 1.7.0
certifi 2023.11.17
charset-normalizer 3.3.2
click 8.1.7
Flask 3.0.1
idna 3.6
importlib-metadata 7.0.1
isodate 0.6.1
itsdangerous 2.1.2
Jinja2 3.1.3
MarkupSafe 2.1.4
pip 23.0.1
requests 2.31.0
setuptools 58.1.0
six 1.16.0
typing_extensions 4.9.0
urllib3 2.1.0
Werkzeug 3.0.1
zipp 3.17.0
Mention any other details that might be useful
I would assume that is has something to do with out setup, but what could it be? I tried to find out whether there are any restrictions on making outbound calls in Germany, but it seems not so.
Further info:
- Data Location of our AZ Communication Service: Germany
- Our Phone number has Status "Active", Type "Local, DE", no SMS features, Calling features: "Make, receive calls"
- I can receive calls on this phone number via the AZ Communication Service
Thanks! We'll be in touch soon.
- Dominant language
- Python
- Stars
- 44
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure-Samples/communication-services-python-quickstarts
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Azure-Samples/communication-services-python-quickstarts#81 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Azure-Samples/communication-services-python-quickstarts#75 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Azure-Samples/communication-services-python-quickstarts#61 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Azure-Samples/communication-services-python-quickstarts#60 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Azure-Samples/communication-services-python-quickstarts#59 ·
All issues in Azure-Samples/communication-services-python-quickstarts
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100