© 2009 Cisco Systems, Inc. All rights reserved.
Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment
sip show users
The sip show users command is useful to display usernames, secrets [passwords], and context
information. Following is an example:
*CLI> sip show users
Username
pstn2
104
103
102
101
201
200
*CLI>
sip show user <UserName>
The sip show user <UserName> command is useful for verifying context information. Following is
an example:
*CLI>
* Name
: 101
Secret
: <Set>
MD5Secret
: <Not set>
Context
: fxsgroup
Language
:
AMA flags
: Unknown
Transfer mode: open
MaxCallBR
: 384 kbps
CallingPres
: Presentation Allowed, Not Screened
Call limit
: 0
Callgroup
:
Pickupgroup
:
Callerid
: "" <>
ACL
: No
Codec Order
: (none)
Auto-Framing:
No
*CLI>
Sample Traces
Sometimes, the best way to troubleshoot Asterisk and SPA8800 interaction issues is to capture a
trace and compare it against a similar transaction. Following are three traces showing in order:
1.
A successful registration between the SPA8800 and the Asterisk server and a successful
registration between the Asterisk server and the broadvoice.com SIP proxy.
[IP addresses have been changed]
2.
An inbound call from the PSTN routed to extension 101
3.
An inbound call from the ITSP routed to extension 101
4.
An outbound call from extension 101 via the PSTN
5.
An outbound call from extension 101 via the ITSP
Secret
Accountcode
pstn2
104
103
102
101
201secret
200secret
Def.Context
ACL
NAT
pstn2
No
Always
fxsgroup
No
Always
fxsgroup
No
Always
fxsgroup
No
Always
fxsgroup
No
Always
fxsgroup
No
Always
fxsgroup
No
Always
Page 31 of 69