I'm starting out w/ a Cisco 7940, running the Sip image version 6.3. I've downloaded/installed asterisk via cvs. I've set the phone up to get its info via dhcp - the dhcp, tftp, astericks box & phone are on the same network. I've gone through and setup a test account per the instructions @ http://voip-info.org/wiki-Asterisk+phone+cisco+79xx but time I do a sip show peers *CLI> sip show peers Name/username Host Mask Port Status 3014/3014 (Unspecified) (D) 255.255.255.255 0 Unmonitored I get this. Also the cisco phone says "phone unprovisioned". I've tried telneting to the phone, but it looks like I'm in user mode, can't setup a username/password. So far I've just be able to log in using the default username/password I've put the following # Telnet Level (enable or disable the ability to telnet into the phone) telnet_level : 2 ; 0-Disabled (default), 1-Enabled, 2-Privileged in the SIP<mac addy>.cnf on the tftp server thinking that this would help but I still can't setup a username/password combo. The quick-start guide http://www.voip-info.org/wiki-Asterisk+quickstart I got lost between creating a sip account and the demo..... Just need some help getting off the ground w/ my 7940
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 Simon -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Roger Sent: Wednesday, 31 March 2004 13:07 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] setting up 7940 I'm starting out w/ a Cisco 7940, running the Sip image version 6.3. I've downloaded/installed asterisk via cvs. I've set the phone up to get its info via dhcp - the dhcp, tftp, astericks box & phone are on the same network. I've gone through and setup a test account per the instructions @ http://voip-info.org/wiki-Asterisk+phone+cisco+79xx but time I do a sip show peers *CLI> sip show peers Name/username Host Mask Port Status 3014/3014 (Unspecified) (D) 255.255.255.255 0 Unmonitored I get this. Also the cisco phone says "phone unprovisioned". I've tried telneting to the phone, but it looks like I'm in user mode, can't setup a username/password. So far I've just be able to log in using the default username/password I've put the following # Telnet Level (enable or disable the ability to telnet into the phone) telnet_level : 2 ; 0-Disabled (default), 1-Enabled, 2-Privileged in the SIP<mac addy>.cnf on the tftp server thinking that this would help but I still can't setup a username/password combo. The quick-start guide http://www.voip-info.org/wiki-Asterisk+quickstart I got lost between creating a sip account and the demo..... Just need some help getting off the ground w/ my 7940 _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ----- This mail was content checked for malicious code and viruses by GFI MailSecurity.
Roger wrote:> I'm starting out w/ a Cisco 7940, running the Sip image version 6.3. > I've downloaded/installed asterisk via cvs. > > I've set the phone up to get its info via dhcp - the dhcp, tftp, > astericks box & phone are on the same network. I've gone through and > setup a test account per the instructions @ > > http://voip-info.org/wiki-Asterisk+phone+cisco+79xx > > but time I do a > > sip show peers > > *CLI> sip show peers > Name/username Host Mask Port Status > 3014/3014 (Unspecified) (D) 255.255.255.255 0 Unmonitored > > I get this. Also the cisco phone says "phone unprovisioned". I've > tried telneting to the phone, but it looks like I'm in user mode, can't > setup a username/password. So far I've just be able to log in using the > default username/password > > I've put the following > > # Telnet Level (enable or disable the ability to telnet into the phone) > telnet_level : 2 ; 0-Disabled (default), 1-Enabled, > 2-Privileged > > in the SIP<mac addy>.cnf on the tftp server thinking that this would > help but I still can't setup a username/password combo. > > The quick-start guide > > http://www.voip-info.org/wiki-Asterisk+quickstart > > I got lost between creating a sip account and the demo..... > > Just need some help getting off the ground w/ my 7940 > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >You phone isn't getting to the tftp server or the tftp server doesn't have the required files. Make sure your dhcp server is specifying the correct IP of the tftp server. You can also check the phone's parameters to verify the tftp address. If that is ok then you need a file named SIP<mac address>.cnf in the /tftpboot directory. Find the mac address on the sticker on the bottom of the phone ("000F..."). You'll also need SIPDefault.cnf and the other files. -- Michael Welter Introspect Consulting, Inc. Denver, Colorado +1 303 674 2575 mike@introspect.com www.introspect.com
The password has to match what you have in sip.conf Simon -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Roger Sent: Thursday, 1 April 2004 4:03 To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] setting up 7940 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.... _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ----- This mail was content checked for malicious code and viruses by GFI MailSecurity.