# Error 404 not found when Dial

**URL:** <https://community.asterisk.org/t/error-404-not-found-when-dial/82500>\
**Category:** Asterisk SIP\
**Created:** [January 30, 2020, 3:39pm UTC](https://community.asterisk.org/t/error-404-not-found-when-dial/82500 "2020-01-30T15:39:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pokhraj\_d](https://avatars.discourse-cdn.com/v4/letter/p/c4cdca/32.png) [@pokhraj\_d](https://community.asterisk.org/u/pokhraj_d)\
**Post date:** [January 30, 2020, 3:39pm UTC](https://community.asterisk.org/t/error-404-not-found-when-dial/82500/1 "2020-01-30T15:39:34Z")

</div>

Hello,  
I have registered the SIP successfully. No issues in registering the users.  
But when I am dialing I am getting 404 Not found error.

sip.conf

```auto
[general]
context=default
context=public
allowguest=no
srvlookup=yes
udpbindaddr=0.0.0.0
tcpenable=no
transport=udp
;nat=force_rport
nat=force_rport,comedia
qualify=yes
canreinvite=no
disallow=all
alwaysauthreject = yes
deny=0.0.0.0/0.0.0.0
permit=xx.xx.xx.xx/xx.xx.xx.xx

[6001]
type=friend
;context=from-internal
context=incoming
host=dynamic
secret=xxxx
disallow=all
allow=ulaw

[6002]
type=friend
context=incoming
secret=1234
disallow=all
allow=ulaw,alaw
host=dynamic

[Pokhraj]
type=friend
context=incoming
disallow=all
allow=ulaw,alaw
secret=xxxxx
host=dynamic

```

extension.conf

```auto
[Pokhraj]
exten => 100,1,Dial(SIP/Pokhraj)
exten => 100,n,Hangup()
[6001]
exten => 6001,1,Dial(SIP/6001)
exten => 6001,n,Hangup()

```

Please advice on this…

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [January 30, 2020, 3:50pm UTC](https://community.asterisk.org/t/error-404-not-found-when-dial/82500/2 "2020-01-30T15:50:09Z")

</div>

You have configured the friends to go to the “incoming” context. Your extensions.conf output has no “incoming” context. It has “6001” and “Pokhraj”.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [February 29, 2020, 3:50pm UTC](https://community.asterisk.org/t/error-404-not-found-when-dial/82500/3 "2020-02-29T15:50:09Z")

</div>

Closed on February 29, 2020, 3:50pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
