[asterisk-users] sipsak 200 for a user, but 404 for a different user...why?

thufir hawat.thufir at gmail.com
Fri Feb 20 13:29:31 CST 2015


On Fri, 20 Feb 2015 08:46:13 -0500, Andres wrote:


> A "sip set debug on" will give you more info on why you are getting the
> 404.  It probably has to do something with your context/dialplan.


on tleilax:

tleilax*CLI> 
tleilax*CLI> sip set debug on
SIP Debugging enabled
tleilax*CLI> 


on doge:

thufir at doge:~$ 
thufir at doge:~$ sudo sipsak -vv -s sip:devries at tleilax -m "hi"
No SRV record: _sip._tcp.tleilax
No SRV record: _sip._udp.tleilax
using A record: tleilax
Max-Forwards set to 0

message received:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 
127.0.1.1:56377;branch=z9hG4bK.0edaada3;alias;received=192.168.1.3;rport=56377
From: sip:sipsak at 127.0.1.1:56377;tag=6b540010
To: sip:devries at tleilax;tag=as02b0fdd6
Call-ID: 1800667152 at 127.0.1.1
CSeq: 1 OPTIONS
Server: Asterisk PBX 1.8.32.1-vici
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, 
PUBLISH, MESSAGE
Supported: replaces, timer
Accept: application/sdp
Content-Length: 0



** reply received after 0.844 ms **
   SIP/2.0 404 Not Found
   final received
thufir at doge:~$ 


However, I'm sure you're right that it's the dialplan; I'm looking into 
it.


thanks,

Thufir




More information about the asterisk-users mailing list