[asterisk-bugs] [Asterisk 0010565]: Registration failed with Wengo - Timeout

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Aug 27 11:29:45 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10565 
====================================================================== 
Reported By:                tootai
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10565
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 80931 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-26-2007 11:30 CDT
Last Modified:              08-27-2007 11:29 CDT
====================================================================== 
Summary:                    Registration failed with Wengo - Timeout
Description: 
The last trunk doesn't register with Wengo as the last SVN 1.4 does. In
sip.conf, the outboundproxy contains 213.91.9.206:5060, outboundproxyport
is commented. Other providers are OK.

Here are the debug logs:

[Aug 26 18:14:11] NOTICE[23748] chan_sip.c:    -- Registration for
'tootai at wengo' timed out, trying again (Attempt
http://bugs.digium.com/view.php?id=1)
[Aug 26 18:14:31] NOTICE[23748] chan_sip.c:    -- Registration for
'tootai at wengo' timed out, trying again (Attempt
http://bugs.digium.com/view.php?id=2)
[Aug 26 18:14:51] NOTICE[23748] chan_sip.c:    -- Registration for
'tootai at wengo' timed out, trying again (Attempt
http://bugs.digium.com/view.php?id=3)
[Aug 26 18:14:51] VERBOSE[23748] logger.c: REGISTER 12 headers, 0 lines
[Aug 26 18:14:51] VERBOSE[23748] logger.c: Reliably Transmitting (NAT) to
213.91.9.206:5060:
REGISTER sip:voip.wengo.fr SIP/2.0
Via: SIP/2.0/UDP OurIP:0;branch=z9hG4bK79bfc4a7;rport
Max-Forwards: 70
From: <sip:<OurUser>@voip.wengo.fr>;tag=as1139f146
To: <sip:<OurUser>@voip.wengo.fr>
Call-ID: 0c124753757d034577ac7f3c0059caca at voip.wengo.fr
CSeq: 105 REGISTER
User-Agent: TOOTAi PBX
Expires: 120
Contact: <sip:<OurUser>@OurIP:0>
Event: registration
Content-Length: 0


---
[Aug 26 18:14:51] VERBOSE[23748] logger.c: Really destroying SIP dialog
'0c124753757d034577ac7f3c0059caca at voip.wengo.fr' Method: REGISTER
[Aug 26 18:14:52] VERBOSE[23748] logger.c: Retransmitting
http://bugs.digium.com/view.php?id=1 (NAT) to
213.91.9.206:5060:
REGISTER sip:voip.wengo.fr SIP/2.0
Via: SIP/2.0/UDP 83.22.238.185:0;branch=z9hG4bK79bfc4a7;rport
Max-Forwards: 70
From: <sip:tootai at voip.wengo.fr>;tag=as1139f146

Daniel
====================================================================== 

---------------------------------------------------------------------- 
 tootai - 08-27-07 11:29  
---------------------------------------------------------------------- 
;
; SIP Configuration example for Asterisk


[general]
context=default                 ; Default context for incoming calls
allowoverlap=no                 ; Disable overlap dialing support.
(Default is yes)
realm=voip.tootai.net           ; Realm for digest authentication
bindport=5060                   ; UDP Port to bind to (SIP standard port
is 5060)
bindaddr=0.0.0.0                ; IP address to bind to (0.0.0.0 binds to
all)
srvlookup=yes                   ; Enable DNS SRV lookups on outbound
calls
tos_sip=cs3                    ; Sets TOS for SIP packets.
tos_audio=ef                   ; Sets TOS for RTP audio packets.
tos_video=af41                 ; Sets TOS for RTP video packets.

disallow=all                    ; First disallow all codecs
allow=ilbc,gsm,ulaw,alaw        ; Allow codecs in order of preference
relaxdtmf=yes                   ; Relax dtmf handling
useragent=TOOTAi PBX            ; Allows you to change the user agent
string
allowsubscribe=yes                      ; Disable support for
subscriptions. 
subscribecontext=WholeExtensions        ; Set a specific context for
SUBSCRIBE t38pt_udptl = yes            ; Default false
#include local/externip.conf    ; contains public IP address
localnet=192.168.0.0/16         ; All RFC 1918 addresses are local
networks
#include local/localnet.conf    ; contains public IP address
set canreinvite=nonat
register => myuser:mypassword at wengo/myuser

but this is not the problem. When I switch back to 1.4 it's working again.
This setup works since ages, even on servers with asterisk 1.2.

The only thing I know which changed in trunk for those kind of peers is
the outboundproxyport who disappear, the port being added to the
outboundproxy command. When I run trunk with my 1.4 setup, only Wengo is
not ok. And it's the only peer I have with an outboundproxy ...

-- 
Daniel 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-27-07 11:29  tootai         Note Added: 0069502                          
======================================================================




More information about the asterisk-bugs mailing list