Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requesting answer_call using azure-communication-callautomation and getting error #38974

Open
Jayantkhandebharad opened this issue Dec 23, 2024 · 1 comment
Labels
Communication - Call Automation customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@Jayantkhandebharad
Copy link

  • Package Name: azure-communication-callautomation
  • Package Version: 1.4.0b1
  • Operating System: linux
  • Python Version: 3.11

Describe the bug
I'm using azure-communication-callautomation, It was working fine till 21 dec 2024, and on 23 dec 2024 I started getting error
(None) No HTTP resource was found that matches the request URI 'https://nextpma.plat.skype.com/calling/callConnections:answer?api-version=2024-11-15-preview'
I have not changed anything is code and this error suddenly started.

To Reproduce
Steps to reproduce the behavior:

  1. create azure communication services, get number in it.
  2. create event-grid trigger azure function.
  3. subscribe azure function from azure communication service, in event tab.
  4. write code to catch the event and answer call in azure function
  5. sample code
    `CALL_CONNECTION_CLIENT.answer_call(
    incoming_call_context=incoming_call_context,
    callback_url=ANSWER_CALL_CALLBACK_URL,
    cognitive_services_endpoint=COGNATIVE_SERVICES_ENDPOINT, # Correctly pass the endpoint
    operation_context=f"{caller_id}"
    )'
  6. It deploy on azure function, and call on the azure number, you will get error in logs.

Expected behavior
call should get answered.

Screenshots
Image
in last 2-3 lined you can observe error

Additional context
I am adding logs for analysis:
Received event: {'to': {'kind': 'phoneNumber', 'rawId': '4:+12222221673', 'phoneNumber': {'value': '+1222222673'}}, 'from': {'kind': 'phoneNumber', 'rawId': '4:+1222222230', 'phoneNumber': {'value': '+12222222230'}}, 'serverCallId': 'aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jjjjjjjjjjjjjjjjjjjjjjjjjjjjjb2QtYWtzLmNvbnYuc2t5cGUuY29tL2NvbnYvaGlEajcwZ2Z1RUN0UFJWSk1SNllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllAzODE4MQ==', 'callerDisplayName': 'NEW YORK NY', 'incomingCallContext': 'eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjYyI6Ikg0c0lBQUFBQU.eyJhbGcnpGaU5MbzlUT0EtYWhnLWNmQXRKRHAzOE5uYm9CU3VHQmpMS0NJUjFuZllrMk5RZ2pFSW5TRkhzNDZsYzR3QnZkdndzcEVPeWdRV0pWMFRPMVdjekxhSTFrWW0tOENWVnFRYVFISmJZTzhObi1xQ1RFWEM4NjNPcnB4Zk1ValhJdTlQM0kZaelhidUVGTFBYRXNNRVFYN0Q0YjFqOXNCOFVwN0ZJLTVnS0YyUHgwTHpTbHN2WWNfeUdpQWF3akhWUjN3T044Y3JFSlljWFhrNms3dGNGYVZzOW0xN21OWV9PZGxHMGx2eDB6T3hNdWczdXZfY0UEJLRW9xTGVnQUFWV3JjdTRDWVBfUnR3RE83TzQ3TlpRIn0.', 'correlationId': 'fdf8ee20-5844-498d-a1f1-a9828c9ef499'}

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Dec 23, 2024
@xiangyan99 xiangyan99 added Service Attention Workflow: This issue is responsible by Azure service team. Communication - Call Automation and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Dec 30, 2024
@github-actions github-actions bot added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Dec 30, 2024
Copy link

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @minwoolee-msft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Communication - Call Automation customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants