[asterisk-users] sipsak 200 for a user, but 404 for a different user...why?
thufir
hawat.thufir at gmail.com
Fri Feb 20 05:15:23 CST 2015
What's the difference between user "123" and "devries"? Based on the
output here, they seem the same..?
tleilax*CLI>
tleilax*CLI> sip show users
Username Secret Accountcode
Def.Context ACL Forcerport
201 password 201
default No Yes
123 password 123
default No Yes
devries password devries
default No Yes
babytel hjkgk58757
default No Yes
gs102 X58sKpZCcDfcGT0 gs102
default No Yes
tleilax*CLI>
tleilax*CLI> sip show user 123
* Name : 123
Secret : <Set>
MD5Secret : <Not set>
Context : default
Language : en
Accountcode : 123
AMA flags : Unknown
Netborder CPD: No
Transfer mode: open
MaxCallBR : 384 kbps
CallingPres : Presentation Allowed, Not Screened
Call limit : 0
Callgroup :
Pickupgroup :
Callerid : "123" <123>
ACL : No
Sess-Timers : Accept
Sess-Refresh : uas
Sess-Expires : 1800 secs
Sess-Min-SE : 90 secs
RTP Engine : asterisk
Codec Order : (ulaw:20,gsm:20)
Auto-Framing: No
tleilax*CLI>
tleilax*CLI> sip show user devries
* Name : devries
Secret : <Set>
MD5Secret : <Not set>
Context : default
Language : en
Accountcode : devries
AMA flags : Unknown
Netborder CPD: No
Transfer mode: open
MaxCallBR : 384 kbps
CallingPres : Presentation Allowed, Not Screened
Call limit : 0
Callgroup :
Pickupgroup :
Callerid : "devries" <999>
ACL : No
Sess-Timers : Accept
Sess-Refresh : uas
Sess-Expires : 1800 secs
Sess-Min-SE : 90 secs
RTP Engine : asterisk
Codec Order : (ulaw:20,gsm:20)
Auto-Framing: No
tleilax*CLI>
tleilax*CLI> exit
tleilax:~ #
tleilax:~ # exit
logout
Connection to tleilax closed.
thufir at doge:~$
thufir at doge:~$ sudo sipsak -vv -s sip:123 at tleilax
[sudo] password for thufir:
No SRV record: _sip._tcp.tleilax
No SRV record: _sip._udp.tleilax
using A record: tleilax
message received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP
127.0.1.1:55238;branch=z9hG4bK.3e59b63f;alias;received=192.168.1.3;rport=55238
From: sip:sipsak at 127.0.1.1:55238;tag=1e6fe4eb
To: sip:123 at tleilax;tag=as7dc4727d
Call-ID: 510649579 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
Contact: <sip:192.168.1.2:5060>
Accept: application/sdp
Content-Length: 0
** reply received after 0.627 ms **
SIP/2.0 200 OK
final received
thufir at doge:~$
thufir at doge:~$ sudo sipsak -vv -s sip:devries at tleilax
No SRV record: _sip._tcp.tleilax
No SRV record: _sip._udp.tleilax
using A record: tleilax
message received:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP
127.0.1.1:54969;branch=z9hG4bK.38ee5c41;alias;received=192.168.1.3;rport=54969
From: sip:sipsak at 127.0.1.1:54969;tag=6e148be1
To: sip:devries at tleilax;tag=as2b617a9b
Call-ID: 1846840289 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.648 ms **
SIP/2.0 404 Not Found
final received
thufir at doge:~$
thanks,
Thufir
More information about the asterisk-users
mailing list