[Asterisk-Users] setting up 7940

Roger grunky at rockriver.net
Wed Mar 31 11:02:31 MST 2004


Simon Brown wrote:

>Make sure that you have the following (or equivalent in the
>SIP<mac_addr>.conf
># Line 1 appearance
>line1_name: 202
># Line 1 Registration Authentication 
>line1_authname: "202"
># Line 1 Registration Password
>line1_password: "202" 
>
>and this in the SIPDefault.conf
># Proxy Registration (0-disable (default), 1-enable)
>proxy_register: 1
>
>  
>
I'm a little confused at the password 202 - the only password I've 
managed to get working is the default password of 'cisco'.  I tried 
those settings in the below files and the password 202 didn't work, 
changed the password to cisco

Doing a

*CLI> sip show users
Username         Secret           Authen           Def.Context      A/C
202              202              md5,plaintext    from-sip         No

Shows that it'll uses the password 202

---------------------------------
sip.conf
[202]
type=friend ; This device takes and makes calls
host=dynamic ; This host is not on the same IP addr every time
username=202 ; Username programmed into Cisco phone
secret=202 ; Password for device
context=from-sip        ; Inbound calls from this phone go to this context
nat=yes ; nat=yes if this phone is behind a NAT box or firewall
callgroup=2 ; the group to which this phone belongs for *8 phone ringing 
pickup
pickupgroup=2 ; the pickup group allowed from this phone when *8 is dialed
mailbox=202             ; Activate the message waiting light if this 
voicemailbox has messages in it
---------------------------------

---------------------------------
SIPDefault.cnf
# SIP Default Generic Configuration File

# Image Version
image_version: P0S3-06-3-00

# Proxy Registration (0-disable (default), 1-enable)
proxy_register: 1
---------------------------------

---------------------------------
SIP000A8A490A3D.cnf

# Image Version
image_version: P0S3-06-3-00

; phone-specific configuration file sample
; Line 1 phone number
line1_name : 202
; Line 1 name for authentication with proxy server
line1_authname : 202
; Line 1 authentication name password
line1_password : 202
---------------------------------

---------------------------------
extensions.conf
exten => 202,1,Dial(SIP/202,15,t) ; see "show application dial" for 
options and formats
exten => 202,2,Voicemail2(u202) ; go to Voicemail2 if phone is "U"nanswered
exten => 202,102,Voicemail2(b202)  ; go to Voicemail2 if phone is "B"usy
exten => 202,103,Hangup ; and then hangup.
---------------------------------

At the top of the display is does say "202Sip".  So some of this config 
works....



More information about the asterisk-users mailing list