Error 404 not found when Dial

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

[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

[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…

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

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