On 2/20/15 6:15 AM, thufir wrote:
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@doge:~$
thufir@doge:~$ sudo sipsak -vv -s sip:123@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:[email protected]:55238;tag=1e6fe4eb
To: sip:123@tleilax;tag=as7dc4727d
Call-ID: [email protected]
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@doge:~$
thufir@doge:~$ sudo sipsak -vv -s sip:devries@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:[email protected]:54969;tag=6e148be1
To: sip:devries@tleilax;tag=as2b617a9b
Call-ID: [email protected]
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@doge:~$
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.
thanks,
Thufir
--
Technical Support
http://www.cellroute.net
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users