[Home]

Summary:ASTERISK-01003: SIP channels for FWD stale after ~10 minutes of a reload
Reporter:heison (heison)Labels:
Date Opened:2004-02-06 09:48:23.000-0600Date Closed:2011-06-07 14:04:46
Priority:MajorRegression?No
Status:Closed/CompleteComponents:
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:With either the old NAT patches, or the new 0.7.2 fix in CVS. I could get FWD to work with asterisk. However, it stops working after a while (seems like the registration is lost), I was testing my FWD# 218889 by dialing 17009218889:

pbx*CLI>
   -- Executing Dial("SIP/phone1-6ca0", "IAX2/bartlett:password@iaxtel.com/17009218889@iaxtel") in new stack
   -- Called bartlett:password@iaxtel.com/17009218889@iaxtel
Feb  6 10:40:39 WARNING[1158883520]: chan_iax2.c:1131 attempt_transmit: Max retries exceeded to host 69.73.19.178 on IAX2[69.73.19.178:4569]/1 (type = 6, subclass = 1, ts=1, seqno=0)
   -- Hungup 'IAX2[69.73.19.178:4569]/1'
 == No one is available to answer at this time
   -- Executing Congestion("SIP/phone1-6ca0", "") in new stack
 == Spawn extension (sip, 917009218889, 2) exited non-zero on 'SIP/phone1-6ca0'pbx*CLI>


A reload WILL ALWAYS fix the problem. If I just leave it, after a few hours, I would get the following warning:

Feb  6 03:55:51 NOTICE[1133718080]: chan_sip.c:4993 handle_response: Failed to authenticate on REGISTER to '<sip:218889@fwd.pulver.com>;tag=as53d58f70'
Feb  6 03:55:53 WARNING[1133718080]: chan_sip.c:4978 handle_response: Got 200 OK on REGISTER that isn't a register
Feb  6 03:57:45 WARNING[1133718080]: chan_sip.c:4978 handle_response: Got 200 OK on REGISTER that isn't a register
Feb  6 03:57:45 WARNING[1133718080]: chan_sip.c:4978 handle_response: Got 200 OK on REGISTER that isn't a register
Feb  6 04:06:51 WARNING[1133718080]: chan_sip.c:495 retrans_pkt: Maximum retries exceeded on call 3fe5c36627211130470c48482dba7c2f@10.155.1.6 for seqno 257 (Request)

The warnings will stop after repeating about 7-8 times, yet FWD is still broken. Again, this can be fixed by doing a reload.

In sip.conf:
externip = 24.103.0.200         ; Address that we're going to put in
                               ; SIP messages if we're behind a NAT
localnet = 10.155.0.0           ; Internal NETWORK address
localmask = 255.255.0.0         ; Internal netmask

; FWD registration
;
register=218889:password@fwd.pulver.com/1000

;; Enable these for FWD
[fwd.pulver.com]
type=friend
secret=password
username=218889
host=fwd.pulver.com
context=fwd


In extensions.conf:
[fwd]
exten => 1000,1,Goto(incoming,s,1)


Comments:By: heison (heison) 2004-02-06 11:00:53.000-0600

I wonder if this is a problem with IAXtel...

By: heison (heison) 2004-02-06 16:57:20.000-0600

I think the problem was = vs =>:

register=218889:password@fwd.pulver.com/1000
 
versus

register=>218889:password@fwd.pulver.com/1000


It seems to work now, but I'll monitor it closely.

By: Brian West (bkw918) 2004-02-07 00:19:22.000-0600

= and => are the same. If you can reproduce this please let me know and we will reopen.