# Basic call failure

**URL:** <https://wazo-platform.discourse.group/t/basic-call-failure/1438>\
**Category:** Installation/Configuration\
**Created:** [January 25, 2024, 12:35pm UTC](https://wazo-platform.discourse.group/t/basic-call-failure/1438 "2024-01-25T12:35:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![onursendag](https://avatars.discourse-cdn.com/v4/letter/o/eb9ed0/32.png) [@onursendag](https://wazo-platform.discourse.group/u/onursendag)\
**Post date:** [January 25, 2024, 12:35pm UTC](https://wazo-platform.discourse.group/t/basic-call-failure/1438/1 "2024-01-25T12:35:13Z")

</div>

Hi,  
We have Wazo installed on AWS instance. I triy call first time with Wazo. I created two user with extention. I am able to register them. But when I call from one extention to another, legB call is not being created. Asterisk send me 200OK to LegA side. I use “global” as template.  
I can see the cdrs and their ‘answered’ field field is false.  
Under /var/log I couldn’t see any log related my calls.  
What can be the missing? and how can I trace them?

Here is error in my asterisk debug:

[2024-01-25 12:27:34.9845] – Executing [s@wazo-schedule-pre-dial-hooks:4] Return(“PJSIP/9qhzkz02-0000000c”, “”) in new stack  
[2024-01-25 12:27:34.9845] – Executing [s@user:45] Dial(“PJSIP/9qhzkz02-0000000c”, “PJSIP/5phlpdhy,30,b(wazo-pre-dial-hooks^s^1)”) in new stack  
[2024-01-25 12:27:34.9842] ERROR[70748]: res\_pjsip.c:993 ast\_sip\_create\_dialog\_uac: Endpoint ‘5phlpdhy’: Could not create dialog to invalid URI ‘5phlpdhy’. Is endpoint registered and reachable?  
[2024-01-25 12:27:34.9842] ERROR[70748]: chan\_pjsip.c:2698 request: Failed to create outgoing session to endpoint ‘5phlpdhy’  
[2024-01-25 12:27:34.9843] NOTICE[71166][C-0000000d]: app\_dial.c:2719 dial\_exec\_full: Unable to create channel of type ‘PJSIP’ (cause 3 - No route to destination)

I use 5phlpdhy as username while registering. it is given by Wazo.

Best regards

---

<div class="post-metadata">

**Author:** ![quintana](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/quintana/32/916_2.png) [@quintana](https://wazo-platform.discourse.group/u/quintana)\
**Post date:** [January 25, 2024, 9:32pm UTC](https://wazo-platform.discourse.group/t/basic-call-failure/1438/2 "2024-01-25T21:32:31Z")

</div>

Hello, your endpoint 5phlpdhy is not registered.

---

<div class="post-metadata">

**Author:** ![onursendag](https://avatars.discourse-cdn.com/v4/letter/o/eb9ed0/32.png) [@onursendag](https://wazo-platform.discourse.group/u/onursendag)\
**Post date:** [January 29, 2024, 2:36pm UTC](https://wazo-platform.discourse.group/t/basic-call-failure/1438/3 "2024-01-29T14:36:12Z")

</div>

Hi,  
Thank you for your reply. I was registering but I noticed that my sip client was not responding OPTION message that Asterisk sends. That is why my contact was unavailable.

I was just curious, is there a way to disable it for testing purposes?

I tried to add the following lines to /etc/asterisk/pjsip.d/01-wazo.conf:

```auto
[endpoint_defaults](+)
qualify_frequency=0
qualify=no
allow_unauthenticated_options=true

[aor_defaults](+)
qualify_frequency=0
qualify=no

```

Best regards

---

<div class="post-metadata">

**Author:** ![quintana](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/quintana/32/916_2.png) [@quintana](https://wazo-platform.discourse.group/u/quintana)\
**Post date:** [January 30, 2024, 1:04am UTC](https://wazo-platform.discourse.group/t/basic-call-failure/1438/4 "2024-01-30T01:04:18Z")

</div>

Wazo has a SIP template system that offers these types of options. Have you tried using it?
