[asterisk-users] Cisco 7971

J. Oquendo sil at infiltrated.net
Mon Mar 31 06:33:32 CDT 2008


Matthew Gibson wrote:
> http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+md5secret
> 
> then in your sip.conf
> 
> [ext]
> ...
> ;secret=123
> md5secret=MD5SECRET

Hey Martin, thanks for your response... Still no dice:

Quick questions... Where are the following coming from? Is this 
something you placed, something generated, if so by what, CCM, the phone 
itself.

<authenticationURL>http://YOUR.PBX.IP.HERE/cisco/authenticate.php</authenticationURL>
<directoryURL>http://YOUR.PBX.IP.HERE/cisco/directory.php</directoryURL>
<informationURL>http://YOUR.PBX.IP.HERE/cisco/help.php</informationURL>
<servicesURL>http://YOUR.PBX.IP.HERE/cisco/services.php</servicesURL>

Second...

<loadInformation>SIP70.8-3-3S</loadInformation>

I don't have SIP70.8-3-3s I have term71.default.loads which includes all 
images listed inside the file:

# cat term71.default.loads

# This file contains a list of archive image files that will be 
requested by the
# RELEASE load version 8-3-3ES2
#

jar70sip.8-3-3ES2.sbn
cnu70.8-3-3ES2.sbn
apps70.8-3-3ES2.sbn
dsp70.8-3-3ES2.sbn
cvm70sip.8-3-3ES2.sbn

I tried posting both term71.default and cvm70sip.8-3-3ES2

<loadInformation>term71.default</loadInformation>
<loadInformation>cvm70sip.8-3-3ES2</loadInformation>

For NAT, when I have it set to true on SEPxxxx.xml, phone registers and 
this is what happens in the course of 5 seconds:

<natReceivedProcessing>true</natReceivedProcessing>
<natEnabled>true</natEnabled>

     -- Registered SIP '99999' at 64.xxx.xxx.xx port 49344 expires 3600
     -- Saved useragent "Cisco-CP7971G-GE/8.3.0" for peer 99999
[Mar 31 07:17:02] NOTICE[2743]: chan_sip.c:15322 sip_poke_noanswer: Peer 
'99999' is now UNREACHABLE!  Last qualify: 0

On sip show peer: (truncated)

   ToHost       : 64.xxx.xxx.xx
   Addr->IP     : 64.xxx.xxx.xx Port 49344
   Defaddr->IP  : 0.0.0.0 Port 5060
   Def. Username: 123
   SIP Options  : (none)
   Codecs       : 0x104 (ulaw|g729)
   Codec Order  : (g729:20,ulaw:20)
   Auto-Framing:  No
   Status       : UNREACHABLE
   Useragent    : Cisco-CP7971G-GE/8.3.0
   Reg. Contact : sip:123 at 192.168.1.145:5060;transport=udp

So I set contact to match:

astterm*CLI>
     -- Registered SIP '99999' at 192.168.1.145 port 5060 expires 3600
     -- Saved useragent "Cisco-CP7971G-GE/8.3.0" for peer 99999
[Mar 31 07:28:12] NOTICE[2743]: chan_sip.c:15322 sip_poke_noanswer: Peer 
'99999' is now UNREACHABLE!  Last qualify: 0

Now it matches but the same disconnect occurs:

sip show peer truncated
   ToHost       : 64.xxx.xxx.xx
   Addr->IP     : 192.168.1.145 Port 5060
   Defaddr->IP  : 0.0.0.0 Port 5060
   Def. Username: 99999
   SIP Options  : (none)
   Codecs       : 0x104 (ulaw|g729)
   Codec Order  : (g729:20,ulaw:20)
   Auto-Framing:  No
   Status       : UNREACHABLE
   Useragent    : Cisco-CP7971G-GE/8.3.0
   Reg. Contact : sip:99999 at 192.168.1.145:5060;transport=udp

About to kick this 7971 ;)

Nope, no firewall, clean connection, and no NAT is being used period.

Most appreciated response if any. I'm definitely scratching my head on 
this one. 7970's I have working fine, never had a problem getting those 
to work. I'm wondering if its the sip firmware version I'm using at this 
point.


====================================================
J. Oquendo

SGFA #579 (FW+VPN v4.1)
SGFE #574 (FW+VPN v4.1)

wget -qO - www.infiltrated.net/sig|perl

http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3AC173DB

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5533 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080331/9cb22360/attachment.bin 


More information about the asterisk-users mailing list