[Asterisk-Users] Broadvoice + incoming call works only for ~2 minutes

Woojin Lee wlee at cambridgeendo.com
Fri Mar 4 09:13:00 MST 2005


Hi, Roger

I think that may done the trick!  I've put the "qualify=100" and asterisk 
answered the call after about 5 min!  The asterisk box is on public ip, also 
running firewall, so I thought it wouldn't need any nat related stuff, but 
may be I was wrong...

Thanks!

Woojin

On Friday 04 March 2005 10:47 am, Roger Gulbranson wrote:
> On Fri, 2005-03-04 at 10:38 -0500, Woojin Lee wrote:
> > Hi, all.
> >
> > The asterisk setup is working fine, receiving calls via broadvoice
> > "initially". When call comes in via broadvoice number, asterisk picks it
> > up and routes correctly, as long as the call came in within ~2 min from
> > the previous one. In other words, as long as a call comes in within ~2
> > min since the previous one, asterisk will answer the call.  However, if
> > the call comes in after about 3 min, asterisk does not pick up the call
> > any more.  When I check
> > the status of "peers" and "registry" from asterisk, it still says it's
> > registered to broadvoice fine. However, call doesn't come through.
> > Would you have any idea why?  Any help will be much appreciated.
> >
> > Thanks
> >
> > Woojin
> >
> > Here's the excerpt from sip.conf
> >
> > [broadvoice]
> > type=friend
> > nat=no
> > host=sip.broadvoice.com
> >  fromdomain=sip.broadvoice.com
> >  username=5083021402
> >  fromuser=5083021402
> >  secret=password-for-1st-BV-account
> >  dtmfmode=inband
> >  context=sip
> >  canreinvite=no
> >  insecure=very
> >
> > [broadvoice2]
> > type=friend
> > nat=no
> > host=sip.broadvoice.com
> >  fromdomain=sip.broadvoice.com
> >  username=5083021425
> >  fromuser=5083021425
> >  secret=password-for-2nd-BV-account
> >  dtmfmode=inband
> >  context=sip
> >  canreinvite=no
> >  insecure=very
> >
> > and here's the output from sip show peers and sip show registry
> >
> > *CLI> sip show peers
> > Name/username              	Host            	Dyn Nat ACL Mask            
> > Port     Status grandstream1/grandstream1  (Unspecified)    D         
> > 	255.255.255.255  0        Unmonitored phone2/phone2             
> > 		(Unspecified)    D          255.255.255.255  0        Unmonitored
> > phone1/phone1              		192.168.1.108    D          255.255.255.255 
> > 5060     Unmonitored simpleconnect-sip/wlee179  	63.218.92.199           
> >    255.255.255.255  5060     Unmonitored broadvoice2/5083021425    
> > 	147.135.0.128               255.255.255.255  5060     Unmonitored
> > broadvoice1/5083021402     	147.135.0.128               255.255.255.255 
> > 5060     Unmonitored 6 sip peers [4 online , 2 offline]
> >
> > *CLI> sip show registry
> > Host                            		Username       		Refresh 	State
> > sip.broadvoice.com:5060         5083021425 at s      2038 	Registered
> > sip.broadvoice.com:5060         5083021402 at s      2038 	Registered
>
> Sounds like you have a firewall of some sort that closes down after
> about 2 minutes.  Try a qualify=100 (or similar number) to provide some
> keep-alives.



More information about the asterisk-users mailing list