[asterisk-bugs] [Asterisk 0014205]: Cisco 7940 Fails to Register in 1.6.x after upgrade

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Jan 10 15:00:19 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14205 
====================================================================== 
Reported By:                maxgo
Assigned To:                blitzrage
====================================================================== 
Project:                    Asterisk
Issue ID:                   14205
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.1-beta4 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-09 15:58 CST
Last Modified:              2009-01-10 15:00 CST
====================================================================== 
Summary:                    Cisco 7940 Fails to Register in 1.6.x after upgrade
Description: 
Having the same network config, 7940, NAT, Asterisk v1.4, the phone
registers OK.

After upgrading to 1.6.0.3 or 1.6.1-beta4, Asterisk doesn't reply to the
REGISTER messages, although the received messages from the phone are
displayed on the console, no replies are seen to be sent - not even replies
denying the registration.

====================================================================== 

---------------------------------------------------------------------- 
 (0097435) maxgo (reporter) - 2009-01-10 15:00
 http://bugs.digium.com/view.php?id=14205#c97435 
---------------------------------------------------------------------- 
Yes, but I updated the sipfriends table with all the new fields, directly
applied the sql script, and it didn't do it. 

Then, I entered a friend in the flat file, disabled sippeers and sipusers
in extconfig.conf and still only see the received messages, no outgoing
messages to the phone...


Flat file entry:

[7940]
type=friend
username=7940
secret=1234
host=dynamic
context=publicdialplanobd
accountcode=comtelnetworks
nat=yes
callerid=<7940>
disallow=all
allow=ulaw
allow=g729



Received REGISTER message:

<--- SIP read from UDP://71.x.x.x:5060 --->
REGISTER sip:216.x.x.x SIP/2.0
Via: SIP/2.0/UDP 71.x.x.x:5060;branch=z9hG4bK3f89d43e
From: sip:7940 at 216.x.x.x
To: sip:7940 at 216.x.x.x
Call-ID: 000a8a5c-59480002-23a72b9d-55dbed30 at 71.x.x.x
CSeq: 172 REGISTER
User-Agent: CSCO/6
Contact: <sip:7940 at 71.x.x.x:5060>
Content-Length: 0
Expires: 3600

<------------->
--- (10 headers 0 lines) ---



Again, no response to the phone...

Can it be something regarding NAT, STUN that makes Asterisk ignore
incoming messages from certain types of connections?

When registering from another box within the same public network it works
alright. I don't have an IP Phone with a public address to test right
now...

In 1.4.22 registrations work perfectly. I'm also trying phsultan's trunk
version, where gtalk got to work fine to send and receive messages, but I
find this problem also with registrations...

:S 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-10 15:00 maxgo          Note Added: 0097435                          
======================================================================




More information about the asterisk-bugs mailing list